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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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.