Skip to main content

mondoo auth generate-api-access-token

Generates access token for your current Service Account Credentials

mondoo auth generate-api-access-token [flags]


      --expiresin int   duration in seconds that the access token is valid (default 60)
-h, --help help for generate-api-access-token
--no-expiration flag to indicate that the token should not expire

Options inherited from parent commands

      --config string      config file (default is $HOME/.config/mondoo/mondoo.yml)
--log-level string set log-level: error, warn, info, debug, trace (default "info")
-v, --verbose verbose output


  • mondoo auth - Manage Mondoo Client authentication state