mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-06 07:01:52 +09:00
- Encrypt the last plaintext credential store: CloudProvider.api_key_encrypted is now Fernet-encrypted on write and decrypted in _auth_headers, with an idempotent encrypt_legacy_secrets() migration run at startup. All five stores (source, DNS, cloud, registrar, storage) now encrypt identically via app.utils.crypto. - Add ConnectionRegistry + GET /api/v1/connections: one normalized, secret-free list of every connected external account (the "what's connected" source of truth). Frontend api.getAllConnections(). - The full write-side "one model replaces five" migration is deliberately not done — it would risk five working subsystems for no user-facing benefit. The uniform encryption + read registry deliver #18's practical value. Verified by booting create_app('testing') and running the registry live (returns a list; /api/v1/connections present in the URL map). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>