CnspecCloud

To run the cnspec Packer plugin in registered mode, you need a Base64-encoded Mondoo Platform service account.

  1. Navigate to the space in which you want to create a service account.

  2. In the left navigation, select Settings, then select the Service Accounts tab.

  3. Select the purple plus sign to add a new service account.

  4. Provide a Name and (optionally) a Description.

  5. Under Permissions, select Agent, then select Generate Service Account.

  6. Copy the Base64-encoded credentials to your clipboard.

  7. In the terminal where you'll run Packer, export the credentials:

    export MONDOO_CONFIG_BASE64=<paste Base64-encoded token>