Skip to content

Maintaining multiple auth profiles on the same providerΒ #893

@ABODFTW

Description

@ABODFTW

I've two keys in use, for two separate projects both are from Open Router, but wants to keep costs seperate.

When I run

opencode auth login

Chose openrouter, add the API key. then run the auth flow again, and add another API.

After that I call:

opencode auth list

I only see the latest openrouter key added, and can not switch between different auth profiles per se.

If you can point me in the right direction with more details, might be able to implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions