We can store data using the Systems Manager Parameter Store with and without encryption, and then reference it from various services without having to hardcode the data in any place. In this recipe, we will learn how to store data with encryption in an AWS Systems Manager Parameter Store and then retrieve it from an EC2 instance.
Storing sensitive data with the Systems Manager Parameter Store
Getting ready
We need a working AWS account to complete this recipe. You would benefit from being familiar with EC2 and KMS.
How to do it...
First, we will create a parameter in the...