# Dataproc Metastore v1beta API - Class KerberosConfig (2.0.0-beta12)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta12 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.KerberosConfig)
- [2.0.0-beta11](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta11/Google.Cloud.Metastore.V1Beta.KerberosConfig)
- [1.0.0-beta02](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.KerberosConfig)

    public sealed class KerberosConfig : IMessage<KerberosConfig>, IEquatable<KerberosConfig>, IDeepCloneable<KerberosConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataproc Metastore v1beta API class KerberosConfig.

Configuration information for a Kerberos principal.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> KerberosConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[KerberosConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.KerberosConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[KerberosConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.KerberosConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[KerberosConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.KerberosConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Metastore.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)

## Assembly

Google.Cloud.Metastore.V1Beta.dll

## Constructors

### KerberosConfig()

    public KerberosConfig()

### KerberosConfig(KerberosConfig)

    public KerberosConfig(KerberosConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.KerberosConfig` |

## Properties

### Keytab

    public Secret Keytab { get; set; }

A Kerberos keytab file that can be used to authenticate a service principal
with a Kerberos Key Distribution Center (KDC).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.Secret` |   |

### Krb5ConfigGcsUri

    public string Krb5ConfigGcsUri { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Principal

    public string Principal { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |