backport of commit 4a7bee5a02db880d543692386ccd597f33e29624 (#24331)

Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-12-01 10:11:04 -05:00 committed by GitHub
parent 337be44a90
commit 7dcda6bb20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

4
changelog/24325.txt Normal file
View File

@ -0,0 +1,4 @@
```release-note:change
identity (enterprise): POST requests to the `/identity/entity/merge` endpoint
are now always forwarded from standbys to the active node.
```

View File

@ -231,7 +231,8 @@ func entityPaths(i *IdentityStore) []*framework.Path {
},
Operations: map[logical.Operation]framework.OperationHandler{
logical.UpdateOperation: &framework.PathOperation{
Callback: i.pathEntityMergeID(),
Callback: i.pathEntityMergeID(),
ForwardPerformanceStandby: true,
},
},