Authentication
在非交互式场景中,请使用 Service Token 进行认证。
常用 CLI 命令
通过 CLI 使用 Service Token:
# Prevent command with Service Token being recorded in bash history export HISTIGNORE=export DOPPLER_TOKEN* export DOPPLER_TOKEN=dp.st.prd.xxxx doppler run -- your-command-here
Check authentication:
doppler whoami
Set a secret:
doppler secrets set <KEY>=<VALUE>
获取单个密钥的值:
doppler secrets get <KEY>
Delete a secret:
doppler secrets delete <KEY>
Docs