Software Engineering :: Operating Systems :: Linux :: Command :: Shell :: Environment :: Variable :: Twelve-Factor App Config :: env.sh
⪼ Made with 💜 by realpolyglot.com
- Personal Brand :: Social Media :: Medium :: Article :: You might not need "dotenv"
- Software Engineering :: Operating Systems :: macOS :: Keychain Access :: security(1)
- Software Engineering :: Programming :: Languages :: JavaScript :: Runtimes :: Node.js :: Environment Variables :: --env-file=.env
- wilmoore/wroute (GitHub)
security add-generic-password -U -a $USER -s OPENAI_API_KEY -w '***'
#!/usr/bin/env bash
cat > .env <<EOF
GIST_API_TOKEN='$(security find-generic-password -s GIST_API_TOKEN -w)'
EOF