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

Configure the OIDC auth method to authenticate users via an external identity provider (Keycloak or DEX). Users log in through the IdP's web flow and receive an OpenBao token with policies mapped from OIDC claims and groups.

Prerequisites checklist

Confirm these before running steps:

1Enable the OIDC auth method
bao auth enable oidc
→ Success! Enabled oidc auth method at: oidc/
2Configure OIDC with the identity provider details
full example in the Commands / YAML tab
3Create a role mapping OIDC claims to policies
Defines which redirect URIs are allowed and which token claims become the OpenBao username and groups.
bao write auth/oidc/role/default \
  bound_audiences=openbao \
  allowed_redirect_uris=https://openbao.apps.<cluster name>/ui/vault/auth/oidc/oidc/callback \
  allowed_redirect_uris=http://localhost:8250/oidc/callback \
  user_claim=preferred_username \
  groups_claim=groups \
  policies=default \
  token_ttl=1h \
  token_max_ttl=24h
4Map OIDC groups to OpenBao policies via external groups
Ties the Keycloak group claim to an OpenBao identity group that carries policies.
Step 1 Read the OIDC mount accessor (needed to bind the alias to this auth method):
ACCESSOR=$(bao auth list -format=json | jq -r '."oidc/".accessor')
Step 2 Create an external identity group and attach the admin policy:
bao write identity/group/name/admins type=external policies=admin
Step 3 Read that group's ID:
GROUP_ID=$(bao read -field=id identity/group/name/admins)
Step 4 Create a group alias — name must match the Keycloak group (openbao-admins):
bao write identity/group-alias name=openbao-admins mount_accessor=$ACCESSOR canonical_id=$GROUP_ID
→ Users in Keycloak group openbao-admins get the admin policy on OIDC login
5Test OIDC login via the CLI
bao login -method=oidc role=default
→ Browser opens IdP login;
→ Log in with the user (bao-admin) and the password you set in PRE-10
→ Returns OpenBao token on success
6Test OIDC login via the UI
Open the OpenBao Route and select OIDC as the auth method
→ Login redirects to the IdP; token policies match group mapping
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