# KerberosAttributesProperty

Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.

See the RunJobFlow API for complete documentation on input parameters

- Source: [`aws-stepfunctions-tasks/lib/emr/emr-create-cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/emr/emr-create-cluster.ts#L1769)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const kerberosAttributesProperty: stepfunctions_tasks.EmrCreateCluster.KerberosAttributesProperty = {
  realm: 'realm',

  // the properties below are optional
  adDomainJoinPassword: 'adDomainJoinPassword',
  adDomainJoinUser: 'adDomainJoinUser',
  crossRealmTrustPrincipalPassword: 'crossRealmTrustPrincipalPassword',
  kdcAdminPassword: 'kdcAdminPassword',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks

kerberos_attributes_property = stepfunctions_tasks.EmrCreateCluster.KerberosAttributesProperty(
    realm="realm",

    # the properties below are optional
    ad_domain_join_password="adDomainJoinPassword",
    ad_domain_join_user="adDomainJoinUser",
    cross_realm_trust_principal_password="crossRealmTrustPrincipalPassword",
    kdc_admin_password="kdcAdminPassword"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.tasks.*;

KerberosAttributesProperty kerberosAttributesProperty = KerberosAttributesProperty.builder()
        .realm("realm")

        // the properties below are optional
        .adDomainJoinPassword("adDomainJoinPassword")
        .adDomainJoinUser("adDomainJoinUser")
        .crossRealmTrustPrincipalPassword("crossRealmTrustPrincipalPassword")
        .kdcAdminPassword("kdcAdminPassword")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions.Tasks;

var kerberosAttributesProperty = new KerberosAttributesProperty {
    Realm = "realm",

    // the properties below are optional
    AdDomainJoinPassword = "adDomainJoinPassword",
    AdDomainJoinUser = "adDomainJoinUser",
    CrossRealmTrustPrincipalPassword = "crossRealmTrustPrincipalPassword",
    KdcAdminPassword = "kdcAdminPassword"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

kerberosAttributesProperty := &KerberosAttributesProperty{
	Realm: jsii.String("realm"),

	// the properties below are optional
	AdDomainJoinPassword: jsii.String("adDomainJoinPassword"),
	AdDomainJoinUser: jsii.String("adDomainJoinUser"),
	CrossRealmTrustPrincipalPassword: jsii.String("crossRealmTrustPrincipalPassword"),
	KdcAdminPassword: jsii.String("kdcAdminPassword"),
}
```

## Properties

- `adDomainJoinPassword`: string — The Active Directory password for ADDomainJoinUser.

  **Default:** No adDomainJoinPassword

- `adDomainJoinUser`: string — Required only when establishing a cross-realm trust with an Active Directory domain.

  **Default:** No adDomainJoinUser

  A user with sufficient privileges to join
  resources to the domain.

- `crossRealmTrustPrincipalPassword`: string — Required only when establishing a cross-realm trust with a KDC in a different realm.

  **Default:** No crossRealmTrustPrincipalPassword

  The cross-realm principal password, which
  must be identical across realms.

- `kdcAdminPassword`: string — The password used within the cluster for the kadmin service on the cluster-dedicated KDC, which maintains Kerberos principals, password policies, and keytabs for the cluster.

  **Default:** No kdcAdminPassword

- `realm`: string (required) — The name of the Kerberos realm to which all nodes in a cluster belong.

  For example, EC2.INTERNAL.
