Google Cloud Dataproc Metastore V1alpha Client - Class KerberosConfig (0.4.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class KerberosConfig.

Configuration information for a Kerberos principal.

Generated from protobuf message google.cloud.metastore.v1alpha.KerberosConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ keytab Google\Cloud\Metastore\V1alpha\Secret

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 form primary/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 form gs://{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).

Generated from protobuf field .google.cloud.metastore.v1alpha.Secret keytab = 1;

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\Secret|null

hasKeytab

clearKeytab

setKeytab

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

Generated from protobuf field .google.cloud.metastore.v1alpha.Secret keytab = 1;

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\Secret
Returns
TypeDescription
$this

getPrincipal

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.

Generated from protobuf field string principal = 2;

Returns
TypeDescription
string

setPrincipal

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.

Generated from protobuf field string principal = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKrb5ConfigGcsUri

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.

Generated from protobuf field string krb5_config_gcs_uri = 3;

Returns
TypeDescription
string

setKrb5ConfigGcsUri

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.

Generated from protobuf field string krb5_config_gcs_uri = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this