Skip to content

Environment Variables

The following environment variables can be used with argocd CLI:

Environment Variable Description
ARGOCD_SERVER the address of the ArgoCD server without https:// prefix
(instead of specifying --server for every command)
eg. if served through an ingress with DNS
ARGOCD_AUTH_TOKEN the ArgoCD apiKey for your ArgoCD user to be able to authenticate
ARGOCD_OPTS command-line options to pass to argocd CLI
eg. ARGOCD_OPTS="--grpc-web"