P

Pact CLI

CLI discovered

Details
Command
pact
Docs
https://docs.pact.io/implementation_guides/cli/pact-cli
Authentication
PactFlow API token bearer discovered Get token ↗
$ pact broker ... --broker-token $PACT_BROKER_TOKEN

Sign in to your PactFlow tenant at https://{account}.pactflow.io, then open Settings → API Tokens in the PactFlow UI and create or copy a token. Use a read-only token for GET access and a read-write token for non-GET operations. The product docs note that to publish or verify contracts you use one of the bearer tokens from the API Tokens section of your Contract Testing settings page; the Developer API docs call this a Bearer token included as Authorization: Bearer {API_TOKEN}. See API Tokens, Getting Started with Swagger Contract Testing, and Authentication and Authorization.