身份验证
在非交互式场景中,请使用 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
检查身份验证:
doppler whoami
设置密钥:
doppler secrets set <KEY>=<VALUE>
获取单个密钥的值:
doppler secrets get <KEY>
删除密钥:
doppler secrets delete <KEY>
文档