bxp access check¶
Show which access rules match a person, and what they may get.
Usage¶
Show which rules of "access:" in the configuration match a person with
these groups, and what they may then get: whether they may log in, their
SSH principals, their TLS certificate, and whether they are an admin.
It reads only the configuration, as the server would after a reload. It
does not ask the identity provider or the directory which groups the
person is in: give them with --group, as they arrive at login (OIDC: the
groups claim, e.g. Entra group IDs; LDAP: the group's name or its DN).
Usage:
bxp access check [flags]
Examples:
bxp access check --user [email protected] --group linux-users --group dba
bxp access check --login ldap --user alice --group "Domain Admins"
Flags:
--format string text, or json for scripts and bug reports (default "text")
--group stringArray a group they are in (repeat for more)
-h, --help help for check
--login string oidc or ldap: whose profiles they get for themselves (default: the one set up)
--user string the person's name, as they log in, e.g. [email protected]
Global Flags:
--config string path to the configuration file (default "bastionxp-ca.yaml")
Parent command: bxp access