API Credentials Management
You can manage and add credentials for Sophos Central Admin.
You must be a Super Admin to manage and add API credentials.
You can use Sophos APIs to manage users, endpoints, alerts, and security settings. You can also perform forensic analysis.
We use roles to allow you to control what API users can do. You assign a role to a set of API credentials when you create them. This controls what users using those credentials can do.
Roles with management permissions allow users to use APIs to do the following:
- Query, create, update, and delete users and user groups.
- Query and deal with alerts.
- Query endpoints and perform actions on them, such as run a scan.
- View and change endpoint protection global settings.
Roles with forensic permission allow users to use the API to run predefined or custom Live Discover queries on selected endpoints.
The first time you click API Credentials Management you must read and accept the terms and conditions of use.
To add credentials, do as follows:
- Go to Overview > Global Settings > API Credentials Management.
- Click Add Credential and give the credential a name and description.
Choose which role you want to assign. Choose from the following roles:
- Service Principal Super Admin: Users with this role can perform all API operations with full CRUD (Create Read Update Delete) capabilities and have access to queries.
- Service Principal Management: Users with this role can view and manage admins, roles, endpoints, and security policies but can't run or view queries.
- Service Principal Forensics: Users with this role can create, view, run, and delete Live Discover queries.
- Service Principal Read-Only: Users with this role can view all information in the account but can't add, modify, or remove information. They can't run Live Discover queries.
- Service Principal Active Directory Sync: Users with this role can perform Active Directory synchronization. They can't do anything else. You must use this role for synchronizing with Active Directory. We recommend giving API users and applications only the level of access they need. You should keep their access as specific as possible.
This generates the credential, together with a Client ID and a Client Secret.
Copy the Client ID and Client Secret.
You can only see the Client Secret once.
To delete an API credential, select it in API Credentials Management and click Delete.