1"use strict";(globalThis.webpackChunkmission_control=globalThis.webpackChunkmission_control||[]).push([[3262],{6276(e,n,s){s.r(n),s.d(n,{assets:()=>i,contentTitle:()=>a,default:()=>u,frontMatter:()=>r,metadata:()=>o,toc:()=>l});const o=JSON.parse('{"id":"reference/connections/KMS/aws-kms","title":"AWS KMS","description":"Example","source":"@site/docs/reference/connections/KMS/aws-kms.mdx","sourceDirName":"reference/connections/KMS","slug":"/reference/connections/KMS/aws-kms","permalink":"/docs/reference/connections/KMS/aws-kms","draft":false,"unlisted":false,"editUrl":"https://github.com/flanksource/docs/tree/main/docs/reference/connections/KMS/aws-kms.mdx","tags":[],"version":"current","frontMatter":{"title":"AWS KMS","sidebar_custom_props":{"icon":"aws"}},"sidebar":"reference","previous":{"title":"KMS","permalink":"/docs/reference/connections/KMS/"},"next":{"title":"Azure Key Vault","permalink":"/docs/reference/connections/KMS/azure-key-vault"}}');var t=s(74848),c=s(28453);const r={title:"AWS KMS",sidebar_custom_props:{icon:"aws"}},a=void 0,i={},l=[{value:"Example",id:"example",level:2}];function m(e){const n={code:"code",h2:"h2",pre:"pre",...(0,c.R)(),...e.components},{Fields:s}=n;return s||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)(s,{connection:"aws_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="awskms.yaml" file=<rootDir>/modules/mission-control/fixtures/connections/awskms.yaml',children:"---\n# yaml-language-server: $schema=../../config/schemas/connection.schema.json\napiVersion: mission-control.flanksource.com/v1\nkind: Connection\nmetadata:\n name: flanksource-awskms\nspec:\n awskms:\n keyID: arn:aws:kms:eu-west-1:123123123123:alias/sops-key\n region: eu-west-1\n accessKey:\n valueFrom:\n secretKeyRef:\n name: aws-flanksource\n key: AWS_ACCESS_KEY_ID\n secretKey:\n valueFrom:\n secretKeyRef:\n name: aws-flanksource\n key: AWS_SECRET_ACCESS_KEY\n"})})]})}function u(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(m,{...e})}):m(e)}},28453(e,n,s){s.d(n,{R:()=>r,x:()=>a});var o=s(96540);const t={},c=o.createContext(t);function r(e){const n=o.useContext(c);return o.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),o.createElement(c.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.