# Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::KerberosConfig (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::KerberosConfig.

Specifies Kerberos related configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cross_realm_trust_admin_server

    def cross_realm_trust_admin_server() -> ::String

**Returns**

- (::String) --- Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

### #cross_realm_trust_admin_server=

    def cross_realm_trust_admin_server=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
**Returns**

- (::String) --- Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

### #cross_realm_trust_kdc

    def cross_realm_trust_kdc() -> ::String

**Returns**

- (::String) --- Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

### #cross_realm_trust_kdc=

    def cross_realm_trust_kdc=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
**Returns**

- (::String) --- Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

### #cross_realm_trust_realm

    def cross_realm_trust_realm() -> ::String

**Returns**

- (::String) --- Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

### #cross_realm_trust_realm=

    def cross_realm_trust_realm=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
**Returns**

- (::String) --- Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

### #cross_realm_trust_shared_password_uri

    def cross_realm_trust_shared_password_uri() -> ::String

**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

### #cross_realm_trust_shared_password_uri=

    def cross_realm_trust_shared_password_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

### #enable_kerberos

    def enable_kerberos() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.

### #enable_kerberos=

    def enable_kerberos=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
**Returns**

- (::Boolean) --- Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.

### #kdc_db_key_uri

    def kdc_db_key_uri() -> ::String

**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

### #kdc_db_key_uri=

    def kdc_db_key_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

### #key_password_uri

    def key_password_uri() -> ::String

**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

### #key_password_uri=

    def key_password_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

### #keystore_password_uri

    def keystore_password_uri() -> ::String

**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

### #keystore_password_uri=

    def keystore_password_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

### #keystore_uri

    def keystore_uri() -> ::String

**Returns**

- (::String) --- Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

### #keystore_uri=

    def keystore_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
**Returns**

- (::String) --- Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

### #kms_key_uri

    def kms_key_uri() -> ::String

**Returns**

- (::String) --- Required. The uri of the KMS key used to encrypt various sensitive files.

### #kms_key_uri=

    def kms_key_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The uri of the KMS key used to encrypt various sensitive files.
**Returns**

- (::String) --- Required. The uri of the KMS key used to encrypt various sensitive files.

### #realm

    def realm() -> ::String

**Returns**

- (::String) --- Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.

### #realm=

    def realm=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
**Returns**

- (::String) --- Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.

### #root_principal_password_uri

    def root_principal_password_uri() -> ::String

**Returns**

- (::String) --- Required. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

### #root_principal_password_uri=

    def root_principal_password_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
**Returns**

- (::String) --- Required. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

### #tgt_lifetime_hours

    def tgt_lifetime_hours() -> ::Integer

**Returns**

- (::Integer) --- Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.

### #tgt_lifetime_hours=

    def tgt_lifetime_hours=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
**Returns**

- (::Integer) --- Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.

### #truststore_password_uri

    def truststore_password_uri() -> ::String

**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

### #truststore_password_uri=

    def truststore_password_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
**Returns**

- (::String) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

### #truststore_uri

    def truststore_uri() -> ::String

**Returns**

- (::String) --- Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

### #truststore_uri=

    def truststore_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
**Returns**

- (::String) --- Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.