Implement secure key management
Framework question: How do you protect your data at rest?
- Risk if not established
- High
- Framework verified
- 23 Oct 2026
AWS Well-Architected Framework — SEC08-BP01 Implement secure key management
Executive summary
Why this practice matters
Use a governed key management service to protect encryption keys throughout their lifecycle. Separate key administrators from data users, restrict access to key operations, monitor use and plan safe rotation, recovery and retirement without exposing plaintext key material.
Business impact
- Protects the confidentiality of encrypted information when storage controls fail.
- Reduces the risk of privileged users or compromised identities obtaining key material.
- Provides traceability for regulatory and contractual encryption requirements.
- Avoids preventable outages caused by loss, deletion or unplanned rotation of keys.
Assign
Accountable and responsible roles
Responsibilities are held separately from roles, so accountability type and typical roles are stated explicitly.
| Responsibility | Accountability type | Typical roles |
|---|---|---|
Define protection requirements Set requirements, risk tolerances and exception policy for implement secure key management. Typical roles: Security Architect, Security Engineer, Security Architect, Security Engineer | responsible | Security ArchitectSecurity EngineerSecurity Architect, Security Engineer |
Implement and verify controls Implement encryption, policy and monitoring in the deployed environments, and verify effective settings. Typical roles: Cloud / Platform Engineer, Identity & Access Administrator, Cloud Platform Engineer, Identity & Access Administrator | responsible | Cloud / Platform EngineerIdentity & Access AdministratorCloud Platform Engineer, Identity & Access Administrator |
Review data risk and exceptions Confirm required data access, business impact and acceptance of any residual exposure. Typical roles: Service Owner, Risk / Compliance / Governance, Service Owner, Risk / Compliance / Governance | consulted | Service OwnerRisk / Compliance / GovernanceService Owner, Risk / Compliance / Governance |
Assessment
Assessment and evidence state
States describe how far the practice has moved from intent to something continuously validated.
- 0
Not Assessed
No verified knowledge of control scope or effectiveness.
Indicators
- No dependable inventory, owner or reviewed control evidence.
- Key inventory and ownership has an explicit maturity assessment.
- 1
Not Implemented
Expected controls are not defined or reliably implemented.
Indicators
- No dependable inventory, owner or reviewed control evidence.
- Key inventory and ownership has an explicit maturity assessment.
- 2
Partially Implemented
Some assets are protected, but coverage, evidence or ownership is incomplete.
Indicators
- Scope, owners, implemented controls and outstanding exceptions are documented.
- Cryptographic custody has an explicit maturity assessment.
- 3
Implemented
Approved controls operate across the defined scope and exceptions are governed.
Indicators
- Scope, owners, implemented controls and outstanding exceptions are documented.
- Least-privilege key use has an explicit maturity assessment.
- 4
Continuously Validated
Continuously measured controls and exceptions show verified and repeatable improvements.
Indicators
- Scope, owners, implemented controls and outstanding exceptions are documented.
- Automated checks or scheduled assurance verify and resolve findings.
Assessment dimensions
Key inventory and ownership
Practice-specificUncontrolled · Partially applied · Verified across scope
Cryptographic custody
Practice-specificUncontrolled · Partially applied · Verified across scope
Least-privilege key use
Practice-specificUncontrolled · Partially applied · Verified across scope
Rotation and deletion safeguards
Practice-specificUncontrolled · Partially applied · Verified across scope
Caution
A policy or deployment template does not by itself demonstrate implement secure key management. Confirm the deployed resource settings, scope, exceptions and recent test or review results.
Standard
What you should be able to demonstrate
Statements a reviewer should be able to confirm from evidence, not from intent.
- Encryption keys have named ownership, approved purpose and classification.
- Key material is held in controlled managed services rather than in code or operators' hands.
- Policies and grants limit decryption and administration to justified principals.
- Key use, changes and scheduled deletion are monitored and alerted.
- Rotation, recovery and retirement processes are documented and tested.
Trade-offs to hold in view
- Customer-managed keys offer finer control but add lifecycle and cost overhead.
- Centralised key custody simplifies governance but requires carefully managed cross-account access.
- Strict decryption isolation strengthens confidentiality but complicates incident recovery.
Assess
Questions to ask
Each question exposes the difference between an intention and an operating practice.
- discovery
Who can administer or use decryption keys for our most sensitive data?
Establishes coverage and responsible ownership.
Usually asked by: Security Engineer, Cloud / Platform Engineer
- challenge
Can an engineer retrieve plaintext key material or bypass separation of duties?
Tests practical resilience of the proposed controls.
Usually asked by: Security Architect, Security Engineer
- evidence
Can we show key ownership, policies, lifecycle events and a successful rotation test?
Requests verifiable outcomes rather than assurances.
Usually asked by: Security Engineer, Cloud / Platform Engineer
- executive
Which critical workloads would fail if their encryption key became unavailable?
Frames unresolved data risk for decision-makers.
Usually asked by: Service Owner, Technology Executive
Evidence
Required and expected evidence
Reusable evidence definitions held once in the evidence library and referenced by every practice that relies on them. Each links to what good evidence looks like and to worked examples.
Credential & Secrets Inventory
A current inventory of the long-term credentials and secrets a workload or organisation relies on: what each is, what uses it, where it is stored, who owns it, whether it rotates, when it was last rotated and audited, and why a temporary alternative isn't used.
Use the Credential & Secrets Inventory to document encryption-key identity, owner, authorised use, custody, rotation and lifecycle, with no plaintext key material.
Minimum expected content
- Scope: workloads, accounts and environments covered
- Each long-term credential or secret: type (access key, password, API token, certificate, etc.) and purpose
- Consuming identity or system
- Storage location (secrets service, parameter store, other)
- Owner
- Rotation method (automatic/manual), interval, and last rotation date
- Last audit or access-review date
- Justification where a temporary credential is not used, and the planned replacement
- Detection of secrets in code repositories or artefacts
- Exceptions with owner and expiry
Anti-patterns
- Access keys for machines where roles could be used
- Secrets in source code, environment files or wikis
- A spreadsheet nobody reconciles
- Rotation 'planned' but never done
- Credentials shared between people or systems
- No owner for service credentials
Review: Reconcile at least quarterly against real configuration, and immediately after any suspected credential exposure.
Security Log Source & Retention Register
A register of the security logs the organisation collects: each log source, where it is stored, how long it is kept, who can read or change it, how its integrity is protected and what it is used for.
Corroborate applied implement secure key management controls and their business context using this supporting record.
Minimum expected content
- Log sources in scope: account activity, network, DNS, load balancer and web filter, resource, operating system and application logs
- Why each source is collected and the use cases it supports, such as investigation, alerting or compliance
- Where each source is stored and in which account
- Retention period and lifecycle rule for each source, and the requirement behind it
- Split between logs kept readily searchable and logs archived
- Who can read, query, change or delete the logs
- How log integrity is protected and checked
- Querying and alerting tools used for each source
- Accounts, Regions and workloads covered, and known gaps
- Date of the last review and who approved the log scope
Anti-patterns
- Logs kept indefinitely, or deleted too soon
- Everybody can read or alter the logs
- Every type of log stored just in case
- Logging switched on by hand, account by account
- Log integrity checked only when something goes wrong
- Log sources known only to the team that set them up
Review: Check coverage continuously through automated configuration checks, and review the register when workloads, accounts or obligations change and at least annually.
Diagnosis
Common evidence gaps
Keys stored in applications
Keys or key material appear in code, files or build variables without suitable protection.
Broad key permissions
Shared keys or permissive grants give unrelated teams decryption rights.
Unreviewed deletion
No alert or recovery plan protects keys scheduled for destruction.
Manual lifecycle
Rotation and ownership changes are unmanaged and unaudited.
Implementation
Implementation guidance
Inventory and classify keys
Link encryption keys, protected datasets, key owners, permitted uses and required lifetime.
Choose managed custody
Use a suitable managed key management service and avoid application-built cryptography.
Restrict operations
Separate key administration from data use and limit grants, policies and external sharing.
Observe lifecycle events
Monitor key use, policy changes, disabled keys and pending deletion.
Exercise rotation and recovery
Test renewal, dependent systems, exceptional recovery and secure retirement.
Measure
Measurements
- Percentage of encryption keys with owner and supported classification.
- Number of overly broad decryption permissions.
- Percentage of critical keys with current access review.
- Number of key deletion or rotation failures and their resolution time.
Related
Outcomes and practices
Business outcomes
Practices