Port GetKeyInfo by adding showSecretKey query param

This commit is contained in:
Quentin 2023-11-22 18:05:11 +01:00
parent 20b3afbde4
commit 0d415f42ac
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68

View file

@ -361,6 +361,14 @@ paths:
example: "GK31c2f218a2e44f485b94239e" example: "GK31c2f218a2e44f485b94239e"
schema: schema:
type: string type: string
- name: showSecretKey
in: query
schema:
type: boolean
default: false
example: true
required: false
description: "Wether or not the secret key should be returned in the response"
responses: responses:
'500': '500':
description: "The server can not handle your request. Check your connectivity with the rest of the cluster." description: "The server can not handle your request. Check your connectivity with the rest of the cluster."
@ -464,6 +472,14 @@ paths:
example: "test-k" example: "test-k"
schema: schema:
type: string type: string
- name: showSecretKey
in: query
schema:
type: boolean
default: false
example: true
required: false
description: "Wether or not the secret key should be returned in the response"
responses: responses:
'500': '500':
description: "The server can not handle your request. Check your connectivity with the rest of the cluster." description: "The server can not handle your request. Check your connectivity with the rest of the cluster."
@ -1117,7 +1133,7 @@ components:
type: string type: string
example: "6a8e08af2aab1083ebab9b22165ea8b5b9d333b60a39ecd504e85cc1f432c36f" example: "6a8e08af2aab1083ebab9b22165ea8b5b9d333b60a39ecd504e85cc1f432c36f"
remove: remove:
type: bool type: boolean
example: true example: true
NodeRoleUpdate: NodeRoleUpdate:
type: object type: object
@ -1194,6 +1210,7 @@ components:
example: "GK31c2f218a2e44f485b94239e" example: "GK31c2f218a2e44f485b94239e"
secretAccessKey: secretAccessKey:
type: string type: string
nullable: true
example: "b892c0665f0ada8a4755dae98baa3b133590e11dae3bcc1f9d769d67f16c3835" example: "b892c0665f0ada8a4755dae98baa3b133590e11dae3bcc1f9d769d67f16c3835"
permissions: permissions:
type: object type: object