> For the complete documentation index, see [llms.txt](https://docs.lenses.io/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lenses.io/latest/devx/5.5/deployment/configuration/iam.md).

# Identity & Access Management

This page describes how to configure Lenses IAM to secure access to you Kafka cluster.

IAM (Identity and Access Management) in Lenses is controlled by Groups. Users and service accounts belong to groups. Permissions are assigned to groups and apply to the users and service accounts in those groups.

Authentication of users is determined by the configured [authentication ](/latest/devx/5.5/deployment/configuration/iam/authentication.md)mechanism.

{% hint style="info" %}
For automation use the [`CLI`](/latest/devx/5.5/user-guide/cli.md).
{% endhint %}

<figure><img src="https://1626952789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3kFlA2f2XiIvqAjyLMgf%2Fuploads%2Fgit-blob-b318d04dc5e33c5066213a922c895fb69904e391%2Fimage%20(85).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Groups</strong></td><td>Learn how to create and manage Lenses Groups.</td><td><a href="/latest/devx/5.5/deployment/configuration/iam/groups.md">Groups</a></td><td></td></tr><tr><td><strong>Users</strong></td><td>Learn how to create and manage Users in Lenses.</td><td><a href="/latest/devx/5.5/deployment/configuration/iam/users.md">Users</a></td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lenses.io/latest/devx/5.5/deployment/configuration/iam.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
