LinuxCommandLibrary

doppler-secrets

manage and export secret values

TLDR

List all secrets

$ doppler secrets
copy
Get specific secret
$ doppler secrets get [SECRET_NAME]
copy
Set a secret
$ doppler secrets set [KEY]=[value]
copy
Delete a secret
$ doppler secrets delete [SECRET_NAME]
copy
Download secrets as env file
$ doppler secrets download --no-file --format env
copy
Download as JSON
$ doppler secrets download --no-file --format json
copy

SYNOPSIS

doppler secrets [command] [options]

DESCRIPTION

doppler secrets manages secrets stored in Doppler. It provides read, write, and export capabilities for secrets within a project and configuration.
The download command exports secrets in various formats for integration with tools that expect .env files or other formats. The no-file flag outputs to stdout for piping.
Secret values are encrypted in transit and at rest. Access is logged for audit purposes.

PARAMETERS

COMMAND

Operation: get, set, delete, download.
get NAME
Retrieve specific secret value.
set KEY=VALUE
Set secret value.
delete NAME
Remove secret.
download
Export secrets.
--format FORMAT
Output format: env, json, yaml.
--no-file
Output to stdout instead of file.
--config NAME
Config environment.
--help
Display help information.

CAVEATS

Write operations require appropriate permissions. Deleted secrets may take time to propagate. Some characters may need escaping. Large secrets have size limits.

HISTORY

doppler secrets provides the core secrets management functionality of the Doppler platform, enabling teams to securely manage application configuration.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community