Applications typically requires secrets injected in order to launch. For example, secrets can be API Token form external services or database access credentials. If you are hosting applications on AWS, you can use Secret Manager to store secrets and inject to your applications. Using the service, you can ensure that secrets are not part of git commits, but also have a single source of truth to manage secrets for your applications.
First, login to the AWS account where you want to create your secrets. Go to the region you where your resources should be located and visit the Secret manager.
Then you can follow these steps to create secret for your applications:
Store a new secret
Secret type
, choose Other type of secret
. and the choose the Plaintext
Encryption key
, choose aws/secretmanager
to use the AWS managed key. The is no additional cost if we use this keySecret name and description
page, enter value for Secret name
and Description
Tags
section, you can add tags for the secretNext