Service Accounts
This page describes service accounts in Lenses.
Service accounts are intended for programmatic access to Lenses.
Each service account has a token used to authenticate and identify it.
You can also set:
Description
Resource name (must be unique across Lenses)
Token expiry
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.
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?

