- A Cloud Guru
Creating and Securing Customer Managed Keys with AWS KMS
In this lab, you will walk through creating a new symmetrical AWS KMS CMK, testing out a key policy, and then assigning the KMS key to an S3 bucket for use as the default encryption method. After testing, you will go ahead and schedule deletion of the key.
Table of Contents
Create a Single-Region Symmetrical KMS Key
You will want to create a new symmetrical KMS key with the name of cloud_user. During the creation process, you will also update the KMS key policy to allow:
- the S3 bucket to use the key
- the cloud_user IAM user access as a key administrator
Set Up Amazon S3 Default Encryption via KMS
After your KMS key and policy are created, you will want to assign the KMS key as the default method for encryption at rest within the Amazon S3 bucket.
Schedule AWS KMS Key Deletion
After testing and verifying the upload works, you can now schedule the KMS key to be deleted in seven days.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.