SNYK_TOKENin a CI/CD environment. After setting
SNYK_TOKENyou can get started using the CLI..
SNYK_CFG_ORG=myorgoverrides the default org option in
--usernameflag overrides this value. This is ignored in favor of local Docker binary credentials when Docker is present.
--passwordflag overrides this value. This is ignored in favor of local Docker binary credentials when Docker is present.
httpprotocol the CLI upgrades the requests to
SNYK_HTTP_PROTOCOL_UPGRADEis set to
0, API (and CLI) requests aimed at
httpURLs are not upgraded to
https. If the protocol is not set, the default behavior is to upgrade these requests from
https. This is useful, for example, for reverse proxies.
HTTPS_PROXYmeans that requests using
httpsprotocol use this proxy. The proxy itself doesn't need to use