Skip to content

secret set

Rotate or upsert a secret value without recreating the parameter path.

bash
awsutopia secret set <name> <value> [--dry-run] [--json]
bash
awsutopia secret set api-key 'new-value'

Writes the SecureString at /utopia/{project}/{env}/{name}. The value is never printed in success output. Ownership must match the current project (same rules as create).

Prefer this when the secret already exists; use create secret for the first write.

Working name — your AWS account, your bill.