Class: Google::Apis::ManagedidentitiesV1beta1::LdapsSettings
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1beta1::LdapsSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedidentities_v1beta1/classes.rb,
lib/google/apis/managedidentities_v1beta1/representations.rb,
lib/google/apis/managedidentities_v1beta1/representations.rb
Overview
LDAPSSettings represents the ldaps settings for domain resource. LDAP is the Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/ rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.
Instance Attribute Summary collapse
-
#certificate ⇒ Google::Apis::ManagedidentitiesV1beta1::Certificate
Certificate used to configure LDAPS.
-
#certificate_password ⇒ String
Input only.
-
#certificate_pfx ⇒ String
Input only.
-
#name ⇒ String
The resource name of the LDAPS settings.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LdapsSettings
constructor
A new instance of LdapsSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LdapsSettings
Returns a new instance of LdapsSettings.
1404 1405 1406 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate ⇒ Google::Apis::ManagedidentitiesV1beta1::Certificate
Certificate used to configure LDAPS.
Corresponds to the JSON property certificate
1361 1362 1363 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1361 def certificate @certificate end |
#certificate_password ⇒ String
Input only. The password used to encrypt the uploaded pfx certificate.
Corresponds to the JSON property certificatePassword
1366 1367 1368 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1366 def certificate_password @certificate_password end |
#certificate_pfx ⇒ String
Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with. It will enable the domain controllers in this domain to accept LDAPS connections (either LDAP over SSL/TLS or the StartTLS operation). A valid certificate chain must form a valid x.509 certificate chain (or be comprised of a single self-signed certificate. It must be encrypted with either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3- KeyTripleDES-CBC Private key must be included for the leaf / single self- signed certificate. Note: For a fqdn your-example-domain.com, the wildcard fqdn is *.your-example-domain.com. Specifically the leaf certificate must have:
- Either a blank subject or a subject with CN matching the wildcard fqdn. -
Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key
signature key usages. - Server authentication extended key usage (OID=1.3.6.1.
5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA,
ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for
ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
Corresponds to the JSON property
certificatePfx
NOTE: Values are automatically base64 encoded/decoded in the client library.
1386 1387 1388 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1386 def certificate_pfx @certificate_pfx end |
#name ⇒ String
The resource name of the LDAPS settings. Uses the form: projects/
project/
locations/
location/domains/
domain`.
Corresponds to the JSON property
name`
1392 1393 1394 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1392 def name @name end |
#state ⇒ String
Output only. The current state of this LDAPS settings.
Corresponds to the JSON property state
1397 1398 1399 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1397 def state @state end |
#update_time ⇒ String
Output only. Last update time.
Corresponds to the JSON property updateTime
1402 1403 1404 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1402 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'lib/google/apis/managedidentities_v1beta1/classes.rb', line 1409 def update!(**args) @certificate = args[:certificate] if args.key?(:certificate) @certificate_password = args[:certificate_password] if args.key?(:certificate_password) @certificate_pfx = args[:certificate_pfx] if args.key?(:certificate_pfx) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |