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).

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

Create Raft snapshots for backup purposes, restore from a snapshot on the same or different cluster, and automate snapshot scheduling using a Kubernetes CronJob. Raft snapshots capture the complete state of OpenBao including all secrets, policies, and configuration.

Prerequisites checklist

Confirm these before running steps:

1Get current (raft) leader
oc exec -it openbao-0 -n openbao -- bao operator raft leader
2Create a manual Raft snapshot
oc exec -it openbao-0 -n openbao -- bao operator raft snapshot save /tmp/backup.snap
3Copy the snapshot out of the pod
oc cp openbao-0:/tmp/backup.snap ./backup-$(date +%Y%m%d).snap -n openbao
4Verify the snapshot file
ls -la backup-*.snap
5Test restore on the same cluster
oc cp ./backup-$(date +%Y%m%d).snap openbao-0:/tmp/restore.snap -n openbao
oc exec -it openbao-0 -n openbao -- bao operator raft snapshot restore /tmp/restore.snap
6Verify data integrity after restore
oc exec -it openbao-0 -n openbao -- bao secrets list
oc exec -it openbao-0 -n openbao -- bao kv list secret/
7Deploy a CronJob for automated snapshots (manifest in Commands / YAML tab)
oc apply -f snapshot-cronjob.yaml -n openbao
8Trigger a one-off Job from the CronJob
oc create job --from=cronjob/openbao-snapshot test-snapshot -n openbao
oc wait --for=condition=complete job/test-snapshot -n openbao --timeout=120s
oc logs job/test-snapshot -n openbao
This should return Snapshot saved...
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