Change Password support for Console (#457)
- Account change password endpoints - Change account password modal - Grouped account settings and service accounts - Removed the SuperAdmin credentials from almost all places, only missing place is Oauth login - Renamed service-accounts UI labels to account in Menu Co-authored-by: Daniel Valdivia <hola@danielvaldivia.com>
This commit is contained in:
44
swagger.yml
44
swagger.yml
@@ -136,6 +136,28 @@ paths:
|
||||
tags:
|
||||
- UserAPI
|
||||
|
||||
/account/change-password:
|
||||
post:
|
||||
summary: Change password of currently logged in user.
|
||||
operationId: AccountChangePassword
|
||||
parameters:
|
||||
- name: body
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: "#/definitions/accountChangePasswordRequest"
|
||||
responses:
|
||||
201:
|
||||
description: A successful login.
|
||||
schema:
|
||||
$ref: "#/definitions/loginResponse"
|
||||
default:
|
||||
description: Generic error response.
|
||||
schema:
|
||||
$ref: "#/definitions/error"
|
||||
tags:
|
||||
- UserAPI
|
||||
|
||||
/buckets:
|
||||
get:
|
||||
summary: List Buckets
|
||||
@@ -1953,6 +1975,18 @@ paths:
|
||||
- OperatorAPI
|
||||
|
||||
definitions:
|
||||
|
||||
accountChangePasswordRequest:
|
||||
type: object
|
||||
required:
|
||||
- current_secret_key
|
||||
- new_secret_key
|
||||
properties:
|
||||
current_secret_key:
|
||||
type: string
|
||||
new_secret_key:
|
||||
type: string
|
||||
|
||||
bucketEncryptionType:
|
||||
type: string
|
||||
enum:
|
||||
@@ -2460,16 +2494,20 @@ definitions:
|
||||
principal:
|
||||
type: object
|
||||
properties:
|
||||
accessKeyID:
|
||||
STSAccessKeyID:
|
||||
type: string
|
||||
secretAccessKey:
|
||||
STSSecretAccessKey:
|
||||
type: string
|
||||
sessionToken:
|
||||
STSSessionToken:
|
||||
type: string
|
||||
actions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
accountAccessKey:
|
||||
type: string
|
||||
accountSecretKey:
|
||||
type: string
|
||||
startProfilingItem:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user