capabilities.work

Generate Password and Store Secret

A 3-step recipe with Amazon Secrets Manager. We can help you get access.

Recipe · 3 steps

Generate Password and Store Secret

with Amazon Secrets Manager · Identity & Access Management

Generate a random password and persist it as a new secret.

  1. Generate a strong random password to the supplied length and complexity rules.
  2. Store the generated password as the SecretString of a new secret under the requested name.
  3. Retrieve the stored secret value to confirm the generated password was saved correctly.
What you'll need to have ready
  • Name: The friendly name of the new secret to create.
  • Description: An optional description of the secret.
  • PasswordLength: The length of the generated password.
  • ExcludePunctuation: Whether to exclude punctuation characters from the password.
For your developer

Arazzo workflow amazon-secrets-manager:generate-password-and-store-secret, 3 operations: GetRandomPassword → CreateSecret → GetSecretValue. Specs on APIs.io.