Authentication API

This page describes how to authentication against Lenses APIs.

Basic Authentication

For Basic Auth, Lenses supports HTTP basic auth.

Service Accounts

The authenticate with service accounts, Lenses supports Bearer tokens. Set the token in the HTTP header request.

curl -L \
  -X POST \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer MY_SERVICE_ACCOUNT_TOKEN'
  'https://api.example.com/api/v1/login'

Last updated

Logo

2024 © Lenses.io Ltd. Apache, Apache Kafka, Kafka and associated open source project names are trademarks of the Apache Software Foundation.