Skip to content

feat(api-keys): allow copying saved active keys - #239

Closed
JnyRoad wants to merge 1 commit into
OpenBMB:mainfrom
JnyRoad:fix/upstream-copy-saved-api-keys
Closed

feat(api-keys): allow copying saved active keys#239
JnyRoad wants to merge 1 commit into
OpenBMB:mainfrom
JnyRoad:fix/upstream-copy-saved-api-keys

Conversation

@JnyRoad

@JnyRoad JnyRoad commented Aug 29, 2026

Copy link
Copy Markdown

Summary: Adds an owner- and manager-authorized reveal endpoint for active API keys, encrypted recovery copies created and refreshed on create/rotate, clearing on revoke, and account/employee console copy actions with legacy-key rotation guidance. Tests: backend pytest (33 passed); frontend Vitest (247 passed); production build; config check; import-order check. Note: upstream i18n check still reports an unrelated missing English translation in frontend-enterprise/src/pages/chat/chatHelpers.tsx, which this PR does not modify.

Persist encrypted recovery copies across account, employee, and public API key lifecycles. Add authorized active-key reveal endpoints, SQLite compatibility migration, and copy controls for the two management dialogs. Legacy and revoked keys remain unrecoverable.

Tests: pytest backend/tests/test_public_api_v1.py backend/tests/test_database_config.py; npm dialog tests; i18n/config checks; production build.
@JnyRoad JnyRoad closed this by deleting the head repository Sep 2, 2026
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