Skip to main content

mondoo auth create-service-account

Generates a service credentials for an client in your space


Generates new service credentials for your client. The new client can use the private key for further communication.

NOTE: By default, clients do not have the permission to generate credentials for new clients. Elevate permissions to Gateway Agent under the SETTINGS/SERVICE ACCOUNTS page in Mondoo Platform.

Generates a new service credential:

$ mondoo client generate-credentials

Pipe the token into a yaml file:

$ mondoo client generate-credentials -o yaml > client-creds.json

Pipe the token into a json file:

$ mondoo client generate-credentials -o json > client-creds.json
mondoo auth create-service-account [flags]


  -h, --help            help for create-service-account
-o, --output string Output format

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