diff --git a/openapi.yaml b/openapi.yaml index 673c505cf..83e46afe7 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -10763,14 +10763,7 @@ paths: content: application/json: schema: - allOf: - - $ref: '#/components/schemas/ObjectStorageKey' - - type: object - properties: - secret_key: - type: string - description: This keypair’s secret key. **Only returned on key creation**. - example: OiA6F5r0niLs3QA2stbyq7mY5VCV7KqOzcmitmHw + $ref: '#/components/schemas/ObjectStorageKey' default: $ref: '#/components/responses/ErrorResponse' x-code-samples: @@ -17813,6 +17806,11 @@ components: description: This keypair's access key. This is not secret. example: KVAKUTGBA4WTR2NSJQ81 readOnly: true + secret_key: + type: string + description: This keypair's secret key. Only returned on key creation. + example: OiA6F5r0niLs3QA2stbyq7mY5VCV7KqOzcmitmHw + readOnly: true limited: type: boolean description: Whether or not this key is a limited access key. Will return `false` if this key grants full access to all buckets on the user's account.