Generate a password with Secrets Manager
A common pattern for using Secrets Manager is to generate a password in Secrets Manager and then use that password in your database or service. You can do this using the following methods:
Amazon CloudFormation – See Create Amazon Secrets Manager secrets in Amazon CloudFormation.
Amazon CLI – See
get-random-password
.Amazon SDKs – See
GetRandomPassword
.