dcloud errors connections rotate-keyRotate the managed DSN key: new key, every connected app rebuilt, the old key revoked after the grace
IAM errors:UpdateProjectChanges state
The previous key is revoked once the grace is over AND every connected app runs a build made after the rotation; a failed rebuild holds it. Image and compose apps are listed under rebuildYourself: their browser bundles keep the old DSN until rebuilt.
Synopsis
dcloud errors connections rotate-key id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--grace-secondsOptionalnumber
Seconds the previous key keeps working; it is revoked after that once every connected app runs a build made after the rotation
Constraints: integer, 600-604800
Default:
86400
Example
dcloud errors connections rotate-key idGenerated from the API description, the same one the API checks requests against and the CLI is built from.