Python and JavaScript example to secure access tokens using environment variables. There have been many cases of developers publicly exposing their access tokens on Github. Thus, this examples are designed to serve as a guide on how to secure your tokens.
- Before committing any changes, remember to add .env to your .gitignore file!
- If you have committed any .env file by accident, remmber to purge it from your repository history!
If anyone is interested in providing examples for languages other than Python and JavaScript, please send a pull request!