BROKER_TOKEN
- The Snyk Broker token, obtained from your Container registry integration (provided by Snyk support).BROKER_CLIENT_URL
- The URL of your broker client (including scheme and port) used by the container registry agent to call back to Snyk through the brokered connection, for example: "http://my.broker.client:8000".CR_AGENT_URL
- The URL of your container registry agent, to which the broker client will route the requests, for example: "http://my.container-registry-agent".CR_TYPE
- The container registry type as listed in supporter registries, for example: "docker-hub", "gcr", "artifactory-cr".CR_BASE
- The hostname of the container registry api to connect to, for example: "cr.host.com".CR_USERNAME
- The username for authenticating to container registry api.CR_PASSWORD
- The password for authenticating to container registry api.CR_TOKEN
- Authentication token for DigitalOcean container registry.PORT
- The local port at which the Broker client accepts connections. Default is 7341.CR_USERNAME
and CR_PASSWORD
are not required. Instead, you need to specify CR_TOKEN
- authentication token for DigitalOcean container registry.CR_USERNAME
value is permanent and should be _json_key
, and the CR_PASSWORD
value should be the JSON key used to authenticate to google.CR_BASE
variable should be set in this structure: **** <your artifactory host>/artifactory/api/docker/<artifactory-repo-name>
"sts:AssumeRole"
/systemcheck
endpoint to verify connectivity between the Broker Client, the Container Registry Agent, and your container registry.BROKER_CLIENT_VALIDATION_URL=<agent-url>/systemcheck
/systemcheck
endpoint of the broker client, it will use the BROKER_CLIENT_VALIDATION_URL
to make a request to the /systemcheck
endpoint Container Registry Agent's, with the credentials provided to the broker client. The Container Registry Agent will then make a request to the container registry to validate connectivity.LOG_LEVEL
environment variable can be set to the desired level (debug/info/warn/error), in order to change the level of the Container Registry Agent and Broker Client logs.DEBUG=*
environment variable. This allows printing the logs of the Node Debug package. The Debug package is used by several packages in the Container Registry Agent, among them is the Needle package, which is used for making HTTP requests. Printing debug logs specifically from Needle can be done by setting DEBUG=needle
.