secrets Commands
Manage secrets
Output formatting flags (--json, --jq, and --template) are documented once in Output Formatting and are omitted from the tables below.
bctrl secrets create
Create a Secret at a new path. The returned ID addresses it; paths remain reference keys.
bctrl secrets delete
Delete a Secret and all its versions. Supports If-Match. The audit trail is kept.
bctrl secrets get
Read one Secret: its metadata and which fields are set. Secret fields are write-only; use POST /v1/secrets/{secret}/reveal to read values.
bctrl secrets list
List Secrets by path. prefix narrows to paths starting with it; delimiter=/ groups deeper paths into folders, like S3. Secret values are never listed.
bctrl secrets reveal
Return the values of a Secret version. Only people may reveal: organization or subaccount API keys and dashboard sessions. Task agents, delegated code and View tokens get 403 secrets.reveal_forbidden. Every reveal is audited.
bctrl secrets update
Change some fields of a Secret; null clears one. Creates a new version. Supports If-Match.
bctrl secrets versions
List version metadata by secret ID. Values and ciphertext are never returned.

