1"use strict";(globalThis.webpackChunkmission_control=globalThis.webpackChunkmission_control||[]).push([[1316],{96529(e,n,o){o.r(n),o.d(n,{assets:()=>a,contentTitle:()=>i,default:()=>m,frontMatter:()=>r,metadata:()=>c,toc:()=>l});const c=JSON.parse('{"id":"reference/connections/KMS/gcp-kms","title":"GCP KMS","description":"Example","source":"@site/docs/reference/connections/KMS/gcp-kms.mdx","sourceDirName":"reference/connections/KMS","slug":"/reference/connections/KMS/gcp-kms","permalink":"/docs/reference/connections/KMS/gcp-kms","draft":false,"unlisted":false,"editUrl":"https://github.com/flanksource/docs/tree/main/docs/reference/connections/KMS/gcp-kms.mdx","tags":[],"version":"current","frontMatter":{"title":"GCP KMS","sidebar_custom_props":{"icon":"gcp"}},"sidebar":"reference","previous":{"title":"Azure Key Vault","permalink":"/docs/reference/connections/KMS/azure-key-vault"},"next":{"title":"Anthropic","permalink":"/docs/reference/connections/anthropic"}}');var t=o(74848),s=o(28453);const r={title:"GCP KMS",sidebar_custom_props:{icon:"gcp"}},i=void 0,a={},l=[{value:"Example",id:"example",level:2}];function p(e){const n={code:"code",h2:"h2",pre:"pre",...(0,s.R)(),...e.components},{Fields:o}=n;return o||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Fields",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o,{connection:"gcp_kms"}),"\n",(0,t.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-yaml",metastring:'title="gcpkms.yaml" file=<rootDir>/modules/mission-control/fixtures/connections/gcpkms.yaml',children:"---\n# yaml-language-server: $schema=../../config/schemas/connection.schema.json\napiVersion: mission-control.flanksource.com/v1\nkind: Connection\nmetadata:\n name: flanksource-gcpkms\nspec:\n gcpkms:\n keyID: projects/flanksource-sandbox/locations/global/keyRings/sops-keyring/cryptoKeys/sops-key\n certificate:\n valueFrom:\n secretKeyRef:\n name: flanksource-gcloud\n key: credentials\n"})})]})}function m(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(p,{...e})}):p(e)}},28453(e,n,o){o.d(n,{R:()=>r,x:()=>i});var c=o(96540);const t={},s=c.createContext(t);function r(e){const n=c.useContext(s);return c.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),c.createElement(s.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.