Dashboard: an API key button that shows the key with a copy button
Behind the same sign-in as the rest of the dashboard (GET /api/key, no-store), so whoever can open the dashboard can hand the key to a client without a shell on the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e814a2359d
commit
6fd82448c5
4 changed files with 58 additions and 3 deletions
|
|
@ -112,7 +112,8 @@ It ends by printing the two Pangolin HTTP resources to create, both pointing at
|
|||
| dashboard, at the `--public-url` host | `<LAN IP>:<web port>` | llm-host, through your OIDC provider |
|
||||
| API, at a host of your choice | `<LAN IP>:<API port>` | llm-host, with the API key |
|
||||
|
||||
Clients then use `https://<API host>/v1` with the key from `llmhost key`.
|
||||
Clients then use `https://<API host>/v1` with the key from `llmhost key`, or from the dashboard's **API key** button,
|
||||
which shows it to anyone signed in, with a copy button.
|
||||
|
||||
For Authelia, the client looks like this:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue