Open arunsathiya opened 1 year ago
I have done a bit of research over the last week:
RAILWAY_TOKEN
, which is different though. It's for project-specific authentication instead of the full account.I am currently talking to Railway staff on Discord to get more info.
Quick update from the Discord conversation:
Time to wait.
Another progress note: Their CLI is now written in rust, and seems to have merged to the main repo as of two days ago. I am yet to take their new CLI for a spin. Hopefully there's a flag to path custom config path, and/or support for environment variables.
@arunsathiya Looks like the latest version of Railway's CLI only supports a per-project token for their CLI's auth according to the official CLI auth docs. They do have other methods of auth but the one that uses a token is only per-project level.
From what I'm seeing on their docs, I'm not sure if they support having an 'account-level' token (to manage all Railway projects for instance).
Edit: Apparently there exists an un-documented RAILWAY_API_TOKEN
variable for account-level access for the Railway CLI. This works great, and I opened a PR (#481) to create a new plugin for the Railway CLI.
Update: Apparently there exists an un-documented RAILWAY_API_TOKEN
variable for account-level access for the Railway CLI as mentioned here. This works great, and I opened a PR (#481) to create a new 1Password CLI Shell Plugin for the Railway CLI.
Platform or tool
Railway
Relevant links
Goal or desired behavior
Authenticate to the Railway platform.
Contribution
Additional information
No response