Chaitanya Sreenivas
09/14/2023, 11:26 AM"test:publish": "pact-broker publish /pacts --consumer-app-version=\"$(npx absolute-version)\" --auto-detect-version-properties --broker-base-url=<https://ysi5tc076m.execute-api.eu-west-2.amazonaws.com:443> --broker-username user --broker-password passxx"
Yousaf Nabi (pactflow.io)
pact js trial version brokerCould you clarify? Regarding usage of the pact-cli, see our docs If it is is the OSS Pact Broker • https://github.com/pact-foundation/pact-broker-docker • https://github.com/pact-foundation/pact-broker It only supports basic auth mechanisms.
Basic auth parameters can be specified using theIf it is a Pactflow.io brokerand$PACT_BROKER_USERNAME
environment variables, or the$PACT_BROKER_PASSWORD
or-u
and--broker-username
or-p
parameters.--broker-password
Authentication using a bearer token can be specified using the environment variableor the$PACT_BROKER_TOKEN
or-k
parameters. This bearer token authentication is used by PactFlow and is not available in the OSS Pact Broker, which only supports basic auth.--broker-token
Chaitanya Sreenivas
09/14/2023, 1:48 PMusing--broker-toke I was able to connect thanks
Matt (pactflow.io / pact-js / pact-go)