{ "opencollection": "1.0.0", "info": { "name": "Arthur GenAI Engine Agent Discovery Secrets API", "version": "2.1.688" }, "items": [ { "info": { "name": "Secrets", "type": "folder" }, "items": [ { "info": { "name": "Rotates secrets", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/secrets/rotation", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "This endpoint re-encrypts all the secrets in the database. The procedure calling this endpoint is as follows: \nFirst: Deploy a new version of the service with GENAI_ENGINE_SECRET_STORE_KEY set to a value like 'new-key::old-key'. \nSecond: call this endpoint - all secrets will be re-encrypted with 'new-key'. \nThird: Deploy a new version of the service removing the old key from GENAI_ENGINE_SECRET_STORE_KEY, like 'new-key'. \nAt this point all existing and new secrets will be managed by 'new-key'." } ] } ], "bundled": true }