openapi: Add display attributes for AWS (#19366)

This commit is contained in:
Anton Averchenkov
2023-04-06 11:08:30 -04:00
committed by GitHub
parent 5334e123fa
commit af1006a202
21 changed files with 277 additions and 12 deletions

View File

@@ -24,6 +24,12 @@ func (b *backend) pathConfigRotateRoot() *framework.Path {
return &framework.Path{
Pattern: "config/rotate-root",
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixAWS,
OperationVerb: "rotate",
OperationSuffix: "auth-root-credentials",
},
Operations: map[logical.Operation]framework.OperationHandler{
logical.UpdateOperation: &framework.PathOperation{
Callback: b.pathConfigRotateRootUpdate,