Prerequisites for Universal Broker
Before installing the Universal Broker snyk-broker-config
CLI tool, be sure you have met the following prerequisites. If you need help, contact your Snyk team.
Client machine system requirements: one CPU and 256 MB of RAM.
Network access that is allowed by any firewalls installed on your network: an outbound TLS (443) to https://broker.snyk.io AND
https://api.snyk.io
or your regional Broker URL.A Snyk account and your personal Snyk API token; you cannot use a service account.
Tenant admin permissions.
A new Snyk Broker Admin Organization created in the Group of your choice in your Tenant, not a personal Organization. See Create an Organization for details.
An SCM token or password. See Obtain the tokens required to set up Snyk Broker. Snyk Broker does not support authentication with the mTLS method.
Node 18 or higher installed.
Docker configured to pull images from Docker Hub in order to install with Docker.
Snyk recommends that you add SNYK_TOKEN and TENANT_ID in your terminal session environment variables now, using the following commands:
export SNYK_TOKEN=xxxx (Linux/Mac)
export TENANT_ID=yyyy (Linux/Mac)
set SNYK_TOKEN=xxxx (Windows)
set TENANT_ID=yyyy (Windows)
See Obtain and use your Snyk API token for instructions on finding your SNYK_TOKEN. To find your TENANT_ID:
Log into the Snyk UI.
Click your Tenant name. If you are a member of multiple Tenants, navigate to the Tenant where the Universal Broker will be configured.
Copy the Tenant ID from the URL. The format is
https://app.snyk.io/tenant/1234abcd-1234-abcd-5678-1234abcd5678
.
When installing, you must add a command in your script to set the Broker server URL for the region where your data is hosted. For the commands and URLs to use, see Broker URLs.
Example: -e BROKER_SERVER_URL=https://broker.eu.snyk.io
.
If you are using a region other than SNYK US-01, run the following as applicable after you install the CLI tool and before you create your first connection:
export SNYK_API_HOSTNAME=https://api.REGION.snyk.io
(Linux and Mac).
set SNYK_API_HOSTNAME=https://api.REGION.snyk.io
(Windows)
Last updated
Was this helpful?