# Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::KerberosConfig (v1.16.0)

1.15.0 (latest) 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.26.0 0.25.0 0.24.1 0.23.1 0.22.0 0.21.0 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::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) --- Optional. The URI of the KMS key used to encrypt sensitive files.

### #kms_key_uri=

    def kms_key_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The URI of the KMS key used to encrypt sensitive files.
**Returns**

- (::String) --- Optional. The URI of the KMS key used to encrypt 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) --- Optional. 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) --- Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
**Returns**

- (::String) --- Optional. 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.