diff --git a/src/openapi.yaml b/src/openapi.yaml index a6d95458..75a42830 100644 --- a/src/openapi.yaml +++ b/src/openapi.yaml @@ -761,5 +761,15 @@ components: type: http scheme: bearer bearerFormat: JWT + description: "JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H \"Authorization: Bearer $qovery_token\" '" + ApiKeyAuth: + type: apiKey + in: header + name: Token + description: "Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Curl Example ' curl https://console.qovery.com/organization -H \"Authorization: Token $qovery_token\" '" security: - bearerAuth: [] + - ApiKeyAuth: [] + + +