For the complete documentation index, see llms.txt. This page is also available as Markdown.

Service Accounts

This page describes service accounts 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 token used to authenticate and identify it.

You can also set:

  1. Description

  2. Resource name (must be unique across Lenses)

  3. Token expiry

  4. Regenerate the token

Token expiry can be 7, 30, 60, 90 days, 1 year, a custom expiry, or no expiry.

Create a Service Account

To create a service account, go to IAM → Service Accounts → New Service Account. After creation, assign the service account to one or more groups.

IAM Service Account

You can also manage service accounts via the CLI and YAML, for CI/CD automation.

API Calls

When calling the Lenses APIs, send the service account token in the Authorization header:

Last updated

Was this helpful?