mondoo_auth_create-service-account
mondoo auth create-service-accountβ
Generates a service credentials for an client in your space
Synopsisβ
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 ACOUNTS 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]
Optionsβ
-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
SEE ALSOβ
- mondoo auth - Manage Mondoo Client authentication state