AWS KMS Key Policy
Similar to S3 Bucket Policy, but the only difference is that without Key Policy, you don't have access to the key itself
Default KMS Key Policy
- Create AWS KMS Key has a default policy if you don't specify one
- allows entire AWS account users access to that key
Custom KMS Key Policy
- Define users, roles that can
- access the KMS key
- administer the key
- Useful for cross-account access
- For example, copying encrypted volume cross-account:
- Create snapshot, encrypted with your own KMS key (Customer Managed Key)
- Attach KMS key to authorise cross-account access
- Share the encrypted snapshot
- Switch to the other account, create a copy of that snapshot and encrypt it with the shared CMK
- Create volume from snapshot
- For example, copying encrypted volume cross-account:
- Define users, roles that can