dcloud deploy database rotate

New password for the app role; redeploys by default

IAM deploy:ManageDatabaseBindingChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud deploy database rotate id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --env-prefixOptional

    string

    Which database binding, by its envPrefix; default empty (the unprefixed one)

    Constraints: max 32 chars, /^([A-Z][A-Z0-9_]*_)?$/

  • --redeployOptional

    boolean (--redeploy / --no-redeploy)

    Roll the live deployment onto the new password; default true, since new connections with the old password stop working at once

Example

dcloud deploy database rotate id

Generated from the API description, the same one the API checks requests against and the CLI is built from.