Secrets Manager and Parameter Store both lean on one thing underneath: AWS KMS , the Key Management Service. KMS creates and controls the encryption keys that many AWS services use to protect your data.
What KMS does
It creates and manages KMS keys , and these keys never leave the service in plain form.
Other services, such as S3, EBS and Secrets Manager, call KMS to encrypt and decrypt data for you.
Every use of a key can be controlled with permissions and recorded in CloudTrail .
Keys are Regional . A key lives in the Region where you create it.
Types of keys
Type Who manages it Notes
AWS owned key AWS Used by some services behind the scenes, and you do not see it
AWS managed key AWS, in your account Named like aws/s3 , rotated automatically, and you cannot change its policy
Customer managed key You You control the key policy, aliases, rotation and deletion
Key concepts
Key policy : the main access control for a key.…