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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eKerberosConfig\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.Metastore.V1\u003c/code\u003e namespace is used for configuring Kerberos principal information within the Dataproc Metastore v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eKerberosConfig\u003c/code\u003e is 2.9.0, with historical versions available down to 1.0.0, and it implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for \u003ccode\u003eKeytab\u003c/code\u003e (a Kerberos keytab file), \u003ccode\u003eKrb5ConfigGcsUri\u003c/code\u003e (path to a krb5.conf file), and \u003ccode\u003ePrincipal\u003c/code\u003e (the Kerberos principal for authentication).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKerberosConfig\u003c/code\u003e has two constructors, one empty and one taking another \u003ccode\u003eKerberosConfig\u003c/code\u003e as the parameter, for instance when you want to copy values from an already made configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe KerberosConfig class has inherited methods from the Object class, such as GetHashCode, GetType, and ToString.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1 API - Class KerberosConfig (2.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.8.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.7.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.6.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.5.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.4.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.3.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.2.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.1.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.0.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.1.0/Google.Cloud.Metastore.V1.KerberosConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.0.0/Google.Cloud.Metastore.V1.KerberosConfig) \n\n public sealed class KerberosConfig : IMessage\u003cKerberosConfig\u003e, IEquatable\u003cKerberosConfig\u003e, IDeepCloneable\u003cKerberosConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1 API class KerberosConfig.\n\nConfiguration information for a Kerberos principal. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e KerberosConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[KerberosConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.KerberosConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[KerberosConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.KerberosConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[KerberosConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Metastore.V1](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1.dll\n\nConstructors\n------------\n\n### KerberosConfig()\n\n public KerberosConfig()\n\n### KerberosConfig(KerberosConfig)\n\n public KerberosConfig(KerberosConfig other)\n\nProperties\n----------\n\n### Keytab\n\n public Secret Keytab { get; set; }\n\nA Kerberos keytab file that can be used to authenticate a service principal\nwith a Kerberos Key Distribution Center (KDC).\n\n### Krb5ConfigGcsUri\n\n public string Krb5ConfigGcsUri { get; set; }\n\nA Cloud Storage URI that specifies the path to a\nkrb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`,\nalthough the file does not need to be named krb5.conf explicitly.\n\n### Principal\n\n public string Principal { get; set; }\n\nA Kerberos principal that exists in the both the keytab the KDC\nto authenticate as. A typical principal is of the form\n`primary/instance@REALM`, but there is no exact format."]]