github.com/argoproj/argo-cd@v1.8.7/docs/user-guide/commands/argocd_cert.md (about) 1 ## argocd cert 2 3 Manage repository certificates and SSH known hosts entries 4 5 ### Synopsis 6 7 Manage repository certificates and SSH known hosts entries 8 9 ``` 10 argocd cert [flags] 11 ``` 12 13 ### Examples 14 15 ``` 16 # Add a TLS certificate for cd.example.com to ArgoCD cert store from a file 17 argocd cert add-tls --from ~/mycert.pem cd.example.com 18 19 # Add a TLS certificate for cd.example.com to ArgoCD via stdin 20 cat ~/mycert.pem | argocd cert add-tls cd.example.com 21 22 # Add SSH known host entries for cd.example.com to ArgoCD by scanning host 23 ssh-keyscan cd.example.com | argocd cert add-ssh --batch 24 25 # List all known TLS certificates 26 argocd cert list --cert-type https 27 28 # Remove all TLS certificates for cd.example.com 29 argocd cert rm --cert-type https cd.example.com 30 31 # Remove all certificates and SSH known host entries for cd.example.com 32 argocd cert rm cd.example.com 33 34 ``` 35 36 ### Options 37 38 ``` 39 -h, --help help for cert 40 ``` 41 42 ### Options inherited from parent commands 43 44 ``` 45 --auth-token string Authentication token 46 --client-crt string Client certificate file 47 --client-crt-key string Client certificate key file 48 --config string Path to Argo CD config (default "/home/user/.argocd/config") 49 --grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. 50 --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. 51 -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) 52 --insecure Skip server certificate and domain verification 53 --logformat string Set the logging format. One of: text|json (default "text") 54 --loglevel string Set the logging level. One of: debug|info|warn|error (default "info") 55 --plaintext Disable TLS 56 --port-forward Connect to a random argocd-server port using port forwarding 57 --port-forward-namespace string Namespace name which should be used for port forwarding 58 --server string Argo CD server address 59 --server-crt string Server certificate file 60 ``` 61 62 ### SEE ALSO 63 64 * [argocd](argocd.md) - argocd controls a Argo CD server 65 * [argocd cert add-ssh](argocd_cert_add-ssh.md) - Add SSH known host entries for repository servers 66 * [argocd cert add-tls](argocd_cert_add-tls.md) - Add TLS certificate data for connecting to repository server SERVERNAME 67 * [argocd cert list](argocd_cert_list.md) - List configured certificates 68 * [argocd cert rm](argocd_cert_rm.md) - Remove certificate of TYPE for REPOSERVER 69