Documentation Secrets CLI Command Reference Secrets CLI Command Reference Every dcloud secrets command. The shape is dcloud <service> <resource> <verb>; every command also takes the global flags (--json, --profile, --dry-run, …).
dcloud secrets secrets Values encrypted at rest under a CMK
list List secrets without their values get Describe one secret without its value flow Show where a secret comes from and every consumer it goes to, with last reads app-flow List every secret an app uses, where each comes from and the version it last read get-value Reveal the decrypted value of a secret create Create a secret encrypted under a CMK — from a value, or synced from a source reference sync Refresh a synced secret from its source now rotate Store a new value as the current version list-versions List stored versions of a secret rollback Promote a retired version back to current list-grants List which consumers may read a secret grant Grant a consumer access to a secret revoke-grant Revoke a consumer grant access-log Show who has actually read a secret value update Change a secret’s description, group or rotation interval (never its value) delete Delete a secret bulk-move Move secrets to a group (null: Ungrouped), answered per secret bulk-grant Grant one consumer access to many secrets, answered per secret bulk-revoke Revoke one consumer’s grant on many secrets, answered per secret bulk-delete Delete many secrets and every version of them, answered per secret dcloud secrets groups Where secrets are filed: paths like dialog/auth, up to three segments
list The group tree with how many secrets each group holds dcloud secrets sources External secret managers (1Password) whose references become synced secrets
providers List the providers a source can be, and their reference syntax list List connected sources with sync status (never the credential) create Connect a source — the credential is verified, then stored as a secret update Rename the source, replace the credential or change the refresh interval test Check the stored credential still works sync Refresh every secret synced from this source now check Check which references resolve — ok/error per reference, never a value delete Disconnect a source (refused while secrets still sync from it) dcloud secrets environments Environments (dev, staging, prod …): the same secret name once per environment
list List environments in promotion order, with their secret and app counts create Add an environment update Rename an environment, move it in the promotion order or change its colour delete Delete an environment (refused while it holds secrets or apps) diff Compare two environments by name: present where, and equal or not promote Copy a secret into another environment (or its source reference, if synced) promote-many Promote many secrets into one environment; `dryRun` returns the plan first matrix Every secret name × Default and each environment: what each environment resolves it to set-app-environment Set which environment an app’s secret names resolve in (null: shared only) Generated from the API description, the same one the API checks requests against and the CLI is built from.