# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::KerberosConfig (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::KerberosConfig.

Configuration information for a Kerberos principal.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #keytab

    def keytab() -> ::Google::Cloud::Metastore::V1::Secret

**Returns**

- ([::Google::Cloud::Metastore::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-Secret)) --- A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).

### #keytab=

    def keytab=(value) -> ::Google::Cloud::Metastore::V1::Secret

**Parameter**

- **value** ([::Google::Cloud::Metastore::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-Secret)) --- A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
**Returns**

- ([::Google::Cloud::Metastore::V1::Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-Secret)) --- A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).

### #krb5_config_gcs_uri

    def krb5_config_gcs_uri() -> ::String

**Returns**

- (::String) --- A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`, although the file does not need to be named krb5.conf explicitly.

### #krb5_config_gcs_uri=

    def krb5_config_gcs_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`, although the file does not need to be named krb5.conf explicitly.
**Returns**

- (::String) --- A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`, although the file does not need to be named krb5.conf explicitly.

### #principal

    def principal() -> ::String

**Returns**

- (::String) --- A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form `primary/instance@REALM`, but there is no exact format.

### #principal=

    def principal=(value) -> ::String

**Parameter**

- **value** (::String) --- A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form `primary/instance@REALM`, but there is no exact format.
**Returns**

- (::String) --- A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form `primary/instance@REALM`, but there is no exact format.