How to test recovery for a shared admin account

Run a break-glass drill on a test account. Check who can get in when a key is missing, what happens to old sessions, and how long it takes to restore access.

Emergency access checklist

Use a disposable account with the same sign-in and recovery settings as the real account. Confirm that a separate administrator or provider recovery method works first. Keep the production account and its credentials out of the drill.

  1. Pick one failure. Treat one key as unavailable. Ask the backup operator to start from a fresh browser session without borrowing the missing key or using someone else's active session.
  2. Use the independent recovery route. Verify that the backup operator reaches the intended account and can perform a harmless action that requires the right role. If the route fails, stop and record what blocked it.
  3. Replace the test credential. Follow the provider's instructions. Check that a fresh sign-in accepts the replacement and rejects the old credential. Separately check existing sessions, linked apps and any tokens the affected role can issue. Apply the provider's revocation controls where needed and retest.
  4. Record the result. Note the backup role, elapsed time, whether the old credential was rejected, and which sessions ended. If the account protects encrypted data, check that you can restore the data as a separate step. Keep credentials and recovery codes out of the record.

Open the printable recovery worksheet

For an Entra emergency account, follow Microsoft's emergency-access guidance and use your own approved recovery procedure.

Try the tested Keycloak example

In a local Keycloak realm, we used KeySigner for a disposable user's one-time code. Keycloak rejected the old code and accepted the replacement. Existing sessions stayed active until the separate administrator ended them. Use the example to practice the checks, then rehearse the authentication method your account actually uses.

Run the Keycloak one-time-code drill · Watch the walkthrough · Read the test result

Check a two-of-three approval rule

With two of three independent keys required, one missing key leaves two available approvals. Preview that case, then check that one approval alone fails. The preview only evaluates a sample policy. On a test account, verify that the provider accepts the real credential and that the actual replacement flow enforces its recovery rule before relying on it.

Preview an approval rule

Run a drill with us

Tell us which test account you'd like to rehearse on and what happens today if its usual operator is unavailable. Share the provider and setup, and keep account identifiers and credentials private.

Ask about a pilot