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

Update documentation to include setting authToken via DSM_AUTH_TOKEN environment variable #16

Open
wrightnathan opened this issue Jul 14, 2020 · 1 comment

Comments

@wrightnathan
Copy link

I was trying to find a way to publish to DSM during my app's automated build process without exposing the authToken in plain text. I found the following code which appears to allow setting it via the DSM_AUTH_TOKEN environment variable:

const authToken = process.env.DSM_AUTH_TOKEN;

I couldn't find any mention of this in the configuration documentation. It would be nice to add it there.

@YoungElPaso
Copy link

YoungElPaso commented Mar 13, 2021

Ah! Thanks so much for filing this issue, I didn't find that information either and also require it - Google led me here and only here! Instructions saying to paste the token right into the dsmrc file doesn't seem like the most secure way to handle this.

Be great if this was documented.

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