github.com/argoproj/argo-cd@v1.8.7/docs/user-guide/commands/argocd_proj_role_create-token.md (about) 1 ## argocd proj role create-token 2 3 Create a project token 4 5 ### Synopsis 6 7 Create a project token 8 9 ``` 10 argocd proj role create-token PROJECT ROLE-NAME [flags] 11 ``` 12 13 ### Options 14 15 ``` 16 -e, --expires-in string Duration before the token will expire, eg "12h", "7d". (Default: No expiration) 17 -h, --help help for create-token 18 -i, --id string Token unique identifier. (Default: Random UUID) 19 -t, --token-only Output token only - for use in scripts. 20 ``` 21 22 ### Options inherited from parent commands 23 24 ``` 25 --auth-token string Authentication token 26 --client-crt string Client certificate file 27 --client-crt-key string Client certificate key file 28 --config string Path to Argo CD config (default "/home/user/.argocd/config") 29 --grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. 30 --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. 31 -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) 32 --insecure Skip server certificate and domain verification 33 --logformat string Set the logging format. One of: text|json (default "text") 34 --loglevel string Set the logging level. One of: debug|info|warn|error (default "info") 35 --plaintext Disable TLS 36 --port-forward Connect to a random argocd-server port using port forwarding 37 --port-forward-namespace string Namespace name which should be used for port forwarding 38 --server string Argo CD server address 39 --server-crt string Server certificate file 40 ``` 41 42 ### SEE ALSO 43 44 * [argocd proj role](argocd_proj_role.md) - Manage a project's roles 45