P
Pact Broker / PactFlow CLI
Details
- Command
-
pact-broker - Docs
- https://docs.pact.io/pact_broker/client_cli/readme
Authentication
$ 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.