Skip to content

feat: persist integration API keys in a private local store - #6398

Merged
atomantic merged 2 commits into
mainfrom
cos/task-mtq1nmeb/agent-38f67f37
Sep 6, 2026
Merged

feat: persist integration API keys in a private local store#6398
atomantic merged 2 commits into
mainfrom
cos/task-mtq1nmeb/agent-38f67f37

Conversation

@atomantic

@atomantic atomantic commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

Artificial Analysis sync now saves an authenticated key and reuses it on later syncs. Settings > Credentials can save, rotate, and clear Artificial Analysis, Hugging Face, CivitAI, fal.ai, and reactor.inc keys without exposing their values.

Keys persist in the permission-protected, machine-local data/private/api-keys.json store. Existing integration settings readers and editors remain compatible, with environment/CLI fallbacks retained. Migration 357 moves existing settings keys without replacing newer private-store values; the store is excluded from HTTP asset serving and Data Manager cleanup. Storage and backup behavior are documented.

Test plan

  • Complete server suite passed: 2,005 suites, 39,974 tests (25 skipped).

  • Focused persistence, restart reuse, rejected-key, corruption, migration retry, route validation/redaction, static-file privacy, and catalog checks passed.

  • Credentials and model comparison UI tests passed (17 tests).

  • Client lint and production build passed.

  • Post-rebase Antigravity local review: APPROVED, NO FINDINGS.

@atomantic
atomantic force-pushed the cos/task-mtq1nmeb/agent-38f67f37 branch from 7812051 to 18b07eb Compare September 6, 2026 17:13
@atomantic
atomantic merged commit ef66a02 into main Sep 6, 2026
12 checks passed
@atomantic
atomantic deleted the cos/task-mtq1nmeb/agent-38f67f37 branch September 6, 2026 17:18
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