Service Keys

Arize supports service keys which are designed for automated services and applications that need to persist beyond individual users. Service keys are tied to bot users rather than human users, ensuring they continue to work even if the original creator leaves the organization. Admins and Members can create service keys with permissions equal to or below their own access level.

Example of Service Keys

If an Admin creates a service key for a data ingestion service that only needs access to Space A, the service key can be restricted to just that space—even if the Admin has access to multiple spaces. This follows the principle of least privilege for automated systems.

Create a Service Key

  1. Go to Space Settings → API Key.

  2. Click Generate Service Key.

  3. Set the permissions for the service key. You can only assign permissions equal to or below your current access level.

  4. Name your service key to identify its purpose (e.g., "Production Data Pipeline" or "QA Environment").

  5. Click Generate.

  6. Copy and save the key immediately. For security, the full key is shown only once during creation.

Important: Treat your service key like a password—store it somewhere secure and rotate it regularly.

Key Differences from User Keys

  • Persistence: Service keys remain active even if the creator leaves the organization

  • Restricted Permissions: Can be configured with limited permissions for specific use cases

  • Bot User Association: Each service key is tied to a bot user account rather than a human user

  • Organizational Continuity: Designed for long-running services and automation

Where You Can Use It

The same service key authenticates every Arize client and workflow:

  • pandas logger

  • Dataset uploads & validations

  • Experiments

  • Exports

  • GraphQL & REST endpoints

  • Anything supported by the Arize SDK v7.40.1+

Who Can Create Service Keys

  • Admins: Can create service keys with any permission level up to Admin access

  • Members: Can create service keys with permissions up to Member access level

  • Viewers: Cannot create service keys

Service keys inherit the permission restrictions of their creator—you cannot grant a service key more permissions than you currently have.

Last updated

Was this helpful?