github.com/pachyderm/pachyderm@v1.13.4/doc/docs/1.11.x/reference/pachctl/pachctl_auth_get-auth-token.md (about) 1 ## pachctl auth get-auth-token 2 3 Get an auth token that authenticates the holder as "username", or the currently signed-in user, if no 'username' is provided 4 5 ### Synopsis 6 7 Get an auth token that authenticates the holder as "username"; or the currently signed-in user, if no 'username' is provided. Only cluster admins can obtain an auth token on behalf of another user. 8 9 ``` 10 pachctl auth get-auth-token [username] [flags] 11 ``` 12 13 ### Options 14 15 ``` 16 -h, --help help for get-auth-token 17 -q, --quiet if set, only print the resulting token (if successful). This is useful for scripting, as the output can be piped to use-auth-token 18 --ttl string if set, the resulting auth token will have the given lifetime (or the lifetimeof the caller's current session, whichever is shorter). This flag should be a golang duration (e.g. "30s" or "1h2m3s"). If unset, tokens will have a lifetime of 30 days. 19 ``` 20 21 ### Options inherited from parent commands 22 23 ``` 24 --no-color Turn off colors. 25 -v, --verbose Output verbose logs 26 ``` 27