Skip to content

Users, groups and roles

The three pages in the Access group of the menu show the people who use your BastionXP, and what they are allowed to do on your servers.

  • Users lists the people.
  • Groups lists the groups that the people belong to.
  • Roles lists the roles, and the server logins that each role allows.

BastionXP does not keep its own list of people. Your identity provider, such as Okta, Microsoft Entra ID, Google Workspace or Keycloak, is the source. It sends its users and groups to BastionXP with SCIM. If you have not set up SCIM yet, these pages are empty. See SCIM integration.

These pages are for SSH access

Roles decide which login names a person may use on your servers when they get an SSH certificate. They do not change which people can sign in to the portal. Who can sign in to the portal is decided by the group pki-admins. See Admins and API tokens.

Users

The Users page lists the people that your identity provider has sent to BastionXP.

The Users page

Column What it shows
User ID The user's ID in BastionXP.
Email The user's email address.
Username The user's login name. BastionXP always allows this name as a login in the user's SSH certificates.
Created When BastionXP first learned about the user.

The page only shows the users. You add, change and remove them in your identity provider. A change there can take a few minutes to arrive. Choose Refresh to read the list again.

Groups

The Groups page lists the groups that your identity provider has sent to BastionXP. This is where you give each group its roles.

The Groups page

To give a group its roles:

  1. Choose the pencil next to the group.
  2. In Roles, choose one or more roles.

    Choose the roles of a group

  3. Choose Save.

Every member of the group now has these roles. A person who belongs to several groups has the roles of all of them.

You manage the members of a group in your identity provider, not in BastionXP.

Roles

A role is a name for a set of login names. When a person who has the role gets an SSH certificate, BastionXP puts the role's login names in the certificate as its principals. The person can then log in to a server as any of these names, if the server trusts your BastionXP.

The Roles page

For example, the role devs can have the logins deploy and ubuntu. A person in a group with the role devs gets an SSH certificate that allows deploy, ubuntu and their own username.

Add a role

  1. Choose Add role.
  2. Type the Role name, such as admins, devs or auditors.
  3. Under Logins, type a login name, such as root or alice, and press Enter. Repeat for every login.
  4. Choose Add role.

The Add a role dialog

Change or delete a role

Use the pencil at the end of the row to change the logins of a role. Use the bin to delete the role.

When you delete a role, the groups that had it lose it. The people in these groups can no longer log in with the logins of that role.

A change applies to the SSH certificates that BastionXP issues from then on. It does not change the certificates that people already have. These expire soon, because SSH certificates are short-lived.

Learn more

Roles based access control explains the roles and logins with a complete example, from the group in the identity provider to the SSH certificate.