CLI

Configuration

Environment variables and file locations.

VariableDescription
PXB_CLIENT_ID / PXB_CLIENT_SECRETCredentials for pxb auth
PXB_PROFILEProfile to use when --profile isn't given
PXB_BASE_URLDefault API host for pxb auth
PXB_CONFIG_DIRWhere config lives (default ~/.pxb)
PXB_SECRET_BACKENDSet to file to bypass the OS keychain
NO_COLORDisable coloured output
PathContents
~/.pxb/config.jsonNon-secret metadata, mode 0600
~/.pxb/secrets.jsonSecrets, only when no keychain is available

Profiles keep environments apart:

pxb auth --profile staging --base-url https://staging.pxb.app
pxb customer list --profile staging
pxb profiles

In your terminal: pxb help config