Aryan
Aryan
Explore posts from servers
RRailway
Created by Aryan on 8/20/2024 in #✋|help
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:
RAILWAY_TOKEN="my_project_level_api_token" railway run
RAILWAY_TOKEN="my_project_level_api_token" railway run
However, when I try using an account-level API token:
RAILWAY_TOKEN="my_account_level_api_token" railway run
# or
RAILWAY_TOKEN="my_account_level_api_token" railway whoami
RAILWAY_TOKEN="my_account_level_api_token" railway run
# or
RAILWAY_TOKEN="my_account_level_api_token" railway whoami
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!
5 replies