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

Include RAILWAY_API_TOKEN for Account-Level Authentication for Railway CLI #541

Open
aryanprince opened this issue Aug 20, 2024 · 0 comments

Comments

@aryanprince
Copy link

Issue

The RAILWAY_API_TOKEN environment variable supports account-level authentication in the Railway CLI, but this is not documented anywhere.

Context

This information was only mentioned by @brody192 in a Railway CLI issue here, but it’s not included in the official documentation. Users like myself may not be aware of this feature, leading to confusion when trying to authenticate the CLI at an account level.

This was an issue when trying to using tools like 1Password's Shell Integration to automatically pass an API token to the CLI from your password manager's vault for example.

Suggestion

Please update the CLI documentation to include a section on using the RAILWAY_API_TOKEN variable, explaining how it can be used for account-level authentication. This should be added somewhere here where CLI authentication is explained.

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