Break-glass admins¶
A break-glass admin is an administrator who can sign in to the portal with a password and a second factor, even when your organization requires single sign-on. Break-glass admins are the way in when your identity provider does not work.
The name comes from the red box with the sign "in case of emergency, break glass". You choose break-glass admins in advance. You hope that nobody has to use them.
Why you need them¶
When you require single sign-on, every administrator signs in through your identity provider. That is the secure and convenient way. But your identity provider can fail. For example:
- the client secret that BastionXP uses has expired,
- somebody deleted or changed the BastionXP app in the identity provider,
- the identity provider has an outage, or
- you move to another identity provider, and the old one is already off.
If that happens, and nobody can sign in, nobody can fix the single sign-on settings.
To prevent this, two kinds of administrators never depend on your identity provider:
- the owners of your organization. They can always sign in with a password. On a self-hosted BastionXP, the owner is the administrator whose address is the
emailsetting of the configuration file, and - the break-glass admins, up to two, whom an owner chooses.
Keep at least one break-glass admin ready. Then the loss of one owner's password and second factor does not lock you out.
Who can be a break-glass admin¶
A break-glass admin must:
- be known to BastionXP, which means that your identity provider has synchronized them with SCIM, and
- be an active member of the group
pki-admins.
You can have at most two break-glass admins. An owner cannot be a break-glass admin, because an owner can already sign in with a password.
Only an owner can add or remove break-glass admins. Other administrators who open the page see the message Owners only.
Add a break-glass admin¶
- Sign in as an owner.
-
Choose Settings at the bottom of the menu, and then Break-glass admins.
-
Choose Add admin.
-
Type the Email address of the administrator, and choose Add admin.
-
The portal asks for your second factor again, because this is a sensitive action. Give it. See Sensitive actions ask for your second factor again.
The portal then shows a setup link for the new break-glass admin. Send the link to them in a safe way. With the link, they choose a password and set up a second factor, in the same way as the first administrator did. See Set up the first administrator.
The link works once, and it is valid for 24 hours. The portal shows it only now. If the link expires before the person uses it, add the same email address again. The portal then shows a new link.
The list on the page shows each break-glass admin and their state:
| State | What it means |
|---|---|
| Waiting for setup | The person has not used the setup link yet. They cannot sign in with a password. |
| Ready | The person has a password and a second factor. They can sign in. |
| No longer an admin | Your identity provider made the person inactive, or removed them from pki-admins. They cannot sign in until they are an administrator again. |
Remove a break-glass admin¶
Choose Remove next to the person, and confirm. You give your second factor again.
The person becomes an ordinary administrator again. BastionXP deletes their password, so that it cannot be used. If you add them again, they get a new setup link and choose a new password.
What happens when somebody signs in as a break-glass admin¶
A break-glass admin signs in like any administrator with a password. See Sign in with a password.
When an owner or a break-glass admin signs in with a password while single sign-on is required, BastionXP treats it as an emergency sign-in:
- It writes the event to the audit log with the severity
warning, and withbreak_glassset totruein the details. - It writes a warning to the server's log.
- In the cloud service, it sends an email to every owner of the organization. The email says who signed in, when, and from which network address.
These sign-ins should be rare. If you see one that you did not expect, find out who it was, and check the audit log. Consider an alert in your SIEM for events with break_glass set to true.
Good practices¶
- Choose break-glass admins who are reliable and who are reachable at any time.
- Use a different person for each break-glass admin, not the same person as an owner.
- Keep their passwords and recovery codes in a password manager that does not depend on your identity provider.
- Test the way in once, when you set it up, and after you change your identity provider. Sign in as the break-glass admin in a private browser window.

