Demystifying AWS KMS key rotation
Find the right strategy to rotate your KMS Keys securely without any data loss.
- Works with most AWS Services.
- It's simple to set-up.
- Offers a good balance between simplicity of management and key control.
- AWS owned key: Keys owned and managed by AWS. They are the simplest to use but they offer no control to the customer. Also these keys are shared between customers.
- AWS managed key: Keys owned by the customer but managed by AWS. Usually associated with a single AWS Service. These keys live only in the customer AWS account and are not shared with other customers.
- Customer managed key: Keys owned and managed by the customer, a.k.a. us, who are responsible of the lifecycle for the key, where it is used and the key security (configuration of its key policy).
- KMS: It's the recommended approach. AWS creates and manages the key material for the KMS key.
- External (Import Key material): You create and import the key material for the KMS key.
- AWS CloudHSM key store: AWS KMS creates key material in the AWS CloudHSM cluster of your AWS CloudHSM key store.
- External key store: The key material for the KMS key is in an external key manager outside of AWS.
ee740549-6491-47b0-810d-1365b9b52792
with alias my-key
to generate data keys that we will use to encrypt our files. 
9772c95e-c9c5-43fb-bfcd-f8c4678f9e49
and point the alias my-key
to it.






d6f8b1ee-032c-4244-9d44-827861e6f9fa
.


