Skip to content

Show api-keys admin URL in interactive login prompt#15

Open
rolodato wants to merge 3 commits into
mainfrom
api-key-url
Open

Show api-keys admin URL in interactive login prompt#15
rolodato wants to merge 3 commits into
mainfrom
api-key-url

Conversation

@rolodato

@rolodato rolodato commented Jun 12, 2026

Copy link
Copy Markdown

When prompting for an API key during mb auth, show users the URL for the API key management page on their instance.

Before:

❯ mb auth
│
◇  Profile name
│  example
│
◇  Metabase URL
│  https://example.com
│
◆  API key
│  _
└

After:

❯ node dist/cli.mjs auth
│
◇  Profile name
│  acme
│
◇  Metabase URL
│  https://metabase.example.com
│
◆  API key - create one at https://metabase.example.com/admin/settings/authentication/api-keys
│  _
└

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant