What is Amazon Secrets Manager?
Amazon Secrets Manager helps you manage, retrieve, and rotate database credentials, application credentials, OAuth tokens, API keys, and other secrets throughout their lifecycles. Many Amazon services store and use secrets in Secrets Manager.
Secrets Manager helps you improve your security posture, because you no longer need hard-coded credentials in application source code. Storing the credentials in Secrets Manager helps avoid possible compromise by anyone who can inspect your application or the components. You replace hard-coded credentials with a runtime call to the Secrets Manager service to retrieve credentials dynamically when you need them.
With Secrets Manager, you can configure an automatic rotation schedule for your secrets. This enables you to replace long-term secrets with short-term ones, significantly reducing the risk of compromise. Since the credentials are no longer stored with the application, rotating credentials no longer requires updating your applications and deploying changes to application clients.
For other types of secrets you might have in your organization:
-
Amazon credentials – We recommend Amazon Identity and Access Management.
-
Encryption keys – We recommend Amazon Key Management Service.
-
SSH keys – We recommend Amazon EC2 Instance Connect.
-
Private keys and certificates – We recommend Amazon Certificate Manager.
Get started with Secrets Manager
If you are new to Secrets Manager, start with one of the following tutorials:
Other tasks you can do with secrets:
Compliance with standards
Amazon Secrets Manager has undergone auditing for the multiple standards and can be part of your solution when you need to obtain compliance certification. For more information, see Compliance validation for Amazon Secrets Manager.
Pricing
When you use Secrets Manager, you pay only for what you use, with no minimum or setup fees. There is
no charge for secrets that are marked for deletion. For the current complete pricing
list, see Amazon Secrets Manager
Pricing
You can use the Amazon managed key aws/secretsmanager
that Secrets Manager creates to encrypt your secrets for free. If you
create your own KMS keys to encrypt your secrets, Amazon charges you at the current Amazon KMS
rate. For more information, see Amazon Key Management Service
Pricing
When you turn on automatic rotation (except managed rotation), Secrets Manager uses an Amazon Lambda function to rotate
the secret, and you are charged for the rotation function at the current Lambda rate. For more information, see
Amazon Lambda Pricing
If you enable Amazon CloudTrail on your account, you can obtain logs of the API calls that Secrets Manager
sends out. Secrets Manager logs all events as management events. Amazon CloudTrail stores the first copy of all
management events for free. However, you can incur charges for Amazon S3 for log storage and for
Amazon SNS if you enable notification. Also, if you set up additional trails, the additional copies
of management events can incur costs. For more information, see Amazon CloudTrail pricing