github.com/argoproj/argo-cd@v1.8.7/docs/user-guide/commands/argocd_login.md (about) 1 ## argocd login 2 3 Log in to Argo CD 4 5 ### Synopsis 6 7 Log in to Argo CD 8 9 ``` 10 argocd login SERVER [flags] 11 ``` 12 13 ### Options 14 15 ``` 16 -h, --help help for login 17 --name string name to use for the context 18 --password string the password of an account to authenticate 19 --sso perform SSO login 20 --sso-port int port to run local OAuth2 login application (default 8085) 21 --username string the username of an account to authenticate 22 ``` 23 24 ### Options inherited from parent commands 25 26 ``` 27 --auth-token string Authentication token 28 --client-crt string Client certificate file 29 --client-crt-key string Client certificate key file 30 --config string Path to Argo CD config (default "/home/user/.argocd/config") 31 --grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. 32 --grpc-web-root-path string Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root. 33 -H, --header strings Sets additional header to all requests made by Argo CD CLI. (Can be repeated multiple times to add multiple headers, also supports comma separated headers) 34 --insecure Skip server certificate and domain verification 35 --logformat string Set the logging format. One of: text|json (default "text") 36 --loglevel string Set the logging level. One of: debug|info|warn|error (default "info") 37 --plaintext Disable TLS 38 --port-forward Connect to a random argocd-server port using port forwarding 39 --port-forward-namespace string Namespace name which should be used for port forwarding 40 --server string Argo CD server address 41 --server-crt string Server certificate file 42 ``` 43 44 ### SEE ALSO 45 46 * [argocd](argocd.md) - argocd controls a Argo CD server 47