Advance OpenBao migration to consumer waves
This commit is contained in:
parent
50a0a2ab50
commit
cb428442eb
3 changed files with 33 additions and 4 deletions
13
tools/openbao-attended-unseal-target.sh
Executable file
13
tools/openbao-attended-unseal-target.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
remote=(ssh -tt railiance01)
|
||||
unseal='kubectl -n openbao exec -it openbao-0 -- env BAO_ADDR=http://127.0.0.1:8200 bao operator unseal'
|
||||
status='kubectl -n openbao exec openbao-0 -- env BAO_ADDR=http://127.0.0.1:8200 bao status'
|
||||
|
||||
echo "Private railiance01 target: enter rotated source share 1 of 2 at the hidden prompt."
|
||||
"${remote[@]}" "$unseal"
|
||||
echo "Private railiance01 target: enter a different rotated source share at the hidden prompt."
|
||||
"${remote[@]}" "$unseal"
|
||||
echo "Private railiance01 target status:"
|
||||
"${remote[@]}" "$status"
|
||||
Loading…
Add table
Add a link
Reference in a new issue