Fix DB static role credential rotation replication issue (#8105)
* Fix DB static role credential rotation replication issue * Rebased and switched to new path forward options * Removed unnecesary write to storage
This commit is contained in:
parent
154b11bedd
commit
80bc527726
|
@ -41,8 +41,12 @@ func pathRotateCredentials(b *databaseBackend) []*framework.Path {
|
|||
},
|
||||
},
|
||||
|
||||
Callbacks: map[logical.Operation]framework.OperationFunc{
|
||||
logical.UpdateOperation: b.pathRotateRoleCredentialsUpdate(),
|
||||
Operations: map[logical.Operation]framework.OperationHandler{
|
||||
logical.UpdateOperation: &framework.PathOperation{
|
||||
Callback: b.pathRotateRoleCredentialsUpdate(),
|
||||
ForwardPerformanceStandby: true,
|
||||
ForwardPerformanceSecondary: true,
|
||||
},
|
||||
},
|
||||
|
||||
HelpSynopsis: pathCredsCreateReadHelpSyn,
|
||||
|
|
Loading…
Reference in a new issue