Skip to content

Commit

Permalink
Fix DB static role credential rotation replication issue (#8105)
Browse files Browse the repository at this point in the history
* Fix DB static role credential rotation replication issue

* Rebased and switched to new path forward options

* Removed unnecesary write to storage
  • Loading branch information
michelvocks authored and briankassouf committed Jan 10, 2020
1 parent 748b594 commit 7ebb303
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions builtin/logical/database/path_rotate_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7ebb303

Please sign in to comment.