Check a database password change that was cut off after it was sent ("Check again"). Principal signs in to the target with the new password and, once the sessions that sent the change are gone, with the current one, and keeps the password that works. No password changes on the target.
Parameters
Identity ID (UUID)
Request body application/json · CredentialRotationCheckRequest
The credential to check
The target-local account whose password change to check. Omitted for the identity's own account.
Responses
What the check learned
CredentialRotationCheckResponse · 1 field
confirmed: the new password signs in, and Principal stores it. previous_confirmed: the change didn't take effect, the stored password signs in, and the new one was dropped. not_confirmed: Principal still can't tell. Both passwords stay. none: no password change waited for a check.
confirmedprevious_confirmed not_confirmed noneThe caller's roles do not grant the permission of the operation
The identity, the target or the target account link is not found
Nothing was checked, and both passwords stay. Principal can't prove that the PostgreSQL role is the instance the change was sent to (target.account_identity_mismatch or target.account_identity_unverified). The account is not on the target (rotation.account_missing, with the rule whose apply creates it again for an account Principal created). The last check of the MariaDB target's service account found privileges missing (policy.target_service_account_incomplete). Or changes to the target are paused (target_mutation_barrier).
Principal could not reach the target or the secret store (upstream.connection_failed)
Common errors: 400 401 413 429 503 504. They mean the same for every operation, see Errors.