Skip to content

feat(secrets): move LLM API Keys into the Secrets menu (#10488) - #10568

Merged
mrveiss merged 2 commits into
Dev_new_guifrom
secrets-llm-keys
Jun 28, 2026
Merged

mrveiss merged 2 commits into
Dev_new_guifrom
secrets-llm-keys

Conversation

@mrveiss

@mrveiss mrveiss commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Thinking Path

Per operator: credentials belong in the Secrets menu ('this is where we store all our secrets'). LLM API keys were a standalone /admin/llm-keys page — moved them under /secrets where secrets live.

What Changed (autobot-frontend only)

  • Moved views/LLMApiKeysView.vue → views/secrets/LlmApiKeysView.vue (issue/list/revoke/rotate logic + /api/llm-keys/* calls unchanged).
  • Added child route /secrets/llm-keys (name secrets-llm-keys, admin-gated) under the existing /secrets layout.
  • Added a sub-nav tab bar in SecretsView.vue (Secrets Manager · LLM API Keys), using design tokens; the LLM Keys tab is admin-gated (v-if="userStore.isAdmin") since the route + backend are admin-only.
  • Removed the standalone /admin/llm-keys route + nav.llmApiKeys navItem (credentials no longer a top-level admin link). i18n keys retained.
  • /secrets is reached via the profile dropdown (nav.secrets); the new tab sits within it.

Verification (local)

  • vue-tsc --noEmit → 0 errors; eslint (changed files) → 0 errors; nav-items-coverage → 9 passed; vite build → ✓.

Model Used

Opus 4.8

Related #10488 · #10503

mrveiss and others added 2 commits June 28, 2026 00:19
Relocate the standalone /admin/llm-keys admin view into the user app's
Secrets section as a child route (/secrets/llm-keys). Add a sub-nav tab
bar in SecretsView so users switch between Secrets and LLM API Keys.

- Move views/LLMApiKeysView.vue -> views/secrets/LlmApiKeysView.vue
- Add child route 'secrets-llm-keys' under /secrets; keep secrets-manager at ''
- Add tab bar (router-link) in SecretsView using design tokens
- Remove standalone /admin/llm-keys route + nav.llmApiKeys adminMenuItem
- Add views.secrets.tabsLabel i18n key across all locales
- Keep all issue/list/revoke/rotate functionality + API calls unchanged

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

@mrveiss
mrveiss merged commit f10ba88 into Dev_new_gui Jun 28, 2026
25 of 28 checks passed
@mrveiss
mrveiss deleted the secrets-llm-keys branch June 28, 2026 08:28
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