API Tokens
This screen helps you copy and re-generate your API tokens. There are two types of API tokens you can use:
The read only token for anything that needs to download pacts. It should be used for a developer's machine.
The read-write token for anything required to publish pact files or verification results. It should only be used by your CI when publishing pacts and verification results.
Buttons
- The Copy button allows you to copy the token values without displaying them.
- You can also copy the value as
- unix formatted environment variables
- Windows formatted environment variables
- PowerShell formatted environment variables
- cURL requests
- fetch requests
- The Regenerate button allows you to generate a new value for that token.
System Accounts​
You can also access the API tokens for any System Accounts for which you have access. To see the tokens, you will need the appropriate system_account:manage
or system_account:read
permissions.