---
title: "AWS EMR cluster is not configured with Kerberos authentication"
canonical: "https://kb.cynergy.app/space/MD/1208090626/AWS%20EMR%20cluster%20is%20not%20configured%20with%20Kerberos%20authentication"
format: markdown
---
**Description**

Configuring the Kerberos Realm enhances the security of your EMR clusters by providing controlled, centralized access management. It lets you define users, groups, and permissions to access your clusters and specify permitted actions, offering robust security and compliance management.


**Fix - Build time **

## Terraform

- **Resource:** aws_emr_cluster
- **Argument:** kerberos_attributes.realm

```
resource "aws_emr_cluster" "test" {
...
  kerberos_attributes {
    kdc_admin_password                = "somePassword"
+   realm                             = "EC2.INTERNAL"
    }
}

```