Skip to content

New plugin: Railway #151

Done
Done

Description

@arunsathiya

Platform or tool

Railway

Relevant links

Goal or desired behavior

Authenticate to the Railway platform.

Contribution

  • I'd be up for building the plugin myself.

Additional information

No response

Activity

  1. added
    plugin-request
    on Jan 18, 2023
  2. arunsathiya commented on Feb 6, 2023

    @arunsathiya
    ContributorAuthor

    I have done a bit of research over the last week:

    • I am not seeing a flag to specify a custom config file.
    • I am not seeing a environment variable besides 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.

  3. arunsathiya commented on Feb 15, 2023

    @arunsathiya
    ContributorAuthor

    Quick update from the Discord conversation:

    • Railway devs are busy building a v2 of their CLI, in Rust.
    • Until that version is out (expected late this week), we wouldn't know the exact environment variables or custom config path/flag.

    Time to wait.

  4. arunsathiya commented on Mar 6, 2023

    @arunsathiya
    ContributorAuthor

    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.

  5. aryanprince commented on Aug 20, 2024

    @aryanprince
    Contributor

    @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.

  6. aryanprince commented on Aug 20, 2024

    @aryanprince
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

plugin-request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions