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
Full OpenBao Backup Strategy

Set up a backup strategy combining Raft snapshots with configuration exports. Schedule automated backups to a local PVC with retention (keep last 30 snapshots). Includes snapshot verification.

Prerequisites checklist

Confirm these before running steps:

1Get current (raft) leader
bao operator raft list-peers
2Create a backup policy:
This policy grants read on sys/storage/raft/snapshot so the CronJob can later create a snapshot without using the root token.
bao policy write backup - <<'EOF'
path "sys/storage/raft/snapshot" {
  capabilities = ["read"]
}
EOF
Success! Uploaded policy: backup
3Create a periodic token for the backup job
bao token create -policy=backup -period=24h -orphan
Success! A token s.xxxx is created
4Store the backup token as a Kubernetes secret
Use the token of Step 3
oc create secret generic openbao-backup-token --from-literal=token=<backup-token> -n openbao
5Create the backup CronJob
manifest in Commands / YAML tab
This will create a CronJob object
6Run a test backup manually
oc create job --from=cronjob/openbao-backup test-backup -n openbao
7Verify the backup completed
oc logs job/test-backup -n openbao
Expected output:
Creating Raft snapshot...
Snapshot size: 88.0K
Copying snapshot to PVC...
Backup complete: /backups/openbao-snapshot-20260717-065251.snap
-rw------- 1 1000970000 1000970000 86.0K Jul 17 06:52 /backups/openbao-snapshot-20260717-065251.snap
8Export OpenBao configuration for disaster recovery documentation
bao secrets list -format=json > secrets-engines.json
bao auth list -format=json > auth-methods.json
bao policy list -format=json > policies.json
9Verify the snapshot is stored on the PVC
The retention the CronJob is following is 30 days >> ... tail -n +31 | xargs -r rm -f
Spin up a dummy pod to list the currently stored backups on the PVC
see Commands / YAML tab for the manifest
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