Format:
Export:

Test cases(26 of 50)

Show
Priority
Category
0/26 completed0%

Complete the OpenBao prerequisites before running these tests. Go to prerequisites

Enable TLS end-to-end on OpenBao (OpenShift)
Manual init and unseal — loop script (Approach 1)
Seal migration — Shamir to Transit auto-unseal
Seal migration — Shamir to AWS KMS auto-unseal

Requires AWS KMS, IAM permissions, and credentials. Independent of transit auto-unseal (UNSEAL-002).

Migrate the TLS HA cluster from TC-OPENBAO-OCP-001 (Shamir seal, initialised via PRE-06 and PRE-07) to AWS KMS auto-unseal.

Prerequisites checklist

Confirm these before running steps:

1Verify cluster is healthy (Shamir, post OCP-001)
oc get pods -n openbao
oc exec -ti openbao-0 -n openbao -- bao status
→ Seal Type shamir, Sealed false, all pods 1/1 Ready
2Prepare AWS KMS
aws kms create-key --description 'OpenBao Auto-Unseal Key' --region <region>
→ Note the key ARN
3Create AWS credentials Secret (or use IRSA / Pod Identity)
oc create secret generic aws-kms-creds -n openbao \
--from-literal=AWS_ACCESS_KEY_ID=<id> \
--from-literal=AWS_SECRET_ACCESS_KEY=<secret>
4Note leader and standbys
oc exec -ti openbao-0 -n openbao -- bao login $(jq -r '.root_token' openbao-init.json)
oc exec -ti openbao-0 -n openbao -- bao operator raft list-peers
export LEADER=openbao-0 (State: leader)
5Build Helm values — add seal "awskms" to TLS values (see Commands / YAML tab)
kms_key_id: your KMS key ARN
region: AWS region
→ AWS creds via extraSecretEnvironmentVars from aws-kms-creds Secret
6Helm upgrade
helm upgrade openbao openbao/openbao -n openbao -f openbao-ha-values-tls-awskms-unseal.yaml
ConfigMap conflict: oc delete configmap openbao-config -n openbao then re-run
7Migrate first standby — leader stays up
export STANDBY=openbao-2
oc delete pod $STANDBY -n openbao
watch oc get pods -n openbao
oc exec -ti $STANDBY -n openbao -- bao operator unseal -migrate $(jq -r '.unseal_keys_b64[0]' openbao-init.json)
oc exec -ti $STANDBY -n openbao -- bao operator unseal -migrate $(jq -r '.unseal_keys_b64[1]' openbao-init.json)
oc exec -ti $STANDBY -n openbao -- bao operator unseal -migrate $(jq -r '.unseal_keys_b64[2]' openbao-init.json)
→ Follower may stay 0/1 Ready until migration completes — continue
8Migrate second standby
export STANDBY=openbao-1
oc delete pod $STANDBY -n openbao
watch oc get pods -n openbao
bao operator unseal -migrate with different Shamir keys
9Step down the leader
oc exec -ti $LEADER -n openbao -- bao operator step-down
sleep 15
oc exec -ti openbao-0 -n openbao -- bao operator raft list-peers
export NEW_LEADER=openbao-1 # pod with State: leader
10Verify migration on new leader
oc logs $NEW_LEADER -n openbao --tail=50
oc exec -ti $NEW_LEADER -n openbao -- bao status
→ Seal Type awskms, Recovery Seal Type shamir, Sealed false
Seal Migration in Progress: false, HA Mode: active
11Restart former leaderauto-unseals via KMS
oc delete pod $LEADER -n openbao
watch oc get pods -n openbao
1/1 Ready without manual unseal
12Restart standbysauto-unseal via KMS
oc delete pod openbao-1 openbao-2 -n openbao
watch oc get pods -n openbao
→ All three 1/1 Ready
Enable and Use KV v2 Secrets Engine
KV v2 Metadata and Custom Metadata
KV Secret Rotation Pattern with CAS
Configure PKI Engine as Internal CA
Auto-Rotate TLS Certificates with cert-manager
Cross-Sign External CA with OpenBao PKI
Dynamic PostgreSQL Credentials
Dynamic MySQL/MariaDB Credentials
Kubernetes Auth Method
OIDC Authentication with Keycloak/DEX
Raft Cluster Operations
Raft Snapshot and Restore
Full OpenBao Backup Strategy
Disaster Recovery Restore
TLS Certificates for OpenShift Routes via PKI
Dynamic PostgreSQL Credentials for Applications
Multi-Tenant Secret Isolation
Encryption as a Service - Transit Encryption for Application Data
External Secrets Operator with OpenBao
CSI Secrets Store Driver with OpenBao
OpenBao Agent Sidecar Injector
Sealed Secrets Migration to OpenBao

Search test plan

Type at least 2 characters to search

Keyboard shortcuts

P
Go to prerequisites
T
Go to test cases
G
Go to glossary
D
Go to diagrams
J
Next card
K
Previous card
Enter
Open / close focused card
/
Open search
CtrlK
Open search modal
?
Show shortcuts
Esc
Close panel / blur search
/ open searchJ/K next / previous card? keyboard shortcutsEsc close panels