Securely store your secrets

The purpose of the lab is to store secret keys like connection strings and passwords in AWS Systems Manager Parameter Store in the encrypted format and then use two different ways to fetch values:

  • Using extensions to .NET Core configuration.
  • Using AWS Lambda function and AWS SDK.

AWS Systems Manager Parameter Store provides secure hierarchical storage for configuration data management and secrets management. Using AWS Systems Manager Parameter Store, you can safely store application configurations separately from your application’s code.

You should never store secrets in the code.