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

Use environment variable for github/gitlab/... credentials #87

Open
guibou opened this issue Dec 14, 2020 · 1 comment
Open

Use environment variable for github/gitlab/... credentials #87

guibou opened this issue Dec 14, 2020 · 1 comment

Comments

@guibou
Copy link
Owner

guibou commented Dec 14, 2020

Right now the setting of credentials is done using cli argument.

We can improve that by using environment variables.

I propose to use KRANK_GITHUB_TOKEN=token, as well as KRANK_GITLAB_TOKENS=gitabhost=token;gitlabhost2=token2

cc @zimbatm who suggested the idea.

@zimbatm
Copy link

zimbatm commented Dec 15, 2020

Fallback on GITHUB_TOKEN if it's set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants