Start here
Concepts
A short vocabulary. Every other page uses these words with exactly this meaning.
Organization#
An organization holds its own users, groups, assets, policies and audit trail. Nothing crosses from one organization to another: the database enforces it row by row. A fresh installation has one organization, main, which you can rename. Creating more is an Enterprise Standard function.
The installation sits above the organizations: its administrators manage the license, the installation settings, panic mode for the whole bastion and, in Enterprise, the organizations themselves.
Users, groups and roles#
- A user signs in with a password and a second factor, through a directory (LDAP or Active Directory) or through single sign-on.
- A group gathers users. Policies and roles can name groups instead of people. Groups can be filled by hand, by directory synchronization, by single sign-on claims or by SCIM.
- A role says what a user may administer in the console: assets, policies, sessions, audit. A role never opens a session by itself. An administrator without an access policy cannot connect to anything.
Assets, nodes and accounts#
- An asset is a target: a Linux or Windows server, a network device, a database, a Kubernetes cluster. It has an address, a platform and the protocols it offers, for example
ssh:22orrdp:3389. - A node is a folder of the asset tree. Policies can name a node, and then cover every asset below it, at any depth.
- An account is an identity on one asset:
root,Administrator, a database role. Its password or key is written to OpenBao and can never be read back, not even by an administrator. A reusable account describes an account once and gives it to many assets. - Tags such as
prodorteam=paymentshelp find assets across the tree.
Policies#
Nothing is allowed until a policy allows it.
| Policy | Decides |
|---|---|
| Access policy | who may open which accounts, with which actions (connect, upload, download, export), at which hours, from which networks. A deny wins over an allow. |
| Command policy | which commands and statements are blocked, flagged, let through or held for a reviewer. |
| Masking policy | which database columns are shown masked in the SQL workbench. |
Gateways and the control plane#
- The control plane holds the state: users, inventory, policies, audit. It decides each connection and serves the console and the API.
- A gateway carries the connections. The SSH gateway handles SSH, SFTP, SCP, Telnet, the web terminal and remote desktops (browser and native RDP clients). The database gateway handles PostgreSQL, MySQL, MariaDB, MongoDB, Redis, SQL Server, Oracle and the Kubernetes API.
- A gateway always asks the control plane before it opens anything. When the control plane cannot be reached, open sessions continue and new ones are refused.
Connections, sessions and tickets#
A connection is one opening of one account by one user. It carries the decision that allowed it, its recording, its commands and statements. From the console, a connection starts with a ticket: single use, bound to your console session and its second factor, valid a few seconds (five minutes for a native RDP file). From a database client or kubectl, it starts with a connection token valid 1, 8 or 24 hours.
Services around BastionOS#
| Service | Holds |
|---|---|
| PostgreSQL | everything except secrets and recordings |
| OpenBao | account secrets, directory and SSO secrets, encryption keys of recordings |
| S3 object store | encrypted recordings |
| Valkey or Redis | console sessions |
| NATS JetStream | events between services |
The installer starts all of them on one host. With Helm, you bring your own.