Skip to content

Commit

Permalink
Backport: Fixes duplicate service account key for rotate root on stan…
Browse files Browse the repository at this point in the history
…dby and secondary (#153) (#154)
  • Loading branch information
austingebauer committed Nov 23, 2022
1 parent ba42410 commit cf68324
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,12 @@ ui/testem.log

# IAM
vault-tester.json
local_environment_setup.sh

# Local .terraform directories
**/.terraform/*
.terraform.lock.hcl

# .tfstate files
*.tfstate
*.tfstate.*
4 changes: 3 additions & 1 deletion plugin/path_config_rotate_root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ func pathConfigRotateRoot(b *backend) *framework.Path {

Operations: map[logical.Operation]framework.OperationHandler{
logical.UpdateOperation: &framework.PathOperation{
Callback: b.pathConfigRotateRootWrite,
Callback: b.pathConfigRotateRootWrite,
ForwardPerformanceStandby: true,
ForwardPerformanceSecondary: true,
},
},

Expand Down

0 comments on commit cf68324

Please sign in to comment.