# Authentication

Kafbat UI supports multiple authentication methods to secure access to the web interface and to connect to secured Kafka clusters.

## For the UI

Configure how users authenticate to access the Kafbat UI web interface:

* [Basic Authentication](https://ui.docs.kafbat.io/configuration/authentication/for-the-ui/basic-authentication) - Simple username/password authentication
* [OAuth2](https://ui.docs.kafbat.io/configuration/authentication/for-the-ui/oauth2) - OAuth 2.0 authentication with various providers (Google, GitHub, Azure, Cognito, Okta, Keycloak)
* [LDAP / Active Directory](https://ui.docs.kafbat.io/configuration/authentication/for-the-ui/ldap-active-directory) - Enterprise directory integration

## For Kafka

Configure authentication between Kafbat UI and your Kafka clusters:

* [AWS IAM](https://ui.docs.kafbat.io/configuration/authentication/for-kafka/aws-iam) - AWS IAM authentication for MSK
* [SASL\_SCRAM](https://ui.docs.kafbat.io/configuration/authentication/for-kafka/sasl_scram) - SASL/SCRAM authentication
