Service Accounts

This page describes Service account in Lenses.

Service accounts are intended for programmatic access to Lenses.

Service accounts are assigned to groups. The groups inherit permissions from the roles assigned to the groups.

Each service account has a key that is used to authenticate and identify the service account.

In addition you can set:

  1. Description

  2. Resource name - Must be unique across Lenses.

  3. Key expiry

  4. Regenerate the key

Key expiry can be 7, 30, 60, 90 days, 1 year or a custom expiration or no expiration at all.

Creating a Service Account

To Create Service Account go to IAM->Service Accounts->New Service Account, once created you can then assign service accounts to groups.

IAM Service Account

You can also manage Users via the CLI and YAML, for integration in your CI/CD pipelines.

API Calls

When interacting with Lenses via APIs set the service account token as in the header:

Last updated

Was this helpful?