Last active
December 30, 2016 09:49
-
-
Save tr3buchet/4481060 to your computer and use it in GitHub Desktop.
python keyring cli for gister
This file contains 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
### note | |
I installed keyring with pip install --user, so my keyring binary is at ~/.local/bin/keyring | |
# add public github token to keyring | |
[trey|d3v ~]% keyring set gister public_oauth | |
Password for 'public_oauth' in 'gister': <paste github oauth token here> | |
[trey|d3v ~]% keyring get gister public_oauth | |
your_token_will_be_displayed_if_you_do_this | |
# add private github token to keyring | |
[trey|d3v ~]% keyring set gister private_oauth | |
Password for 'private_oauth' in 'gister': <paste private github oath token here> | |
[trey|d3v ~]% keyring get gister private_oauth | |
your_token_will_be_displayed_if_you_do_this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment