<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Venkatesha B G on Medium]]></title>
        <description><![CDATA[Stories by Venkatesha B G on Medium]]></description>
        <link>https://medium.com/@venkatesha.bg?source=rss-ea68e0cc9ca4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CYwygPwU7UTkEo-DUjxvzQ.jpeg</url>
            <title>Stories by Venkatesha B G on Medium</title>
            <link>https://medium.com/@venkatesha.bg?source=rss-ea68e0cc9ca4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 15:12:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@venkatesha.bg/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bring Your Own Key in AEM: A Real-World Guide to Customer Managed Keys]]></title>
            <link>https://medium.com/@venkatesha.bg/bring-your-own-key-in-aem-a-real-world-guide-to-customer-managed-keys-e5e6f68d0efb?source=rss-ea68e0cc9ca4------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5e6f68d0efb</guid>
            <category><![CDATA[aem]]></category>
            <category><![CDATA[byok]]></category>
            <category><![CDATA[customer-managed-keys]]></category>
            <category><![CDATA[aem-assets]]></category>
            <category><![CDATA[cloud-security]]></category>
            <dc:creator><![CDATA[Venkatesha B G]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 12:53:51 GMT</pubDate>
            <atom:updated>2026-10-26T12:53:51.249Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How a regulated bank can keep control of its encryption keys while running Adobe Experience Manager as a Cloud Service</em></p><h3>Introduction</h3><p>When a business moves its content platform to the cloud, one question comes up in almost every security review: <strong>who controls the encryption keys?</strong></p><p>Adobe Experience Manager (AEM) as a Cloud Service encrypts customer data at rest by default, using keys managed by Adobe. For many teams that is enough. For banks, insurers, healthcare providers and public-sector organizations it often is not. Their policies or regulators require that the customer owns the key, can rotate it, can audit its use and can switch it off.</p><p>That is what <strong>Customer Managed Keys (CMK)</strong>, also called <em>Bring Your Own Key (BYOK)</em>, is for. In this article I walk through what CMK means for AEM, how it works under the hood, a realistic use case with flow diagrams, the setup journey, the operational risks and a best-practice checklist.</p><blockquote><em>Note: CMK availability, supported key types and exact setup steps depend on your AEM hosting cloud and Adobe entitlement. Always confirm against Adobe’s current documentation before planning an implementation.</em></blockquote><h3>What is a Customer Managed Key?</h3><p>A Customer Managed Key is an encryption key that <strong>you</strong> create and control in your own key management service, rather than one that the vendor generates and holds. For AEM as a Cloud Service, the key lives in your own cloud key vault (Azure Key Vault, as far as I know), and AEM is granted limited permission to use it.</p><p>The key point: <strong>Adobe never owns your key.</strong> AEM can only use it for as long as you allow it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pvG5Ny2xj0CRj4jF0k8vSg.png" /></figure><h3>Why organizations ask for CMK</h3><ol><li><strong>Regulatory and compliance pressure.</strong> Frameworks and internal policies in finance and healthcare often expect customer control over keys.</li><li><strong>Separation of duties.</strong> The team that runs the application and the team that holds the keys are different.</li><li><strong>Auditability.</strong> Every use of the key is logged in your own vault, so you can answer the question “who accessed the key and when?”</li><li><strong>Exit and incident control.</strong> If there is a breach, a vendor dispute or a contract exit, revoking the key makes stored data unreadable.</li><li><strong>Customer trust.</strong> You can tell your own customers that their data is protected with keys you control.</li></ol><h3>How it works: envelope encryption</h3><p>CMK systems rarely encrypt bulk data directly with your key. They use <strong>envelope encryption</strong>:</p><ol><li>The platform generates a <strong>data encryption key (DEK)</strong> and uses it to encrypt content (assets, repository data and so on).</li><li>The DEK itself is encrypted, or <em>wrapped</em>, by your <strong>key encryption key (KEK)</strong> that lives in your key vault.</li><li>Only the wrapped DEK is stored next to the data.</li><li>To read the data, the platform asks your key vault to <strong>unwrap</strong> the DEK. If the vault refuses, the data stays unreadable.</li></ol><p>This design keeps performance good, because bulk encryption uses the DEK, while keeping control with you, because the KEK never leaves your vault.</p><p>The key hierarchy at a glance:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x09WV3-l23NbtkcsiwjWgQ.png" /></figure><p>Read it top down: your KEK wraps the data keys, the data keys encrypt each kind of stored content, and revoking the KEK cuts off everything below it.</p><h3>A real-world use case: a retail bank on AEM</h3><p>Imagine <strong>a retail bank</strong> that runs its public website, loan product pages and a digital asset library on AEM as a Cloud Service. The DAM contains:</p><ul><li>Loan agreement templates and regulated disclosures</li><li>KYC and onboarding document templates</li><li>Campaign assets that are embargoed until launch</li></ul><p>The bank’s security policy says:</p><ul><li>Encryption keys for regulated data must be owned by the bank.</li><li>Key usage must be auditable by the bank’s own security team.</li><li>The bank must be able to cut off access to its data in an emergency.</li></ul><p>Adobe-managed keys cannot satisfy the third point. CMK can.</p><h3>Phase 1: one-time setup</h3><pre>1. Create key        -&gt;  2. Grant access    -&gt;  3. Share key URL   -&gt;  4. Encrypt data<br>(Azure Key Vault)        (Adobe app access)     (through Adobe)        (AEM data at rest)</pre><p>The typical flow, at a high level:</p><p><strong>Step 1: Create the key vault and key.</strong> The bank’s cloud team creates a key vault in its own subscription and generates the key. Enable <strong>soft delete</strong> and <strong>purge protection</strong> on the vault so that an accidental deletion can be recovered.</p><p><strong>Step 2: Grant Adobe’s application limited access.</strong> The bank authorizes Adobe’s application identity to use the key, and only for the operations needed (typically wrap and unwrap). Follow the permission model in Adobe’s guide, and use least privilege.</p><p><strong>Step 3: Share the key identifier with Adobe.</strong> The key’s URL or identifier is provided to Adobe through the supported onboarding process (for example, Cloud Manager or a support request, depending on Adobe’s current procedure).</p><p><strong>Step 4: AEM starts using your key.</strong> Data at rest is encrypted under your key hierarchy. The bank validates the setup with a non-production environment first.</p><h3>Phase 2: day-to-day runtime and the kill switch</h3><pre>Author uploads --&gt; AEM encrypts --&gt; Encrypted storage<br>                      ^   |<br>                unwrap|   |wrap<br>                      |   v<br>               Customer Key Vault &lt;-- Bank revokes key (incident)<br>                      |<br>                      v<br>           AEM cannot decrypt: content unavailable</pre><p><strong>Normal operation:</strong> Every time AEM needs to protect or read content, it calls your vault to wrap or unwrap the data key. Each call is logged in your vault, which feeds the bank’s SIEM and audit reports.</p><p><strong>Key rotation:</strong> The security team rotates the key on a schedule, for example every 12 months, or sooner after any suspected exposure.</p><p><strong>Revocation scenario:</strong> Suppose the bank detects a serious incident. The security team revokes AEM’s access to the key (or disables the key). From that point AEM cannot unwrap the data keys, so the stored data cannot be decrypted. The site and DAM become unavailable until the bank restores access. This is the “kill switch” that Adobe-managed keys cannot give you.</p><h3>What you gain</h3><ul><li><strong>Control:</strong> you decide who and what can use the key.</li><li><strong>Evidence:</strong> vault logs give auditors a direct trail.</li><li><strong>Containment:</strong> revocation is a real emergency lever.</li><li><strong>Policy alignment:</strong> you can tick the “customer-controlled key” box in vendor risk assessments.</li></ul><h3>What you take on</h3><p>CMK is not free security. It moves responsibility to you.</p><ul><li><strong>Availability dependency.</strong> If your key vault is down or access is misconfigured, AEM may not be able to read its data. Treat the vault as production-critical infrastructure.</li><li><strong>Accidental lockout.</strong> Deleting or disabling the wrong key, or letting it expire, can take your environment offline. Use soft delete, purge protection and access reviews.</li><li><strong>Operational process.</strong> You need runbooks for rotation, revocation and recovery, and people who are trained to execute them.</li><li><strong>Cost and complexity.</strong> Key vault operations, monitoring and governance have a cost.</li><li><strong>Scope.</strong> Confirm exactly which data and services are covered by CMK in your AEM setup. Do not assume that every component is included.</li></ul><h3>Best-practice checklist</h3><ul><li>Pilot in a non-production environment first.</li><li>Enable soft delete and purge protection on the vault.</li><li>Grant Adobe’s identity the minimum permissions needed.</li><li>Restrict who can modify or delete the key, and require approvals.</li><li>Send vault logs to your monitoring or SIEM, and alert on failed or unusual key operations.</li><li>Define and test a rotation procedure.</li><li>Write and rehearse a revocation and recovery runbook.</li><li>Monitor vault health and expiry dates.</li><li>Document the scope of data covered by CMK for auditors.</li><li>Re-check Adobe’s documentation for changes before each major change.</li></ul><h3>Common mistakes to avoid</h3><ol><li><strong>Treating the key like a one-time setup.</strong> Keys have a lifecycle and need owners.</li><li><strong>Over-broad permissions</strong> granted to the application identity.</li><li><strong>No recovery plan</strong> for accidental key deletion or expiry.</li><li><strong>Testing revocation for the first time during a real incident.</strong></li><li><strong>Assuming CMK solves everything.</strong> It protects data at rest. You still need access control, network security and application security.</li></ol><h3>Conclusion</h3><p>Customer Managed Keys let you run AEM as a Cloud Service while keeping the most sensitive control, the encryption key, in your own hands. For regulated organizations that is often the difference between “approved” and “blocked” in a security review. The price is real operational responsibility: you must manage the key lifecycle, protect the vault and be ready to act quickly in an incident.</p><p>If your organization is considering CMK, start with a clear threat model, pilot in a lower environment, and write the runbooks before you need them.</p><p>Adobe Doc reference: <a href="https://experienceleague.adobe.com/en/docs/platform-learn/tutorials/privacy/set-up-customer-managed-keys">https://experienceleague.adobe.com/en/docs/platform-learn/tutorials/privacy/set-up-customer-managed-keys</a></p><p><em>Have you implemented BYOK for a CMS or DAM platform? I would love to hear what worked and what surprised you in the comments.</em></p><p><strong>#</strong>Adobe Experience Manager #AEM #Cloud Security #Encryption #Azure Key Vault #Data Security</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5e6f68d0efb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>