Skip to content

CLI reference

Every bxp-cli command, with its flags, as the binary prints them with --help. For what the commands are for and how they fit together, see The BastionXP client.

Global flags

Flag Description
-h, --help Help for any command.
-v, --version The version of the binary.

Get certificates

Command Description
bxp-cli trust Trust a BastionXP CA: the first step on every machine
bxp-cli tls Create a key and get a TLS certificate for it
bxp-cli ssh Get an SSH certificate
bxp-cli renew Renew a server or SSH host certificate before it expires: no token, no login
bxp-cli acme Get and manage TLS certificates with ACME: no token, no login
  bxp-cli acme issue Get a TLS certificate
  bxp-cli acme renew Get a new certificate for the names of one that is due
  bxp-cli acme revoke Revoke the certificate
  bxp-cli acme rollover-key Replace the ACME account key
  bxp-cli acme deactivate Close the ACME account for good
bxp-cli scep Get, renew or fetch a TLS certificate over SCEP
  bxp-cli scep enroll Get a TLS certificate over SCEP
  bxp-cli scep renew Renew the certificate over SCEP: no challenge
  bxp-cli scep getcert Fetch a certificate the CA issued before

Generated from bxp-cli version dev.