# Identity & Access Management

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="/files/m9y2BCsPB3byMlS91Mc4" 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="/pages/WnNhfpRkzu4Ekplg7roU">/pages/WnNhfpRkzu4Ekplg7roU</a></td><td><a href="/files/K88UfbeSd6eVk7hMXq80">/files/K88UfbeSd6eVk7hMXq80</a></td></tr><tr><td><strong>Users</strong></td><td>Learn how to create and manage Users in Lenses.</td><td><a href="/pages/yw7ftjD57pjHjUp9tPcy">/pages/yw7ftjD57pjHjUp9tPcy</a></td><td><a href="/files/D9rpKWYf1CdVf3BuMt3l">/files/D9rpKWYf1CdVf3BuMt3l</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
