Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active December 2, 2024 10:59
Show Gist options
  • Save wilmoore/d7bb8cbf2385a23308ffd9d7cf07f095 to your computer and use it in GitHub Desktop.
Save wilmoore/d7bb8cbf2385a23308ffd9d7cf07f095 to your computer and use it in GitHub Desktop.
Software Engineering :: Operating Systems :: Linux :: Command :: Shell :: Environment :: Variable :: Twelve-Factor App Config :: Training :: env.sh

Software Engineering :: Operating Systems :: Linux :: Command :: Shell :: Environment :: Variable :: Twelve-Factor App Config :: env.sh

⪼ Made with 💜 by realpolyglot.com

related

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment