Returns AI provider key rows. By default, only rows whose parent provider is live (deleted = FALSE) are returned, so the API list handler can fetch every visible provider's keys in a single query. The dbcrypt key rotation utility passes include_deleted=TRUE to re-encrypt rows that belong to soft-del
(ctx context.Context, includeDeleted bool)
| 282 | // The dbcrypt key rotation utility passes include_deleted=TRUE to |
| 283 | // re-encrypt rows that belong to soft-deleted providers as well. |
| 284 | GetAIProviderKeys(ctx context.Context, includeDeleted bool) ([]AIProviderKey, error) |
| 285 | // Returns all keys for a provider, ordered by created_at ASC so the |
| 286 | // oldest key is returned first. AI Bridge currently uses the oldest |
| 287 | // key per provider; multiple keys are stored to support future |
no outgoing calls