Skip to content

Commit

Permalink
Update router to forward creds requests (#76) (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonodonnell authored Jun 11, 2021
1 parent 6ca3350 commit 6dc5631
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions plugin/path_creds.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,12 @@ func (b *backend) pathCreds() *framework.Path {
Description: "Name of the role",
},
},
Callbacks: map[logical.Operation]framework.OperationFunc{
logical.ReadOperation: b.credReadOperation,
Operations: map[logical.Operation]framework.OperationHandler{
logical.ReadOperation: &framework.PathOperation{
Callback: b.credReadOperation,
ForwardPerformanceStandby: true,
ForwardPerformanceSecondary: true,
},
},
HelpSynopsis: credHelpSynopsis,
HelpDescription: credHelpDescription,
Expand Down

0 comments on commit 6dc5631

Please sign in to comment.