Using Amazon Secrets Manager and Amazon Systems Manager Parameter Store
This topic provides a brief introduction of Amazon Secrets Manager and Amazon Systems Manager Parameter Store, pricing information, and references to learn more about creating and retrieving secrets, using both the console and programmatic options.
About Secrets Manager
Amazon Secrets Manager helps you manage, retrieve, and rotate secrets throughout their lifecycles. Examples of secret data you can manage include database credentials, application credentials, OAuth tokens, and API keys. Secrets Manager enables you to configure an automatic rotation schedule for your secrets.
About Systems Manager Parameter Store
Parameter Store is a tool in Amazon Systems Manager. It provides secure, hierarchical storage for configuration data management and secrets management. You can manage important configuration data as parameter values. Examples of data that you can manage with Parameter Store includes Amazon Machine Image (AMI) IDs, license codes, passwords, and database strings.
Pricing
Standard charges apply for using Secrets Manager and Systems Manager Parameter Store. For more information about pricing, see the following websites:
-
Amazon Systems Manager pricing
(select Parameter Store from the content list)
Topics
Using Secrets Manager to create and retrieve secrets
You can create and retrieve Secrets Manager secrets using the Amazon Secrets Manager console, the Amazon CLI, or the Amazon SDK. Refer to the following resources to learn more about different methods to create and retrieve Secrets Manager secrets.
Creating secrets
-
Console – Create an Amazon Secrets Manager secret (console) in the Amazon Secrets Manager User Guide
-
Amazon CLI – AmazonCLI in the Amazon Secrets Manager User Guide
-
Amazon SDK – Amazon SDK in the Amazon Secrets Manager User Guide
Retrieving secrets
-
Console – Get a secret value (console) in the Amazon Secrets Manager User Guide
-
Amazon CLI – Get a secret value (Amazon CLI) in the Amazon Secrets Manager User Guide
-
Amazon SDK – Code examples for Secrets Manager using Amazon SDKs in the Amazon SDK Code Examples Code Library
-
Other methods – Get secrets from Amazon Secrets Manager in the Amazon Secrets Manager User Guide
For more information about Amazon Secrets Manager, see What is Amazon Secrets Manager? in the Amazon Secrets Manager User Guide.
Using Systems Manager Parameter Store to create and retrieve parameters
You can create and retrieve Parameter Store parameters using the Amazon Systems Manager console, the Amazon CLI, or the Amazon SDK. Refer to the following resources to learn more about different methods to create and retrieve Parameter Store parameters.
Creating parameters
-
Console – Create a Systems Manager parameter (console) in the Amazon Systems Manager User Guide
-
Amazon CLI – Create a Systems Manager parameter (Amazon CLI) in the Amazon Systems Manager User Guide
-
Amazon SDK – Use PutParameter with an Amazon SDK or Amazon CLI in the Amazon SDK Code Examples Code Library
Retrieving parameters
-
Console – Searching for a parameter (console) in the Amazon Systems Manager User Guide
-
Amazon CLI – Use GetParameter with an Amazon SDK or Amazon CLI in the Amazon SDK Code Examples Code Library
-
Amazon SDK – Use GetParameter with an Amazon SDK or Amazon CLI in the Amazon SDK Code Examples Code Library
For more information, see Amazon Systems Manager Parameter Store in the Amazon Systems Manager User Guide.