Use this method to rotate/change your broker token for any reason
- Self-enable broker via API
- Retrieve broker client token
- Enable Snyk broker permissions in Github Enterprise
- Setup orgs
- Set up integrations for each orgs
- Set up brokers
- Import projects
- Figure out when to rotate the token – use rotation & switching API endpoints
- Provision a new broker token
- Switch to the new broker token
- Re-test a project successfully and see logs in the new broker coming through
- Get all org IDs (only group admin)
- Add new integration
- Update integration to enable broker
- Repeat for all other orgs & get broker token for each
- Broker provisioning API
- Broker token switching
- Note: needs admin permissions