mondoo_client_generate-credentials
mondoo client generate-credentials
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 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 client generate-credentials [flags]
Options
-h, --help help for generate-credentials
-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 client - Subcommand for managing service accounts