Skip to content

Python and JavaScript example to secure access tokens using environment variables.

Notifications You must be signed in to change notification settings

DtCarrot/secure-access-tokens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

secure-access-tokens

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.

Examples

Python example

JavaScript example

Note:

  1. Before committing any changes, remember to add .env to your .gitignore file!
  2. If you have committed any .env file by accident, remmber to purge it from your repository history!

Looking for contributers

If anyone is interested in providing examples for languages other than Python and JavaScript, please send a pull request!

About

Python and JavaScript example to secure access tokens using environment variables.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published