Every major cloud runs a managed key service that protects the keys behind your encrypted data, and the identities allowed to use those keys are some of the most sensitive non-human identities you have. This page maps the key management services of Amazon Web Services (AWS), Microsoft Azure, Google Cloud and Oracle Cloud Infrastructure (OCI) concept by concept: what the service is, how keys are protected in hardware or software, how access is authorised, how key use is recorded and how rotation works. It uses each provider's own documentation only and adds a security and identity note for every row. It is a translation aid for teams working in more than one cloud; it does not rank the providers or recommend one. It is written for cloud security, cryptography and platform engineers. For a deep dive on one service, read the Azure Key Vault Security Guide, AWS KMS Security Guide, Cloud KMS and Cloud HSM Guide or OCI Vault and Key Management; this page does not repeat them.
Providers are listed in alphabetical order throughout: AWS, Azure, Google Cloud, OCI.
Key takeaways
- The four services are AWS Key Management Service (AWS KMS), Azure Key Vault, Google Cloud Key Management Service (Cloud KMS) and OCI Key Management Service, part of OCI Vault.
- All four document hardware security module (HSM) protection with a stated FIPS 140 validation level; check the exact level for the key type and tier you use.
- All four keep key material inside the service or its HSMs for the protection levels described, so the main risk is not key theft but misuse of the identities allowed to call the key.
- Access is authorised through each cloud's identity system: key policies on AWS, Azure RBAC or Key Vault access policy on Azure, IAM roles on Google Cloud and IAM policies on OCI.
- Treat every principal that can decrypt or manage a key as a privileged non-human identity, with an owner, least privilege and monitored use.
How to read this map
Each row of the mapping table names a concept and lists what each provider documents for it, in alphabetical order by provider. The last column is a security and identity note that applies to all four. The table keeps only concepts that the provider pages used for this guide describe for all four clouds, so every row has four entries. Settings and validation levels change, so confirm details in the linked documentation before you change a configuration.
The map covers the managed key services only. It does not cover dedicated single-tenant HSM products, secrets managers that sit beside the key services, or the encryption settings of individual storage and database services that call these keys. Those settings decide which key protects which data, so record them alongside this map when you build your own inventory, and check each provider's documentation for the service in question.
Mapping table
| Concept | AWS | Azure | Google Cloud | OCI | Security and identity note |
|---|---|---|---|---|---|
| Managed key service | AWS Key Management Service (AWS KMS) | Azure Key Vault | Cloud Key Management Service (Cloud KMS) | OCI Key Management Service in OCI Vault | Record which service holds the keys for each data store. |
| Protection options and stated FIPS 140 level | KMS keys protected by FIPS 140-3 Security Level 3 validated HSMs | Standard tier: software libraries validated to FIPS 140 Level 1. Premium tier: HSM-protected keys on FIPS 140-3 Level 3 validated HSMs | Software: FIPS 140-3 Level 1. Cloud HSM: FIPS 140-2 Level 3. Cloud EKM: FIPS 140-2 Level 2 or 3, depending on the external key manager | Protection mode HSM or software; HSMs meet FIPS 140-2 Security Level 3 | Match the protection level to your data classification and any regulatory requirement. |
| Key material boundary | KMS keys never leave AWS KMS unencrypted | Premium HSM-protected keys never leave the HSM boundary | Cloud EKM key material stays in the external key manager and is never sent to Google | An HSM-protected master encryption key cannot be exported from the HSM | With material held in the service, control who can call it. |
| Access control | Key policies, so that only trusted users have access to KMS keys | Authentication through Microsoft Entra ID; authorisation through Azure RBAC or Key Vault access policy | IAM roles and permissions, plus organisation policies | IAM groups, compartments and policies | Separate key administrators from key users and grant both narrowly. |
| Activity records | AWS CloudTrail records all calls to AWS KMS | Vault logging to a storage account, an event hub or Azure Monitor logs | Logging of administrative and data access to keys | Events on resource state changes and a notification after every key rotation | Send key activity to your central log platform and alert on unusual decrypt volume or policy changes. |
Amazon Web Services (AWS)
AWS describes AWS KMS as a managed service for creating and controlling the keys used to encrypt and sign data. KMS keys you create are protected by FIPS 140-3 Security Level 3 validated HSMs; they are created, managed, used and deleted entirely within AWS KMS and never leave the service unencrypted. You manage key policies in AWS KMS so that only trusted users have access to keys.
AWS KMS is integrated with AWS CloudTrail, which records all calls to AWS KMS by users, roles and other AWS services. That includes read-only operations, key management operations such as CreateKey and PutKeyPolicy, cryptographic operations such as GenerateDataKey and Decrypt, and internal operations such as RotateKey. Cross-account operations are logged in both the caller and key owner accounts, but denied cross-account requests are logged only in the caller's account. AWS warns that excluding KMS events from a trail can obscure actions that use your keys, and advises caution in granting the cloudtrail:PutEventSelectors permission.
On rotation, automatic rotation is optional for customer managed keys and supported only on symmetric encryption keys with AWS-generated key material; the default period is 365 days. AWS managed keys rotate every year and their rotation cannot be changed. On-demand rotation is available for symmetric keys with AWS-generated or imported material. Asymmetric keys, HMAC keys and keys in custom key stores support neither automatic nor on-demand rotation but can be rotated manually. AWS KMS keeps earlier key material so that older ciphertext still decrypts.
Microsoft Azure
Microsoft describes Azure Key Vault as a secure secrets store that manages secrets, keys and certificates, all backed by HSMs. It covers secrets management for tokens, passwords, certificates and API keys, key management, and the provisioning of TLS certificates. The Standard tier encrypts using software libraries validated to FIPS 140 Level 1. The Premium tier offers HSM-protected keys, generated and protected by FIPS 140-3 Level 3 validated HSMs; these RSA-HSM, EC-HSM and OCT-HSM keys never leave the HSM boundary.
Authentication to Key Vault is through Microsoft Entra ID. Authorisation is through Azure RBAC or Key Vault access policy. Microsoft explains that Azure RBAC can be used both to manage vaults and to access data stored in them, while access policy applies only to accessing data in a vault. All vaults are encrypted at rest with keys stored in HSMs. Activity can be monitored by enabling vault logging and archiving logs to a storage account, streaming them to an event hub or sending them to Azure Monitor logs.
Because one vault can hold keys, secrets and certificates together, review access at the level of the data each identity needs. The Azure Key Vault Security Guide covers identity and access, admin roles, logging and a hardening baseline for this service.
Google Cloud
Google describes Cloud KMS as a service to create and manage cryptographic keys for compatible Google Cloud services and your own applications. Keys can use software protection, validated to FIPS 140-3 Level 1; multi-tenant Cloud HSM, where keys are generated in a cluster of HSMs Google manages; single-tenant Cloud HSM, in dedicated HSM partitions you control with a quorum of designated administrators; or Cloud EKM, where key material stays in a supported external key manager and keys are never sent to Google. Google states Cloud HSM keys are FIPS 140-2 Level 3 validated and Cloud EKM keys FIPS 140-2 Level 2 or Level 3, depending on the external key manager.
Access is controlled with IAM roles and permissions, along with organisation policies that govern keys, and you can log administrative and data access to keys. Symmetric keys can be rotated automatically on a schedule you control; asymmetric software keys are rotated manually, and EKM keys are rotated manually in coordination with the external provider. Key versions can be enabled, disabled or destroyed. Cloud KMS Autokey automates provisioning, generating key rings, keys and service accounts on demand during resource creation, which means the service accounts it creates join your inventory of non-human identities.
Oracle Cloud Infrastructure (OCI)
Oracle describes the OCI Key Management Service as a cloud service for centralised management and control of encryption keys for data stored in OCI. Vaults are logical entities where the service creates and stores keys and secrets. A virtual private vault is an isolated partition on an HSM; other vaults share HSM partitions. A vault's type cannot be changed after creation.
The service recognises master encryption keys, wrapping keys and data encryption keys. Master encryption keys have a protection mode of HSM or software; an HSM-protected key is stored on an HSM and cannot be exported, and protection mode cannot be changed after creation. Oracle states that its HSMs meet FIPS 140-2 Security Level 3. Rotating a key creates a new key version; older versions can no longer encrypt but remain available to decrypt data they protected. Automatic rotation is available only for private vaults, with an interval between 60 and 365 days. Oracle notes that the secrets functions of Vault have moved to a separate Secret Management Service.
Access is managed through IAM groups, compartments and policies, and every OCI service integrates with IAM for authentication and authorisation across the console, SDK, CLI and REST API. Oracle also documents External KMS, where master encryption keys are stored on a third-party key management system outside OCI and only key references are created in OCI. You can build automation on resource state changes, and the service sends a notification after every key rotation.
Key identities and access
A key service is only as safe as the identities that can call it. In every cloud, three groups of principals need attention: administrators who can change key policies, permissions or protection settings; workloads that encrypt and decrypt data; and platform services that use keys on behalf of other resources. Each of these is usually a non-human identity, and an over-broad grant to any of them gives access to the data the key protects.
- Keep key administration and key use as separate grants, held by separate identities.
- Grant decrypt only to the workloads that read the data, scoped to the specific keys they need.
- Review grants made through inheritance, such as permissions set at a folder, organisation or compartment level.
- Track identities created automatically by key tooling, such as service accounts created by Cloud KMS Autokey.
- Alert on changes to key policies, role assignments and logging settings, not only on key use.
The Cryptographic Key Management Guide covers key lifecycle principles that apply to all four services, and BYOK, HYOK and External Key Management Guide covers external and customer-held key models.
Translating controls between clouds
- State the control in neutral terms. For example, "only the billing service can decrypt billing data".
- Find the key and its service. Use the mapping table to locate the service and access model in each cloud.
- Find every grant. List key policies, role assignments, access policies or IAM policies that reach the key, including inherited ones.
- Confirm the protection level. Check the stated FIPS 140 level for the exact key type and tier in use.
- Prove it with logs. Name the log source that shows each use of the key and check that it cannot be quietly switched off.
The Cloud key management service (KMS) rollout playbook gives a step-by-step rollout plan.
Common failure patterns
- Assuming every key in a service has the same FIPS 140 level, when the level depends on tier, protection mode or key type.
- Granting one identity both key administration and key use.
- Giving decrypt rights at a broad scope so that many workloads can read data they do not need.
- Allowing principals to exclude or disable key activity logging without review.
- Expecting automatic rotation on key types or vault types where the provider documents only manual rotation.
- Choosing a protection mode or vault type without noting that the provider says it cannot be changed later.
- Forgetting identities created automatically by key provisioning tools.
Practitioner checklist
- List every key service in use, with the data stores each key protects.
- Record the protection level and stated FIPS 140 validation for each key type and tier.
- Separate key administrators from key users and review both at least quarterly.
- Scope decrypt rights to named workloads and specific keys.
- Send key activity logs to a central platform and alert on policy and logging changes.
- Set rotation according to each provider's documented options and track manual rotation for key types that need it.
- Add identities created by key tooling to your non-human identity inventory.
- Document any external key manager dependency and its availability plan.
Standards and references
- AWS: AWS Key Management Service overview
- AWS: Rotate AWS KMS keys
- AWS: Logging AWS KMS API calls with AWS CloudTrail
- Microsoft: About Azure Key Vault
- Google Cloud: Cloud Key Management Service overview
- Oracle: Overview of Key Management
- NIST SP 800-57 Part 1 Rev. 5, Recommendation for Key Management
- NIST FIPS 140-3 Security Requirements for Cryptographic Modules
Related NHI Mgmt Group resources: Azure Key Vault Security Guide · Cryptographic Key Management Guide · BYOK, HYOK and External Key Management Guide · Cloud key management service (KMS) rollout playbook