Railway CLI account-level API token support (for 1Password Shell Plugin)
I know the Railway CLI supports project-level API tokens, which work like this:
However, when I try using an account-level API token:
It doesn’t work, and I couldn’t find any documentation about this. Is account-level token support available, or could it be added?
This feature would be useful for integrations like the 1Password Shell Plugin.
Thanks!
3 Replies
Project ID:
N/A
Edit: Solved now. See this GitHub issue for more info.
All you need to do is pass a
RAILWAY_API_TOKEN
as your account-level API token and it works great. Below example shows how you can use it:
Feel free to mark this post as Solved.Solution
i am updating the docs right now!
edit, updated! - https://docs.railway.app/guides/cli#tokens