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 PATH to the configuration file.
-e, --environment
Specify the ENVIRONMENT to use for this command. Overrides the default environment from configuration.
--no-colors
Disable colors in the output.
-t, --team
Specify the TEAM to 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.