CLI Commands

cnspec logout

Log out from Mondoo Platform and revoke the service account credentials.

Log out from Mondoo Platform and revoke the associated service account credentials, ensuring they can't be reused. Use this when you want to disconnect cnspec from a Mondoo Platform space or rotate credentials.

cnspec logout [flags]

Options

      --force   Force the logout without confirmation
  -h, --help    help for logout

Options inherited from parent commands

      --api-proxy string   Set the proxy for communications with Mondoo Platform API
      --auto-update        Enable automatic provider installation and update (default true)
      --config string      Set config file path (default $HOME/.config/mondoo/mondoo.yml)
      --log-level string   Set the log level: error, warn, info, debug, trace (default "info")
  -v, --verbose            Enable verbose output

SEE ALSO

On this page