Service Accounts
Service accounts are special accounts designed for automated systems and integrations that interact with the RAMP API. Unlike regular user accounts, service accounts are not tied to individual people and are intended for machine-to-machine communication.
Required role: Administrator
Accessing Service Accounts
Section titled “Accessing Service Accounts”Navigate to Administration > Service Accounts (or /_admin/service-accounts).
When to Use Service Accounts
Section titled “When to Use Service Accounts”Service accounts are appropriate for:
| Use Case | Example |
|---|---|
| CI/CD pipelines | Automated deployment tools that create or update instances in RAMP |
| Monitoring systems | External monitoring tools that read instance status or execution progress |
| Integration platforms | Middleware that connects RAMP with ticketing systems, CMDB, or orchestration tools |
| Scheduled automation | Cron jobs or scheduled tasks that interact with the RAMP API |
| Reporting tools | Business intelligence tools that pull data from RAMP for dashboards |
Creating a Service Account
Section titled “Creating a Service Account”- Click Create Service Account.
- Enter a Name that clearly identifies the account’s purpose (e.g., “Jenkins CI Pipeline”, “Monitoring Service”, “CMDB Integration”).
- Optionally add a Description explaining what the service account is used for and who maintains it.
- Click Create.
- RAMP generates API credentials for the service account. Copy and store these credentials securely.
Assigning Roles
Section titled “Assigning Roles”Service accounts use the same role system as regular users. Assign only the roles needed for the integration’s functionality.
- Click on the service account.
- Open the Roles tab.
- Click Add Role.
- Select the appropriate application role.
- Click Assign.
Recommended Role Assignments
Section titled “Recommended Role Assignments”| Integration Type | Recommended Roles |
|---|---|
| Read-only monitoring | GlobalInstanceObserver, GlobalTemplateViewer |
| Instance creation | GlobalInstanceEditor or GlobalInstanceExecutor |
| Full automation | GlobalInstanceHead (use carefully) |
| Template management | GlobalTemplateEditor |
| Reporting | GlobalTemplateViewer, GlobalInstanceObserver |
Managing Service Accounts
Section titled “Managing Service Accounts”Editing a Service Account
Section titled “Editing a Service Account”- Click on the service account in the list.
- Modify the name or description.
- Click Save.
Regenerating Credentials
Section titled “Regenerating Credentials”If credentials are compromised or lost:
- Click on the service account.
- Click Regenerate Credentials.
- Copy and store the new credentials securely.
- Update all systems that use the old credentials.
Deactivating a Service Account
Section titled “Deactivating a Service Account”To temporarily disable a service account without deleting it:
- Click on the service account.
- Toggle the status to Inactive.
- Click Save.
Deactivated service accounts cannot authenticate. All API calls using their credentials will be rejected.
Deleting a Service Account
Section titled “Deleting a Service Account”- Click on the service account.
- Click Delete.
- Confirm the deletion.
API Authentication
Section titled “API Authentication”Service accounts authenticate with the RAMP API using their credentials to obtain a JWT token. This token is then included in the Authorization header of subsequent API requests.
Authorization: Bearer <token>The authentication flow is:
- Send credentials to the authentication endpoint.
- Receive a JWT token.
- Include the token in all API requests.
- Refresh the token before it expires.
Best Practices
Section titled “Best Practices”- One account per integration — create separate service accounts for each system or integration. This makes it easy to revoke access for a specific integration without affecting others.
- Descriptive names — name service accounts after their purpose, not the person who set them up.
- Document owners — add the responsible team or person in the description so others know who to contact.
- Rotate credentials — periodically regenerate credentials as a security measure, especially for accounts with broad permissions.
- Monitor usage — review service account activity periodically to ensure they are being used as intended.
- Least privilege — assign only the minimum roles needed for the integration to function.