Security
A bastion should be the most secure machine on your network.
It holds the keys to everything else. Here are the principles behind its design, and what they change for you in practice.
When in doubt, deny.
A gateway that gets no decision from the control plane refuses the connection. An unreachable database blocks new connections instead of letting them through unchecked.
Rules follow the same logic: a deny always wins over an allow.
Nobody sees the secrets.
Account passwords, keys and tokens live in OpenBao. They can be written but never read back from the console.
When a connection opens, the gateway receives the secret wrapped, valid once and for a few seconds. The user never has access to it, and the gateway doesn't write it to disk.
Every link is encrypted and authenticated.
Gateways and the control plane recognize each other through mutual TLS, with service identities renewed automatically. The LDAP directory requires TLS. Databases can be given a client certificate per organization.
Every session recording is encrypted with its own key.
A log that cannot be tampered with.
Every audit event is linked to the previous one, and the chain is signed. Deleting or changing a line breaks the chain, and it shows.
Export to your monitoring tool keeps a copy outside the bastion.
Sealed-off organizations.
Several organizations can share one installation. Separation is enforced in the application, then checked a second time by the database itself.
A second factor for everyone.
On by default for every user, administrators included. TOTP app or security key. SSH connections ask for it too.
A license never switches security off.
The license is a signed file, checked on site without calling any server. It counts assets: if you go over, you get 7 days of grace, then only additions are refused. Missing, invalid or expired, it never cuts access, sessions, the second factor, audit or break-glass access.
Enterprise modules are separate services that cannot disable a core security feature.
Nothing leaves your premises.
BastionOS works without Internet access. No recording, no secret, no host name and no address ever leaves your network.
A monitored build pipeline.
Every change goes through static analysis, dependency vulnerability scanning, secret detection and image scanning. Images don't run as root, and the offline bundle is signed.
Panic mode
Shut everything, right now.
Someone in charge can freeze part of the installation or seal it entirely. Once sealed, it refuses every new connection and cuts the sessions in progress. Sealing can also extend to the OpenBao dedicated to BastionOS.
To reopen, you need a number of key holders set in advance, for example 3 out of 5. Every action is written to the log.