nais auth print-access-token
nais auth print-access-token [flags]
Aliases
nais auth token
Print the last fetched access token
Options
-n,--nais- Print token from login.nais.io instead of gcloud. Should be used if you logged in using “nais login –nais”.
Inherited options
--config- Specify the
PATHto the configuration file. -e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-t,--team- Specify the
TEAMto use for this command. Overrides the default team from configuration. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.