Docs
Live demo

Credentials

How Principal stores, rotates and delivers database passwords, kubeconfigs and Principal passwords.

On this page

Passwords, connections, kubeconfigs and connector tokens stay in OpenBao and never enter audit logs. Passwords return only on audited reveals (Security).

Swipe the screenshot sideways to see all of it, or tap it to open it full size.

Your access lists the accounts Principal made for you. Reveal shows the connection details.
  1. Reveal unmasks the passwords and connection strings of all records. Principal records each reveal in the audit log.
  2. An account: the target and your user name on it.
  3. Adopted (external): the account existed before Principal. Its password is not managed by Principal.

Database rotation#

Rotating invalidates the old password at once. On mid-change failure, the card tracks the state:

State Meaning and action
Rotation didn’t start
Target unreachable. Old password works.
Rotation not confirmed
Connection broke. Both stay stored and Check again tests which works.
Account missing
Apply rule to recreate (Principal-created) or restore on DB (adopted).
Adopted (external)
Password unknown. Rotation confirms first, then Principal manages it.

Kubernetes credentials#

Sign-in Behavior
Through Principal (Dex) (default)
kubelogin signs in via Dex. Tokens carry current Principal groups.
ServiceAccount
Creates a ServiceAccount with a 1-hour TokenRequest token (never token Secrets, naming the namespace if refused). Rotation verifies the new token before revoking the old.

Switching sign-in issues new kubeconfigs in the background, while applied rules keep binding the old subject until re-applied. Persistent failures appear in Needs attention.

Principal passwords#

Principal users hold a password for Principal-authenticated apps. Rotating or creating a reset link requires fresh second-factor confirmation when enrolled, since either grants sign-in without one. Organization policy sets length, expiry or disables it.

Where to manage it#

Your access, Identity details, Rotate, GET /identities/{id}/credentials, POST /identities/{id}/credentials/rotate, POST /identities/{id}/credentials/audit, GET /attention.

↑ ↓ to moveEnter to openEsc to close