access keys ui details improvement and edit (#3116)

This commit is contained in:
Prakash Senthil Vel
2023-11-22 09:38:23 +05:30
committed by GitHub
parent 04e9cb0ac8
commit e4d5f9610e
28 changed files with 1361 additions and 728 deletions

View File

@@ -1416,25 +1416,6 @@ paths:
tags:
- ServiceAccount
/service-accounts/{access_key}:
delete:
summary: Delete Service Account
operationId: DeleteServiceAccount
parameters:
- name: access_key
in: path
required: true
type: string
responses:
204:
description: A successful response.
default:
description: Generic error response.
schema:
$ref: "#/definitions/ApiError"
tags:
- ServiceAccount
/service-accounts/delete-multi:
delete:
summary: Delete Multiple Service Accounts
@@ -1457,10 +1438,10 @@ paths:
tags:
- ServiceAccount
/service-accounts/{access_key}/policy:
/service-accounts/{access_key}:
get:
summary: Get Service Account Policy
operationId: GetServiceAccountPolicy
summary: Get Service Account
operationId: GetServiceAccount
parameters:
- name: access_key
in: path
@@ -1470,7 +1451,7 @@ paths:
200:
description: A successful response.
schema:
type: string
$ref: "#/definitions/serviceAccount"
default:
description: Generic error response.
schema:
@@ -1479,17 +1460,17 @@ paths:
- ServiceAccount
put:
summary: Set Service Account Policy
operationId: SetServiceAccountPolicy
operationId: UpdateServiceAccount
parameters:
- name: access_key
in: path
required: true
type: string
- name: policy
- name: body
in: body
required: true
schema:
$ref: "#/definitions/addServiceAccountPolicyRequest"
$ref: "#/definitions/updateServiceAccountRequest"
responses:
200:
description: A successful response.
@@ -1499,6 +1480,23 @@ paths:
$ref: "#/definitions/ApiError"
tags:
- ServiceAccount
delete:
summary: Delete Service Account
operationId: DeleteServiceAccount
parameters:
- name: access_key
in: path
required: true
type: string
responses:
204:
description: A successful response.
default:
description: Generic error response.
schema:
$ref: "#/definitions/ApiError"
tags:
- ServiceAccount
/users:
get:
@@ -3896,13 +3894,23 @@ definitions:
policy:
type: string
addServiceAccountPolicyRequest:
updateServiceAccountRequest:
type: object
required:
- policy
properties:
policy:
type: string
secretKey:
type: string
name:
type: string
description:
type: string
expiry:
type: string
status:
type: string
listPoliciesResponse:
type: object
@@ -4804,6 +4812,23 @@ definitions:
type: array
items:
type: string
serviceAccount:
type: object
properties:
parentUser:
type: string
accountStatus:
type: string
impliedPolicy:
type: boolean
policy:
type: string
name:
type: string
description:
type: string
expiration:
type: string
serviceAccounts:
type: array
items:
@@ -4826,6 +4851,14 @@ definitions:
policy:
type: string
title: "policy to be applied to the Service Account if any"
name:
type: string
description:
type: string
expiry:
type: string
comment:
type: string
serviceAccountRequestCreds:
type: object
properties:
@@ -4836,6 +4869,14 @@ definitions:
type: string
secretKey:
type: string
name:
type: string
description:
type: string
expiry:
type: string
comment:
type: string
serviceAccountCreds:
type: object
properties: