This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 0) Set your target | |
PROJECT=project | |
CONFIG=local_personal | |
ENVFILE=./.env | |
# 1) List current keys in the Doppler config | |
doppler secrets download -p "$PROJECT" -c "$CONFIG" --no-file --format json \ | |
| jq -r 'keys[]' | sort > /tmp/doppler_keys.txt | |
# 2) List keys present in your .env (handles optional `export KEY=...`, ignores comments) |