Google Cloud Dataproc V1 Client - Class KerberosConfig (3.2.2)

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

Specifies Kerberos related configuration.

Generated from protobuf message google.cloud.dataproc.v1.KerberosConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enable_kerberos bool

Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.

↳ root_principal_password_uri string

Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

↳ kms_key_uri string

Optional. The uri of the KMS key used to encrypt various sensitive files.

↳ keystore_uri string

Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

↳ truststore_uri string

Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

↳ keystore_password_uri string

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

↳ key_password_uri string

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

↳ truststore_password_uri string

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

↳ cross_realm_trust_realm string

Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

↳ cross_realm_trust_kdc string

Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

↳ cross_realm_trust_admin_server string

Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

↳ cross_realm_trust_shared_password_uri string

Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

↳ kdc_db_key_uri string

Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

↳ tgt_lifetime_hours int

Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.

↳ realm string

Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.

getEnableKerberos

Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.

Generated from protobuf field bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
bool

setEnableKerberos

Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.

Generated from protobuf field bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRootPrincipalPasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

Generated from protobuf field string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setRootPrincipalPasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

Generated from protobuf field string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKmsKeyUri

Optional. The uri of the KMS key used to encrypt various sensitive files.

Generated from protobuf field string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setKmsKeyUri

Optional. The uri of the KMS key used to encrypt various sensitive files.

Generated from protobuf field string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKeystoreUri

Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

Generated from protobuf field string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setKeystoreUri

Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

Generated from protobuf field string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTruststoreUri

Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

Generated from protobuf field string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setTruststoreUri

Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

Generated from protobuf field string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKeystorePasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

Generated from protobuf field string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setKeystorePasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

Generated from protobuf field string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKeyPasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

Generated from protobuf field string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setKeyPasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

Generated from protobuf field string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTruststorePasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

Generated from protobuf field string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setTruststorePasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

Generated from protobuf field string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCrossRealmTrustRealm

Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

Generated from protobuf field string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setCrossRealmTrustRealm

Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

Generated from protobuf field string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCrossRealmTrustKdc

Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

Generated from protobuf field string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setCrossRealmTrustKdc

Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

Generated from protobuf field string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCrossRealmTrustAdminServer

Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

Generated from protobuf field string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setCrossRealmTrustAdminServer

Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

Generated from protobuf field string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCrossRealmTrustSharedPasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

Generated from protobuf field string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setCrossRealmTrustSharedPasswordUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

Generated from protobuf field string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKdcDbKeyUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

Generated from protobuf field string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setKdcDbKeyUri

Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

Generated from protobuf field string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTgtLifetimeHours

Optional. The lifetime of the ticket granting ticket, in hours.

If not specified, or user specifies 0, then default value 10 will be used.

Generated from protobuf field int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

setTgtLifetimeHours

Optional. The lifetime of the ticket granting ticket, in hours.

If not specified, or user specifies 0, then default value 10 will be used.

Generated from protobuf field int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRealm

Optional. The name of the on-cluster Kerberos realm.

If not specified, the uppercased domain of hostnames will be the realm.

Generated from protobuf field string realm = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setRealm

Optional. The name of the on-cluster Kerberos realm.

If not specified, the uppercased domain of hostnames will be the realm.

Generated from protobuf field string realm = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this