-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Set token via environment variables #2
Comments
That makes sense. I will consider this in a future release. In the meantime, have in mind it is still possible to specify the auth token for CI by explicitly setting it in your tokens cache (default Ref. Configuration Does this way of passing the token work for your needs? |
Yes, it's workable for now. I just need CI steps that will write the file for me. Thanks! |
I'm wondering if specifying an auth token via an environment variable directly might be vulnerable? Is it common to pass secrets to CI env in that way, could you share some example of this/docs so that I can explore? |
https://circleci.com/docs/2.0/env-vars/#secrets-masking Many CI systems support setting secrets this way. |
I think being able to set tokens via environment variables would end up with a much more CI friendly user experience.
Then the token could be set on the CI provider as a secret.
The text was updated successfully, but these errors were encountered: