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_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_PASSWORDare not required. Instead, you need to specify
CR_TOKEN- authentication token for DigitalOcean container registry.
CR_USERNAMEvalue is permanent and should be
_json_key, and the
CR_PASSWORDvalue should be the JSON key used to authenticate to google.
CR_BASEvariable should be set in this structure: ****
<your artifactory host>/artifactory/api/docker/<artifactory-repo-name>
/systemcheckendpoint to verify connectivity between the Broker Client, the Container Registry Agent, and your container registry.
/systemcheckendpoint of the broker client, it will use the
BROKER_CLIENT_VALIDATION_URLto make a request to the
/systemcheckendpoint 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_LEVELenvironment 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