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 a description how to source the API Keys #7

Open
jukey opened this issue Jun 30, 2016 · 0 comments
Open

Add a description how to source the API Keys #7

jukey opened this issue Jun 30, 2016 · 0 comments

Comments

@jukey
Copy link

jukey commented Jun 30, 2016

It would be awesome to add a more concrete description how to source the api keys in order to avoid using the --token parameter.

My suggestion would be:

Create a file called ~/.scalyrand add the following into it:

export scalyr_readlog_token='XXX'
export scalyr_readconfig_token='YYY'
export scalyr_writeconfig_token='ZZZ'

Now source the variable to your current shell by entering:

source ~/.scalyr

Now the parameter --token is not necessary any longer.

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

1 participant