Fix DB root rotation replication issue (#8106)

* Fix DB root rotation replication issue

* Rebase and switch to new path forward options
This commit is contained in:
Michel Vocks 2020-01-09 15:59:58 +01:00 committed by GitHub
parent 57a3b72cde
commit 02cdd8a6da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -21,8 +21,12 @@ func pathRotateCredentials(b *databaseBackend) []*framework.Path {
},
},
Callbacks: map[logical.Operation]framework.OperationFunc{
logical.UpdateOperation: b.pathRotateCredentialsUpdate(),
Operations: map[logical.Operation]framework.OperationHandler{
logical.UpdateOperation: &framework.PathOperation{
Callback: b.pathRotateCredentialsUpdate(),
ForwardPerformanceSecondary: true,
ForwardPerformanceStandby: true,
},
},
HelpSynopsis: pathCredsCreateReadHelpSyn,