Each tenant has a unique Data Encryption Key (DEK) for PHI columns. DEKs are wrapped by a Key Encryption Key (KEK) stored in managed KMS (or customer-managed hardware security module).
Rotation
DEK rotation: quarterly, transparent re-encryption
KEK rotation: annual Customers can opt into customer-managed keys (CMK) for the KEK layer.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Medera","description":"Behavioral-health-native AI infrastructure: canvas agents, multimodal sensing, voice orchestration, and a HIPAA-grade runtime.","colors":{"primary":"#4f7be0","light":"#76a1fc","dark":"#4f7be0"},"logo":{"light":"https://mintcdn.com/medera-357fd587/SeM5_hYPcX6QuHla/logo/light.svg?fit=max\u0026auto=format\u0026n=SeM5_hYPcX6QuHla\u0026q=85\u0026s=61845702176ba6cc082228f8d5e2b703","dark":"https://mintcdn.com/medera-357fd587/SeM5_hYPcX6QuHla/logo/dark.svg?fit=max\u0026auto=format\u0026n=SeM5_hYPcX6QuHla\u0026q=85\u0026s=ad053b7d3316cc41187b947a032cbd57","href":"https://medera.info"},"favicon":"https://mintcdn.com/medera-357fd587/SeM5_hYPcX6QuHla/favicon.svg?fit=max\u0026auto=format\u0026n=SeM5_hYPcX6QuHla\u0026q=85\u0026s=e68682082a9ffc461d7a09f5b469631c","appearance":{"default":"system","strict":false},"background":{"color":{"light":"#ffffff","dark":"#0f0f0f"}},"navbar":{"links":[{"href":"https://medera.info/contact","label":"Console"},{"href":"https://medera.info/contact","label":"Support"}],"primary":{"type":"button","label":"Get Access","href":"https://medera.info/contact"}},"footer":{"socials":{"x":"https://x.com/medera_ai","linkedin":"https://linkedin.com/company/medera-ai"},"links":[{"header":"Platform","items":[{"label":"Multimodal Sensing","href":"/multimodal/overview"},{"label":"Text Generation","href":"/textgen/overview"},{"label":"Agentic Framework","href":"/agentic/overview"},{"label":"Medical Coding","href":"/coding/overview"}]},{"header":"Developers","items":[{"label":"API Reference","href":"/api-reference/welcome"},{"label":"SDKs","href":"/sdks/overview"},{"label":"Quickstarts","href":"/quickstart/ambient-rt"}]},{"header":"Trust","items":[{"label":"Compliance","href":"/compliance/overview"},{"label":"Security","href":"/compliance/encryption"},{"label":"BAA / DPA","href":"/compliance/baa"},{"label":"Contact","href":"https://medera.info/contact"}]}]},"search":{"prompt":"Search Medera docs..."},"seo":{"metatags":{"og:site_name":"Medera Docs","og:image":"https://docs.medera.info/images/og.png","theme-color":"#4f7be0"},"indexing":"all"},"fonts":{"heading":{"family":"Inter","weight":600,"format":"woff2"},"body":{"family":"Inter","weight":400,"format":"woff2"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"integrations":{"ga4":{"measurementId":"G-MEDERAXXX"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"medera-357fd587","hasAudioNarration":false,"actualSubdomain":"medera-357fd587","customDomains":["docs.medera.info"],"gitSource":{"type":"github","owner":"fahadalsehami","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae958ca90e885ae1a8f8b26:success","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":86},{"language":"default","tag":"Agentic Framework","count":56},{"language":"default","tag":"Multimodal Sensing","count":41},{"language":"default","tag":"Overview","count":33},{"language":"default","tag":"Home","count":26},{"language":"default","tag":"Get Started","count":19},{"language":"default","tag":"Speech to Text","count":18},{"language":"default","tag":"Text Generation","count":17},{"language":"default","tag":"Coding","count":16},{"language":"default","tag":"Compliance","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"compliance/key-management","slug":"/compliance/key-management","pageMetadata":{"title":"Key Management","description":"Per-tenant data encryption keys and KEK rotation","href":"/compliance/key-management"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Per-tenant data encryption keys and KEK rotation\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Each tenant has a unique `,_jsx(_components.strong,{children:`Data Encryption Key (DEK)`}),` for PHI columns. DEKs are wrapped by a `,_jsx(_components.strong,{children:`Key Encryption Key (KEK)`}),` stored in managed KMS (or customer-managed hardware security module).`]}),`\n`,_jsx(Heading,{level:`2`,id:`rotation`,children:`Rotation`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`DEK rotation: quarterly, transparent re-encryption`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`KEK rotation: annual Customers can opt into customer-managed keys (CMK) for the KEK layer.`}),`\n`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Key Management","description":"Per-tenant data encryption keys and KEK rotation","href":"/compliance/key-management"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Rotation","slug":"rotation","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"medera-357fd587","siteName":"Medera","title":"Key Management - Medera","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-06T01:36:29.785Z","originalFileLocation":"compliance/key-management.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Per-tenant data encryption keys and KEK rotation\">\u003cmeta data-mint-head name=\"application-name\" content=\"Medera\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Key Management - Medera\">\u003cmeta data-mint-head property=\"og:description\" content=\"Per-tenant data encryption keys and KEK rotation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Medera Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.medera.info/compliance/key-management\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.medera.info/images/og.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Key Management - Medera\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Per-tenant data encryption keys and KEK rotation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.medera.info/images/og.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/medera-357fd587/h27esgDIGj8B0Pm1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Medera\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f7be0\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#4f7be0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.medera.info/compliance/key-management\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/compliance/key-management.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.medera.info/#organization\",\"name\":\"Medera\",\"url\":\"https://docs.medera.info\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/medera-357fd587/SeM5_hYPcX6QuHla/logo/light.svg?fit=max\u0026auto=format\u0026n=SeM5_hYPcX6QuHla\u0026q=85\u0026s=61845702176ba6cc082228f8d5e2b703\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.medera.info#website\",\"name\":\"Medera\",\"url\":\"https://docs.medera.info\",\"publisher\":{\"@id\":\"https://docs.medera.info/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.medera.info/compliance/key-management#webpage\",\"url\":\"https://docs.medera.info/compliance/key-management\",\"name\":\"Key Management\",\"description\":\"Per-tenant data encryption keys and KEK rotation\",\"dateModified\":\"2026-06-06T01:36:29.785Z\",\"isPartOf\":{\"@id\":\"https://docs.medera.info#website\"},\"breadcrumb\":{\"@id\":\"https://docs.medera.info/compliance/key-management#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.medera.info/compliance/key-management#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Security Controls\",\"item\":\"https://docs.medera.info/compliance/encryption\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Key Management\",\"item\":\"https://docs.medera.info/compliance/key-management\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.medera.info/compliance/key-management#article\",\"headline\":\"Key Management\",\"name\":\"Key Management\",\"description\":\"Per-tenant data encryption keys and KEK rotation\",\"url\":\"https://docs.medera.info/compliance/key-management\",\"mainEntityOfPage\":{\"@id\":\"https://docs.medera.info/compliance/key-management#webpage\"},\"image\":\"https://docs.medera.info/images/og.png\",\"dateModified\":\"2026-06-06T01:36:29.785Z\",\"publisher\":{\"@id\":\"https://docs.medera.info/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.medera.info#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Medera\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Medera\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/compliance/key-management.md","siteName":"Medera","nav":{"global":null,"tabs":[{"tab":"Home","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/home.svg","pages":[{"title":"Home","href":"/get-started/welcome"}]},{"tab":"Multimodal Sensing","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/audio-lines.svg","pages":[{"title":"Multimodal Sensing","href":"/multimodal/overview"}]},{"tab":"Text Generation","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/text-align-start.svg","pages":[{"title":"Text Generation","href":"/textgen/overview"}]},{"tab":"Agentic Framework","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/layers.svg","pages":[{"title":"Agentic Framework","href":"/agentic/overview"}]},{"tab":"Coding","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/code.svg","pages":[{"title":"Coding","href":"/coding/overview"}]},{"tab":"Compliance","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/shield-check.svg","groups":[{"group":"Trust Center","pages":[{"group":"Overview","icon":"/icons/ui/shield-check.svg","pages":[{"title":"Trust Center","href":"/compliance/overview"}]},{"group":"Hipaa","icon":"/icons/ui/shield-check.svg","pages":[{"title":"HIPAA Compliance","href":"/compliance/hipaa"}]},{"group":"42 Cfr Part 2","icon":"/icons/ui/shield-half.svg","pages":[{"title":"42 CFR Part 2","href":"/compliance/42-cfr-part-2"}]},{"group":"Baa","icon":"/icons/ui/file-text.svg","pages":[{"title":"BAA / DPA","href":"/compliance/baa"}]},{"group":"Data Residency","icon":"/icons/ui/globe.svg","pages":[{"title":"Data Residency","href":"/compliance/data-residency"}]},{"group":"Sub Processors","icon":"/icons/ui/link.svg","pages":[{"title":"Sub-processors","href":"/compliance/sub-processors"}]}]},{"group":"Security Controls","pages":[{"group":"Encryption","icon":"/icons/ui/lock.svg","pages":[{"title":"Encryption","description":"AES-256 at rest, TLS 1.3 in transit.","href":"/compliance/encryption"}]},{"group":"Key Management","icon":"/icons/ui/key-round.svg","pages":[{"title":"Key Management","href":"/compliance/key-management"}]},{"group":"Audit Logging","icon":"/icons/ui/scroll.svg","pages":[{"title":"Audit Logging","description":"WORM audit with Merkle integrity and 6-year retention","href":"/compliance/audit-logging"}]},{"group":"Row Level Security","icon":"/icons/ui/lock.svg","pages":[{"title":"Row-Level Security","href":"/compliance/row-level-security"}]},{"group":"Phi Handling","icon":"/icons/ui/lock.svg","pages":[{"title":"PHI Handling","href":"/compliance/phi-handling"}]},{"group":"Access Control","icon":"/icons/ui/shield-check.svg","pages":[{"title":"Access Control","href":"/compliance/access-control"}]},{"group":"Mfa Sso","icon":"/icons/ui/fingerprint.svg","pages":[{"title":"MFA / SSO","href":"/compliance/mfa-sso"}]},{"group":"Incident Response","icon":"/icons/ui/triangle-alert.svg","pages":[{"title":"Incident Response","href":"/compliance/incident-response"}]}]}]},{"tab":"SDKs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/package.svg","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"API Reference","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/terminal.svg","pages":[{"title":"API Reference","href":"/api-reference/welcome"}]},{"tab":"Release Notes","icon":"https://mintlify.s3.us-west-1.amazonaws.com/medera-357fd587/icons/ui/newspaper.svg","pages":[{"title":"Release Notes","href":"/release-notes/overview"}]}]},"basePath":"","title":"Key Management - Medera","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}