-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add 'proj role list-tokens' command
Signed-off-by: Tim Etchells <tetchell@redhat.com>
- Loading branch information
Showing
4 changed files
with
109 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## argocd proj role list-tokens | ||
|
||
List tokens for a given role. | ||
|
||
### Synopsis | ||
|
||
List tokens for a given role. | ||
|
||
``` | ||
argocd proj role list-tokens PROJECT ROLE-NAME [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for list-tokens | ||
-u, --unixtime Print timestamps as Unix time instead of converting. Useful for piping into delete-token. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--auth-token string Authentication token | ||
--client-crt string Client certificate file | ||
--client-crt-key string Client certificate key file | ||
--config string Path to Argo CD config (default "/home/user/.argocd/config") | ||
--grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. | ||
--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. | ||
-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) | ||
--insecure Skip server certificate and domain verification | ||
--logformat string Set the logging format. One of: text|json (default "text") | ||
--loglevel string Set the logging level. One of: debug|info|warn|error (default "info") | ||
--plaintext Disable TLS | ||
--port-forward Connect to a random argocd-server port using port forwarding | ||
--port-forward-namespace string Namespace name which should be used for port forwarding | ||
--server string Argo CD server address | ||
--server-crt string Server certificate file | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [argocd proj role](argocd_proj_role.md) - Manage a project's roles | ||
|