Skip to main content

Pre requisites

Permissions required to use the Acronis API with the plugin

The client (application) used by the plugin must have the following permissions:

- resource_management:read
- policy_management:read
- backup_management:read

To obtain these permissions, follow these steps:

1. Log in to the Acronis administration portal:
   https://cloud.acronis.com/

2. Go to:
   Settings → Applications → Register Application

3. Create a new application:
   - Type: Confidential
   - Name: PandoraFMS-Acronis (for example)
   - Redirect URI: leave blank

4. Copy the generated `client_id` and `client_secret`.

5. Assign permissions to the application:
   - In the **Permissions / Scopes** section, check:
```
     resource_management:read
     policy_management:read
     backup_management:read
     ```

6. Save the changes.

Test access
You can verify that authentication works with

curl -X POST https://<your-acronis-domain>/api/2/idp/token \
  -d “grant_type=client_credentials” \
  -d “client_id=<CLIENT_ID>” \
  -d “client_secret=<CLIENT_SECRET>”