# The ServicePrincipal object

## Attributes

- `active` (boolean, Public Preview)
  If this user is active
- `applicationId` (string, uuid, Public Preview)
  UUID relating to the service principal
- `displayName` (string, Public Preview)
  String that represents a concatenation of given and family names.
  Example: `etl-service`
- `entitlements` (array of object, Public Preview)
  Entitlements assigned to the service principal. See [assigning entitlements](https://docs.databricks.com/administration-guide/users-groups/index.html#assigning-entitlements) for a full list of supported values.
  - `display` (string, Public Preview)
  - `primary` (boolean, Public Preview)
  - `$ref` (string, Public Preview)
  - `type` (string, Public Preview)
  - `value` (string, Public Preview)
- `externalId` (string, Public Preview)
  Constraints: `<= 64 characters`
- `groups` (array of object, Public Preview)
  - `display` (string, Public Preview)
  - `primary` (boolean, Public Preview)
  - `$ref` (string, Public Preview)
  - `type` (string, Public Preview)
  - `value` (string, Public Preview)
- `id` (string, int64, Public Preview)
  Databricks service principal ID.
- `roles` (array of object, Public Preview)
  Corresponds to AWS instance profile/arn role.
  - `display` (string, Public Preview)
  - `primary` (boolean, Public Preview)
  - `$ref` (string, Public Preview)
  - `type` (string, Public Preview)
  - `value` (string, Public Preview)
- `schemas` (array of string, Public Preview)
  The schema of the List response.
  Possible values:
  - `SERVICE_PRINCIPAL_SCHEMA_UNSPECIFIED`
  - `urn:ietf:params:scim:schemas:core:2.0:ServicePrincipal`

## Example

```json
{
  "active": true,
  "applicationId": "string",
  "displayName": "etl-service",
  "entitlements": [
    {
      "display": "string",
      "primary": true,
      "$ref": "string",
      "type": "string",
      "value": "string"
    }
  ],
  "externalId": "string",
  "groups": [
    {
      "display": "string",
      "primary": true,
      "$ref": "string",
      "type": "string",
      "value": "string"
    }
  ],
  "id": "string",
  "roles": [
    {
      "display": "string",
      "primary": true,
      "$ref": "string",
      "type": "string",
      "value": "string"
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:ServicePrincipal"
  ]
}
```


