Running your Universal Broker client
How to run the Universal Broker client, including the deployment and credential prerequisites you need
Run your Broker deployment on your container engine (Docker Compose or Kubernetes cluster).
If you are not using app.snyk.io (for example, if you log into https://app.eu.snyk.io), you will need to target the Broker server for your region by using the following in your Docker run command -e BROKER_SERVER_URL=https://broker.region.snyk.io \ . For details, visit Broker URLs.
Docker Compose example
Create a
.envfile with required and optional configuration variables:
DEPLOYMENT_ID=<your-deployment-id>
CLIENT_ID=<your-client-id>
CLIENT_SECRET=<your-client-secret>
PORT=8000
# Add any credentials your integrations need, for example:
MY_GITHUB_TOKEN=<secret>
# Optional: override for EU or other environments
BROKER_SERVER_URL=https://broker.eu.snyk.io
BROKER_DISPATCHER_BASE_URL=https://api.eu.snyk.ioCopy this example file to
docker-compose.yaml
Run
docker compose up -dto start the containers.
Helm
A Helm chart is available for use on Kubernetes clusters. Refer to the README for details.
Ensure that you first pull the Helm chart:
helm pull oci://registry-1.docker.io/snyk/snyk-universal-broker
Then run:
Secret Values
Integration types may require different SCM-specific authentication parameters. When setting your credential reference environment variable in your Broker deployment you may wish to consult the following list of secret values and their required formats:
Artifactory
Artifactory URL
<username>:<password>@<yourdomain.artifactory.com>/artifactory
Azure Repos
Azure Repos Token
Azure Repos PAT
Bitbucket Server
Bitbucket Password
Alphanumeric password
Bitbucket PAT
Bitbucket Personal Access Token
Container Registry
Azure CR Password
Alphanumeric password
Artifactory CR Password (ACR)
Alphanumeric password
Docker Hub Password
Alphanumeric password
DigitalOcean CR Token
DigitalOcean PAT
Amazon Elastic Container CR Role ARN (ECR)
AWS IAM role ARN
Google Cloud Container (GCR) Password
Alphanumeric password
GitHub CR Password
Alphanumeric password
GitLab CR Password
Alphanumeric password
Google Artifact CR Password
Alphanumeric password
Harbor CR Password
Alphanumeric password
Nexus CR Password
Alphanumeric password
Quay CR Password
Alphanumeric password
Github
Github Token
Github Personal Access Token
Github Enterprise
Github Token
Github Personal Access Token
Github Server App
Github App Client ID
Github App Client ID
Github Cloud App
Github App Client ID
Github App Client ID
Gitlab
Gitlab Token
Gitlab Personal Access Token
Jira
Jira Password
Alphanumeric password
Jira PAT
JIRA Personal Access Token
Nexus
Nexus Base URL
https://<username>:<password>@<your.nexus.hostname>
Last updated
Was this helpful?

