Class: Google::Apis::MetastoreV1::KerberosConfig
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1::KerberosConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/representations.rb
Overview
Configuration information for a Kerberos principal.
Instance Attribute Summary collapse
-
#keytab ⇒ Google::Apis::MetastoreV1::Secret
A securely stored value.
-
#krb5_config_gcs_uri ⇒ String
A Cloud Storage URI that specifies the path to a krb5.conf file.
-
#principal ⇒ String
A Kerberos principal that exists in the both the keytab the KDC to authenticate as.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KerberosConfig
constructor
A new instance of KerberosConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KerberosConfig
Returns a new instance of KerberosConfig.
1109 1110 1111 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keytab ⇒ Google::Apis::MetastoreV1::Secret
A securely stored value.
Corresponds to the JSON property keytab
1093 1094 1095 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1093 def keytab @keytab end |
#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.
Corresponds to the JSON property krb5ConfigGcsUri
1100 1101 1102 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1100 def krb5_config_gcs_uri @krb5_config_gcs_uri end |
#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.
Corresponds to the JSON property principal
1107 1108 1109 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1107 def principal @principal end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1114 1115 1116 1117 1118 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 1114 def update!(**args) @keytab = args[:keytab] if args.key?(:keytab) @krb5_config_gcs_uri = args[:krb5_config_gcs_uri] if args.key?(:krb5_config_gcs_uri) @principal = args[:principal] if args.key?(:principal) end |