Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to save and retrieve github tokens locally #2

Open
mariocj89 opened this issue Mar 10, 2017 · 0 comments
Open

Add support to save and retrieve github tokens locally #2

mariocj89 opened this issue Mar 10, 2017 · 0 comments

Comments

@mariocj89
Copy link
Owner

mariocj89 commented Mar 10, 2017

This needs to be still app specific as you dont want to have multiple apps using the same token

The final objective being the follwing api:

import github_token
token = github_token.get(app_name="my_cool_app", github_api="XXX")

#or 

token = github_token.create(app_name="my_cool_app")

This assumes an interactive app (that can overriden via env vars)

This allows to store all the gothub tokens in a single repository and retrieve them as necessary.
An advante of this is to allow to use github apps with multiple github api endpoints

@mariocj89 mariocj89 changed the title Add support to save and retrieve github tokens Add support to save and retrieve github tokens locally Nov 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant