M2M Credentials
2
min

M2M Credentials

Overview:

Machine-to-Machine (M2M) credentials allow Organization Administrators to create and manage machine tokens from the Solsta Desktop Application.

These credentials can be used for:

  • CI/CD deployments
  • Authenticating the Solsta CLI for automated installs or updates on unattended machines

Note: Note that once the machines are created, they must be assigned a role for an object or be assigned to a team in order to access objects for installs or deployments.

The Manage Roles and Permissions article covers object-level permissions in more details.

Create/Manage Machine Token (M2M Credentials)

  1. Log in as Admin and go to Organization → Machine Tokens.
  2. Click Create Machine.
  3. Enter a Name and Description, then click OK.
  4. Copy the Client ID and Client Secret (the secret will not be shown again).
  5. Click OK.
  6. If needed, click Refresh to update the list.

Edit/Delete Machine Token

  1. Click the three dot menu
  2. Click edit or delete
  3. Click OK.

Assign a Role to a Machine

To grant a machine access, assign it a role at the Product or Environment level.

  • Viewer – Allows the machine to view, install, and update all environments within the product.
  • Admin – Required for CI/CD deployments and other administrative actions.

Note: Roles can also be assigned at the Environment level to restrict access to a specific environment.

Steps

  1. Navigate to the Product (or Environment).
  2. Click the Members tab.
  3. Click Add Product Role.
  4. Select Machine from the Type dropdown.
  5. Select the machine name.
  6. Choose Viewer or Admin.
  7. Click OK.