Getting Started with AWS Key Management Service (KMS)

Getting Started with AWS Key Management Service (KMS)
Getting Started with AWS Key Management Service (KMS)

CLOUD LABS

Getting Started with AWS Key Management Service (KMS)

In this Cloud Lab, you’ll learn to create, use, and manage encryption keys using the AWS Key Management Service. You’ll also explore how it works together with other AWS services like DynamoDB.

11 Tasks

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

A thorough understanding of AWS Key Management Service (KMS) and its role in securing sensitive data
The ability to encrypt and decrypt data using data keys generated by AWS KMS
Hands-on experience integrating AWS KMS with other AWS services
The ability to control access to KMS keys using the key policy

Technologies
AWS logoAWS
KMS
IAM logoIAM
DynamoDB logoDynamoDB
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

We are living in a digital world, and the need to protect sensitive information is constantly on the rise. One effective way to protect your data is to encrypt it. Encrypting our data ensures that it is of no use to the interceptor if the message is intercepted. Data is encrypted using encryption keys, but encryption alone is not enough. It needs to be complemented by a robust Key Management System (KMS) to ensure the secure handling of these keys.

In this Cloud Lab, you’ll learn how to use the AWS KMS to create and use encryption keys. You’ll start by creating a customer managed key, which will be used to create other keys and encrypt AWS services. This Cloud Lab is divided into two parts. In the first part, you’ll create data keys using the customer managed key. You’ll then use the data keys to encrypt a data file. After that, you’ll learn how to decrypt that data. In the second part, you’ll create a DynamoDB table. You’ll encrypt the table data using the customer managed key. You’ll then log in with an IAM user who has permission to read data from that table and see how KMS encryption stops unauthorized entities from accessing the DynamoDB data. Finally, you’ll allow the user to use the customer managed key that you used to encrypt the data and see if the user is now able to read the data or not.

After completing this Cloud Lab, you’ll be well-equipped with the knowledge and skills to utilize the KMS for creating and managing encryption keys effectively. This hands-on Cloud Lab will empower you to enhance the security of your data by implementing encryption measures.

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.KMS key
Create a Customer managed key
3.Encrypt and Decrypt Data Using Data Keys
Generate a Data Key
Encrypt Data Using Data Key
Decrypt the Data Key
Decrypt the Data
4.KMS Integration with DynamoDB
Create a DynamoDB Table
Read the DynamoDB Table with a Different User ID
Modify the Key Policy
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image