Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Commands

Complete reference for all cred commands.

Project Management

CommandDescription
cred initInitialize a new cred project
cred statusShow vault, sources, and targets overview
cred doctorCheck project health

Secrets

CommandDescription
cred secret setAdd or update a secret
cred secret getRetrieve a secret value
cred secret listList all secrets
cred secret removeDelete a secret from vault
cred secret describeUpdate a secret’s description
cred secret historyView version history for a secret
cred secret rollbackRestore a previous version
cred importImport from .env file
cred exportExport to .env file

Environments

CommandDescription
cred env listList all environments
cred env createCreate a new environment
cred env deleteDelete an environment and its secrets

Deployment

CommandDescription
cred pushPush secrets to a target
cred pruneDelete secrets from a target

Sources

CommandDescription
cred source addAdd a credential source
cred source generateGenerate a new credential
cred source keysList keys at the source
cred source deleteDelete a generated key
cred source listList configured sources
cred source revokeRemove source and all its keys

Targets

CommandDescription
cred target setAuthenticate with a target
cred target bindBind target identifier to project
cred target listList configured targets
cred target revokeRemove a target’s token

Configuration

CommandDescription
cred config listView all configuration
cred config getGet a config value
cred config setSet a config value
cred config unsetRemove a config value

Global Flags

All commands support these flags:

FlagDescription
--jsonMachine-readable JSON output
--non-interactiveFail instead of prompting for input
--dry-runPreview changes without applying them
--helpShow help for any command