Files
tenant-registry/migrations/0017_licence_llm_key_secret.up.sql
sharang 5b4590d3bc
ci / shared (push) Successful in 13s
ci / test (push) Successful in 25m10s
ci / image (push) Successful in 36s
feat(api-keys): CI licences by API key and integration keys (#71)
2026-10-13 22:12:05 +00:00

5 lines
286 B
SQL

-- A CI licence's LiteLLM key is handed out again when the licence is reused
-- (same API key, device and UTC day; ADR 0001 §5). The secret is stored
-- AES-256-GCM sealed under SECRETS_ENCRYPTION_KEY, bound to the licence id.
ALTER TABLE licences ADD COLUMN llm_key_secret_enc BYTEA;