dcloud deploy database rotateNew 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>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--env-prefixOptionalstring
Which database binding, by its envPrefix; default empty (the unprefixed one)
Constraints: max 32 chars, /^([A-Z][A-Z0-9_]*_)?$/
--redeployOptionalboolean (--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 idGenerated from the API description, the same one the API checks requests against and the CLI is built from.