A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
↳ principal
string
A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the formprimary/instance@REALM, but there is no exact format.
↳ krb5_config_gcs_uri
string
A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the formgs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf explicitly.
getKeytab
A Kerberos keytab file that can be used to authenticate a service principal
with a Kerberos Key Distribution Center (KDC).
A Kerberos principal that exists in the both the keytab the KDC
to authenticate as. A typical principal is of the formprimary/instance@REALM, but there is no exact format.
Returns
Type
Description
string
setPrincipal
A Kerberos principal that exists in the both the keytab the KDC
to authenticate as. A typical principal is of the formprimary/instance@REALM, but there is no exact format.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getKrb5ConfigGcsUri
A Cloud Storage URI that specifies the path to a
krb5.conf file. It is of the formgs://{bucket_name}/path/to/krb5.conf,
although the file does not need to be named krb5.conf explicitly.
Returns
Type
Description
string
setKrb5ConfigGcsUri
A Cloud Storage URI that specifies the path to a
krb5.conf file. It is of the formgs://{bucket_name}/path/to/krb5.conf,
although the file does not need to be named krb5.conf explicitly.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc Metastore V1 Client - Class KerberosConfig (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-dataproc-metastore/latest/V1.KerberosConfig)\n- [1.1.0](/php/docs/reference/cloud-dataproc-metastore/1.1.0/V1.KerberosConfig)\n- [1.0.4](/php/docs/reference/cloud-dataproc-metastore/1.0.4/V1.KerberosConfig)\n- [0.11.5](/php/docs/reference/cloud-dataproc-metastore/0.11.5/V1.KerberosConfig)\n- [0.10.2](/php/docs/reference/cloud-dataproc-metastore/0.10.2/V1.KerberosConfig)\n- [0.9.0](/php/docs/reference/cloud-dataproc-metastore/0.9.0/V1.KerberosConfig)\n- [0.8.1](/php/docs/reference/cloud-dataproc-metastore/0.8.1/V1.KerberosConfig)\n- [0.7.0](/php/docs/reference/cloud-dataproc-metastore/0.7.0/V1.KerberosConfig)\n- [0.6.1](/php/docs/reference/cloud-dataproc-metastore/0.6.1/V1.KerberosConfig)\n- [0.5.1](/php/docs/reference/cloud-dataproc-metastore/0.5.1/V1.KerberosConfig)\n- [0.4.1](/php/docs/reference/cloud-dataproc-metastore/0.4.1/V1.KerberosConfig) \nReference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class KerberosConfig.\n\nConfiguration information for a Kerberos principal.\n\nGenerated from protobuf message `google.cloud.metastore.v1.KerberosConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Metastore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKeytab\n\nA Kerberos keytab file that can be used to authenticate a service principal\nwith a Kerberos Key Distribution Center (KDC).\n\n### hasKeytab\n\n### clearKeytab\n\n### setKeytab\n\nA Kerberos keytab file that can be used to authenticate a service principal\nwith a Kerberos Key Distribution Center (KDC).\n\n### getPrincipal\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.\n\n### setPrincipal\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.\n\n### getKrb5ConfigGcsUri\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### setKrb5ConfigGcsUri\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."]]