akeyless 5.0.38 → 5.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -2
- data/docs/AssocTargetItem.md +5 -1
- data/docs/ClientEvent.md +26 -0
- data/docs/ClientEventOutput.md +18 -0
- data/docs/Connect.md +2 -0
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateLdapTarget.md +3 -1
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DigiCertTargetDetails.md +8 -0
- data/docs/EventForwarderCreateEmail.md +1 -1
- data/docs/EventForwarderCreateServiceNow.md +1 -1
- data/docs/EventForwarderCreateSlack.md +1 -1
- data/docs/EventForwarderCreateTeams.md +1 -1
- data/docs/EventForwarderCreateWebhook.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +1 -1
- data/docs/EventForwarderUpdateServiceNow.md +1 -1
- data/docs/EventForwarderUpdateSlack.md +1 -1
- data/docs/EventForwarderUpdateTeams.md +1 -1
- data/docs/EventForwarderUpdateWebhook.md +1 -1
- data/docs/GatewayCreateAllowedAccess.md +1 -1
- data/docs/GatewayUpdateAllowedAccess.md +1 -1
- data/docs/GenerateIntermediateCA.md +48 -0
- data/docs/GenerateIntermediateCAOutput.md +26 -0
- data/docs/GoogleTrustTargetDetails.md +8 -0
- data/docs/InjectorCertificateEvent.md +28 -0
- data/docs/Item.md +2 -0
- data/docs/LdapTargetDetails.md +3 -1
- data/docs/LetsEncryptTargetDetails.md +8 -0
- data/docs/ListSRASessions.md +2 -0
- data/docs/ListSraSessionsOutput.md +3 -3
- data/docs/LockItem.md +1 -1
- data/docs/MigrationGeneral.md +6 -0
- data/docs/PKICertificateIssueDetails.md +4 -0
- data/docs/RequestAccess.md +2 -0
- data/docs/RotatedSecretCreateOkta.md +82 -0
- data/docs/RotatedSecretUpdateOkta.md +84 -0
- data/docs/Target.md +2 -0
- data/docs/TargetCreateDigiCert.md +8 -0
- data/docs/TargetCreateGoogleTrust.md +8 -0
- data/docs/TargetCreateLdap.md +3 -1
- data/docs/TargetCreateLetsEncrypt.md +8 -0
- data/docs/TargetUpdateDigiCert.md +8 -0
- data/docs/TargetUpdateGoogleTrust.md +8 -0
- data/docs/TargetUpdateLdap.md +3 -1
- data/docs/TargetUpdateLetsEncrypt.md +8 -0
- data/docs/UpdateLdapTarget.md +3 -1
- data/docs/UpdatePKICertIssuer.md +6 -0
- data/docs/V2Api.md +257 -3
- data/lib/akeyless/api/v2_api.rb +260 -0
- data/lib/akeyless/models/assoc_target_item.rb +24 -2
- data/lib/akeyless/models/client_event.rb +256 -0
- data/lib/akeyless/models/client_event_output.rb +214 -0
- data/lib/akeyless/models/connect.rb +11 -1
- data/lib/akeyless/models/create_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_ldap_target.rb +14 -4
- data/lib/akeyless/models/create_pki_cert_issuer.rb +31 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +43 -1
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/event_forwarder_create_email.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
- data/lib/akeyless/models/gateway_create_allowed_access.rb +1 -1
- data/lib/akeyless/models/gateway_update_allowed_access.rb +1 -1
- data/lib/akeyless/models/generate_intermediate_ca.rb +379 -0
- data/lib/akeyless/models/generate_intermediate_ca_output.rb +250 -0
- data/lib/akeyless/models/google_trust_target_details.rb +43 -1
- data/lib/akeyless/models/injector_certificate_event.rb +259 -0
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/ldap_target_details.rb +13 -4
- data/lib/akeyless/models/lets_encrypt_target_details.rb +43 -1
- data/lib/akeyless/models/list_sra_sessions.rb +12 -2
- data/lib/akeyless/models/list_sra_sessions_output.rb +3 -0
- data/lib/akeyless/models/lock_item.rb +1 -1
- data/lib/akeyless/models/migration_general.rb +28 -1
- data/lib/akeyless/models/pki_certificate_issue_details.rb +21 -1
- data/lib/akeyless/models/request_access.rb +11 -1
- data/lib/akeyless/models/rotated_secret_create_okta.rb +556 -0
- data/lib/akeyless/models/rotated_secret_update_okta.rb +563 -0
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +43 -1
- data/lib/akeyless/models/target_create_google_trust.rb +43 -1
- data/lib/akeyless/models/target_create_ldap.rb +14 -4
- data/lib/akeyless/models/target_create_lets_encrypt.rb +43 -1
- data/lib/akeyless/models/target_update_digi_cert.rb +43 -1
- data/lib/akeyless/models/target_update_google_trust.rb +43 -1
- data/lib/akeyless/models/target_update_ldap.rb +14 -4
- data/lib/akeyless/models/target_update_lets_encrypt.rb +43 -1
- data/lib/akeyless/models/update_ldap_target.rb +14 -4
- data/lib/akeyless/models/update_pki_cert_issuer.rb +31 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +7 -0
- data/spec/models/client_event_output_spec.rb +36 -0
- data/spec/models/client_event_spec.rb +60 -0
- data/spec/models/generate_intermediate_ca_output_spec.rb +60 -0
- data/spec/models/generate_intermediate_ca_spec.rb +126 -0
- data/spec/models/injector_certificate_event_spec.rb +66 -0
- data/spec/models/rotated_secret_create_okta_spec.rb +228 -0
- data/spec/models/rotated_secret_update_okta_spec.rb +234 -0
- metadata +30 -2
|
@@ -28,9 +28,21 @@ module Akeyless
|
|
|
28
28
|
# DigiCert ACME endpoint selector. Options: [us-production/eu-production/us-demo/eu-demo]
|
|
29
29
|
attr_accessor :digicert_url
|
|
30
30
|
|
|
31
|
+
# Fixed wait after TXT publish (e.g. 30s, 2m). If omitted with pre-check on, no extra sleep (polling only). If omitted with --dns-skip-precheck, gateway uses 30s. DNS challenge only
|
|
32
|
+
attr_accessor :dns_propagation_wait
|
|
33
|
+
|
|
34
|
+
# Custom DNS resolvers (ip:port) for DNS-01. Repeat for multiple. If omitted, Lego uses /etc/resolv.conf or Google Public DNS. DNS challenge only
|
|
35
|
+
attr_accessor :dns_resolvers
|
|
36
|
+
|
|
37
|
+
# Skip DNS TXT pre-check before CA validation. If --dns-propagation-wait is omitted and this flag is set, gateway waits 30s before CA validation. DNS challenge only
|
|
38
|
+
attr_accessor :dns_skip_precheck
|
|
39
|
+
|
|
31
40
|
# Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP, Cloudflare
|
|
32
41
|
attr_accessor :dns_target_creds
|
|
33
42
|
|
|
43
|
+
# Per-query DNS lookup timeout during pre-check (e.g. 10s), not total poll time. If omitted with pre-check on, Lego library default applies (10s per query on Linux). Ignored when --dns-skip-precheck is set. DNS challenge only
|
|
44
|
+
attr_accessor :dns_timeout
|
|
45
|
+
|
|
34
46
|
# Cloudflare DNS zone identifier. Required when DNS credentials target is Cloudflare
|
|
35
47
|
attr_accessor :dns_zone
|
|
36
48
|
|
|
@@ -89,7 +101,11 @@ module Akeyless
|
|
|
89
101
|
:'delete_protection' => :'delete_protection',
|
|
90
102
|
:'description' => :'description',
|
|
91
103
|
:'digicert_url' => :'digicert-url',
|
|
104
|
+
:'dns_propagation_wait' => :'dns-propagation-wait',
|
|
105
|
+
:'dns_resolvers' => :'dns-resolvers',
|
|
106
|
+
:'dns_skip_precheck' => :'dns-skip-precheck',
|
|
92
107
|
:'dns_target_creds' => :'dns-target-creds',
|
|
108
|
+
:'dns_timeout' => :'dns-timeout',
|
|
93
109
|
:'dns_zone' => :'dns-zone',
|
|
94
110
|
:'eab_hmac_key' => :'eab-hmac-key',
|
|
95
111
|
:'eab_key_id' => :'eab-key-id',
|
|
@@ -122,7 +138,11 @@ module Akeyless
|
|
|
122
138
|
:'delete_protection' => :'String',
|
|
123
139
|
:'description' => :'String',
|
|
124
140
|
:'digicert_url' => :'String',
|
|
141
|
+
:'dns_propagation_wait' => :'String',
|
|
142
|
+
:'dns_resolvers' => :'Array<String>',
|
|
143
|
+
:'dns_skip_precheck' => :'Boolean',
|
|
125
144
|
:'dns_target_creds' => :'String',
|
|
145
|
+
:'dns_timeout' => :'String',
|
|
126
146
|
:'dns_zone' => :'String',
|
|
127
147
|
:'eab_hmac_key' => :'String',
|
|
128
148
|
:'eab_key_id' => :'String',
|
|
@@ -184,10 +204,28 @@ module Akeyless
|
|
|
184
204
|
self.digicert_url = 'us-production'
|
|
185
205
|
end
|
|
186
206
|
|
|
207
|
+
if attributes.key?(:'dns_propagation_wait')
|
|
208
|
+
self.dns_propagation_wait = attributes[:'dns_propagation_wait']
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if attributes.key?(:'dns_resolvers')
|
|
212
|
+
if (value = attributes[:'dns_resolvers']).is_a?(Array)
|
|
213
|
+
self.dns_resolvers = value
|
|
214
|
+
end
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
if attributes.key?(:'dns_skip_precheck')
|
|
218
|
+
self.dns_skip_precheck = attributes[:'dns_skip_precheck']
|
|
219
|
+
end
|
|
220
|
+
|
|
187
221
|
if attributes.key?(:'dns_target_creds')
|
|
188
222
|
self.dns_target_creds = attributes[:'dns_target_creds']
|
|
189
223
|
end
|
|
190
224
|
|
|
225
|
+
if attributes.key?(:'dns_timeout')
|
|
226
|
+
self.dns_timeout = attributes[:'dns_timeout']
|
|
227
|
+
end
|
|
228
|
+
|
|
191
229
|
if attributes.key?(:'dns_zone')
|
|
192
230
|
self.dns_zone = attributes[:'dns_zone']
|
|
193
231
|
end
|
|
@@ -299,7 +337,11 @@ module Akeyless
|
|
|
299
337
|
delete_protection == o.delete_protection &&
|
|
300
338
|
description == o.description &&
|
|
301
339
|
digicert_url == o.digicert_url &&
|
|
340
|
+
dns_propagation_wait == o.dns_propagation_wait &&
|
|
341
|
+
dns_resolvers == o.dns_resolvers &&
|
|
342
|
+
dns_skip_precheck == o.dns_skip_precheck &&
|
|
302
343
|
dns_target_creds == o.dns_target_creds &&
|
|
344
|
+
dns_timeout == o.dns_timeout &&
|
|
303
345
|
dns_zone == o.dns_zone &&
|
|
304
346
|
eab_hmac_key == o.eab_hmac_key &&
|
|
305
347
|
eab_key_id == o.eab_key_id &&
|
|
@@ -328,7 +370,7 @@ module Akeyless
|
|
|
328
370
|
# Calculates hash code according to all attributes.
|
|
329
371
|
# @return [Integer] Hash code
|
|
330
372
|
def hash
|
|
331
|
-
[acme_challenge, delete_protection, description, digicert_url, dns_target_creds, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, json, key, lock_on_read, lock_ttl, max_versions, name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
373
|
+
[acme_challenge, delete_protection, description, digicert_url, dns_propagation_wait, dns_resolvers, dns_skip_precheck, dns_target_creds, dns_timeout, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, json, key, lock_on_read, lock_ttl, max_versions, name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
332
374
|
end
|
|
333
375
|
|
|
334
376
|
# Builds the object from hash
|
|
@@ -25,9 +25,21 @@ module Akeyless
|
|
|
25
25
|
# Description of the object
|
|
26
26
|
attr_accessor :description
|
|
27
27
|
|
|
28
|
+
# Fixed wait after TXT publish (e.g. 30s, 2m). If omitted with pre-check on, no extra sleep (polling only). If omitted with --dns-skip-precheck, gateway uses 30s. DNS challenge only
|
|
29
|
+
attr_accessor :dns_propagation_wait
|
|
30
|
+
|
|
31
|
+
# Custom DNS resolvers (ip:port) for DNS-01. Repeat for multiple. If omitted, Lego uses /etc/resolv.conf or Google Public DNS. DNS challenge only
|
|
32
|
+
attr_accessor :dns_resolvers
|
|
33
|
+
|
|
34
|
+
# Skip DNS TXT pre-check before CA validation. If --dns-propagation-wait is omitted and this flag is set, gateway waits 30s before CA validation. DNS challenge only
|
|
35
|
+
attr_accessor :dns_skip_precheck
|
|
36
|
+
|
|
28
37
|
# Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP, Cloudflare
|
|
29
38
|
attr_accessor :dns_target_creds
|
|
30
39
|
|
|
40
|
+
# Per-query DNS lookup timeout during pre-check (e.g. 10s), not total poll time. If omitted with pre-check on, Lego library default applies (10s per query on Linux). Ignored when --dns-skip-precheck is set. DNS challenge only
|
|
41
|
+
attr_accessor :dns_timeout
|
|
42
|
+
|
|
31
43
|
# Cloudflare DNS zone identifier. Required when DNS credentials target is Cloudflare
|
|
32
44
|
attr_accessor :dns_zone
|
|
33
45
|
|
|
@@ -88,7 +100,11 @@ module Akeyless
|
|
|
88
100
|
:'acme_challenge' => :'acme-challenge',
|
|
89
101
|
:'delete_protection' => :'delete_protection',
|
|
90
102
|
:'description' => :'description',
|
|
103
|
+
:'dns_propagation_wait' => :'dns-propagation-wait',
|
|
104
|
+
:'dns_resolvers' => :'dns-resolvers',
|
|
105
|
+
:'dns_skip_precheck' => :'dns-skip-precheck',
|
|
91
106
|
:'dns_target_creds' => :'dns-target-creds',
|
|
107
|
+
:'dns_timeout' => :'dns-timeout',
|
|
92
108
|
:'dns_zone' => :'dns-zone',
|
|
93
109
|
:'eab_hmac_key' => :'eab-hmac-key',
|
|
94
110
|
:'eab_key_id' => :'eab-key-id',
|
|
@@ -121,7 +137,11 @@ module Akeyless
|
|
|
121
137
|
:'acme_challenge' => :'String',
|
|
122
138
|
:'delete_protection' => :'String',
|
|
123
139
|
:'description' => :'String',
|
|
140
|
+
:'dns_propagation_wait' => :'String',
|
|
141
|
+
:'dns_resolvers' => :'Array<String>',
|
|
142
|
+
:'dns_skip_precheck' => :'Boolean',
|
|
124
143
|
:'dns_target_creds' => :'String',
|
|
144
|
+
:'dns_timeout' => :'String',
|
|
125
145
|
:'dns_zone' => :'String',
|
|
126
146
|
:'eab_hmac_key' => :'String',
|
|
127
147
|
:'eab_key_id' => :'String',
|
|
@@ -178,10 +198,28 @@ module Akeyless
|
|
|
178
198
|
self.description = attributes[:'description']
|
|
179
199
|
end
|
|
180
200
|
|
|
201
|
+
if attributes.key?(:'dns_propagation_wait')
|
|
202
|
+
self.dns_propagation_wait = attributes[:'dns_propagation_wait']
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
if attributes.key?(:'dns_resolvers')
|
|
206
|
+
if (value = attributes[:'dns_resolvers']).is_a?(Array)
|
|
207
|
+
self.dns_resolvers = value
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if attributes.key?(:'dns_skip_precheck')
|
|
212
|
+
self.dns_skip_precheck = attributes[:'dns_skip_precheck']
|
|
213
|
+
end
|
|
214
|
+
|
|
181
215
|
if attributes.key?(:'dns_target_creds')
|
|
182
216
|
self.dns_target_creds = attributes[:'dns_target_creds']
|
|
183
217
|
end
|
|
184
218
|
|
|
219
|
+
if attributes.key?(:'dns_timeout')
|
|
220
|
+
self.dns_timeout = attributes[:'dns_timeout']
|
|
221
|
+
end
|
|
222
|
+
|
|
185
223
|
if attributes.key?(:'dns_zone')
|
|
186
224
|
self.dns_zone = attributes[:'dns_zone']
|
|
187
225
|
end
|
|
@@ -298,7 +336,11 @@ module Akeyless
|
|
|
298
336
|
acme_challenge == o.acme_challenge &&
|
|
299
337
|
delete_protection == o.delete_protection &&
|
|
300
338
|
description == o.description &&
|
|
339
|
+
dns_propagation_wait == o.dns_propagation_wait &&
|
|
340
|
+
dns_resolvers == o.dns_resolvers &&
|
|
341
|
+
dns_skip_precheck == o.dns_skip_precheck &&
|
|
301
342
|
dns_target_creds == o.dns_target_creds &&
|
|
343
|
+
dns_timeout == o.dns_timeout &&
|
|
302
344
|
dns_zone == o.dns_zone &&
|
|
303
345
|
eab_hmac_key == o.eab_hmac_key &&
|
|
304
346
|
eab_key_id == o.eab_key_id &&
|
|
@@ -328,7 +370,7 @@ module Akeyless
|
|
|
328
370
|
# Calculates hash code according to all attributes.
|
|
329
371
|
# @return [Integer] Hash code
|
|
330
372
|
def hash
|
|
331
|
-
[acme_challenge, delete_protection, description, dns_target_creds, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, key, lock_on_read, lock_ttl, max_versions, name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
373
|
+
[acme_challenge, delete_protection, description, dns_propagation_wait, dns_resolvers, dns_skip_precheck, dns_target_creds, dns_timeout, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, key, lock_on_read, lock_ttl, max_versions, name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
332
374
|
end
|
|
333
375
|
|
|
334
376
|
# Builds the object from hash
|
|
@@ -67,6 +67,9 @@ module Akeyless
|
|
|
67
67
|
# The universal identity token, Required only for universal_identity authentication
|
|
68
68
|
attr_accessor :uid_token
|
|
69
69
|
|
|
70
|
+
# Username returned for Rotated Secrets. Use the format required by your application, such as sAMAccountName, with or without the domain.
|
|
71
|
+
attr_accessor :username
|
|
72
|
+
|
|
70
73
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
74
|
def self.attribute_map
|
|
72
75
|
{
|
|
@@ -86,7 +89,8 @@ module Akeyless
|
|
|
86
89
|
:'server_type' => :'server-type',
|
|
87
90
|
:'token' => :'token',
|
|
88
91
|
:'token_expiration' => :'token-expiration',
|
|
89
|
-
:'uid_token' => :'uid-token'
|
|
92
|
+
:'uid_token' => :'uid-token',
|
|
93
|
+
:'username' => :'username'
|
|
90
94
|
}
|
|
91
95
|
end
|
|
92
96
|
|
|
@@ -114,7 +118,8 @@ module Akeyless
|
|
|
114
118
|
:'server_type' => :'String',
|
|
115
119
|
:'token' => :'String',
|
|
116
120
|
:'token_expiration' => :'String',
|
|
117
|
-
:'uid_token' => :'String'
|
|
121
|
+
:'uid_token' => :'String',
|
|
122
|
+
:'username' => :'String'
|
|
118
123
|
}
|
|
119
124
|
end
|
|
120
125
|
|
|
@@ -218,6 +223,10 @@ module Akeyless
|
|
|
218
223
|
if attributes.key?(:'uid_token')
|
|
219
224
|
self.uid_token = attributes[:'uid_token']
|
|
220
225
|
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'username')
|
|
228
|
+
self.username = attributes[:'username']
|
|
229
|
+
end
|
|
221
230
|
end
|
|
222
231
|
|
|
223
232
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -276,7 +285,8 @@ module Akeyless
|
|
|
276
285
|
server_type == o.server_type &&
|
|
277
286
|
token == o.token &&
|
|
278
287
|
token_expiration == o.token_expiration &&
|
|
279
|
-
uid_token == o.uid_token
|
|
288
|
+
uid_token == o.uid_token &&
|
|
289
|
+
username == o.username
|
|
280
290
|
end
|
|
281
291
|
|
|
282
292
|
# @see the `==` method
|
|
@@ -288,7 +298,7 @@ module Akeyless
|
|
|
288
298
|
# Calculates hash code according to all attributes.
|
|
289
299
|
# @return [Integer] Hash code
|
|
290
300
|
def hash
|
|
291
|
-
[bind_dn, bind_dn_password, delete_protection, description, json, key, ldap_ca_cert, ldap_url, lock_on_read, lock_ttl, max_versions, name, rotate_on_unlock, server_type, token, token_expiration, uid_token].hash
|
|
301
|
+
[bind_dn, bind_dn_password, delete_protection, description, json, key, ldap_ca_cert, ldap_url, lock_on_read, lock_ttl, max_versions, name, rotate_on_unlock, server_type, token, token_expiration, uid_token, username].hash
|
|
292
302
|
end
|
|
293
303
|
|
|
294
304
|
# Builds the object from hash
|
|
@@ -24,9 +24,21 @@ module Akeyless
|
|
|
24
24
|
# Description of the object
|
|
25
25
|
attr_accessor :description
|
|
26
26
|
|
|
27
|
+
# Fixed wait after TXT publish (e.g. 30s, 2m). If omitted with pre-check on, no extra sleep (polling only). If omitted with --dns-skip-precheck, gateway uses 30s. DNS challenge only
|
|
28
|
+
attr_accessor :dns_propagation_wait
|
|
29
|
+
|
|
30
|
+
# Custom DNS resolvers (ip:port) for DNS-01. Repeat for multiple. If omitted, Lego uses /etc/resolv.conf or Google Public DNS. DNS challenge only
|
|
31
|
+
attr_accessor :dns_resolvers
|
|
32
|
+
|
|
33
|
+
# Skip DNS TXT pre-check before CA validation. If --dns-propagation-wait is omitted and this flag is set, gateway waits 30s before CA validation. DNS challenge only
|
|
34
|
+
attr_accessor :dns_skip_precheck
|
|
35
|
+
|
|
27
36
|
# Name of existing cloud target for DNS credentials. Required when acme-challenge=dns. Supported: AWS, Azure, GCP, Cloudflare targets
|
|
28
37
|
attr_accessor :dns_target_creds
|
|
29
38
|
|
|
39
|
+
# Per-query DNS lookup timeout during pre-check (e.g. 10s), not total poll time. If omitted with pre-check on, Lego library default applies (10s per query on Linux). Ignored when --dns-skip-precheck is set. DNS challenge only
|
|
40
|
+
attr_accessor :dns_timeout
|
|
41
|
+
|
|
30
42
|
# Cloudflare DNS zone identifier. Required when dns-target-creds points to Cloudflare target
|
|
31
43
|
attr_accessor :dns_zone
|
|
32
44
|
|
|
@@ -79,7 +91,11 @@ module Akeyless
|
|
|
79
91
|
:'acme_challenge' => :'acme-challenge',
|
|
80
92
|
:'delete_protection' => :'delete_protection',
|
|
81
93
|
:'description' => :'description',
|
|
94
|
+
:'dns_propagation_wait' => :'dns-propagation-wait',
|
|
95
|
+
:'dns_resolvers' => :'dns-resolvers',
|
|
96
|
+
:'dns_skip_precheck' => :'dns-skip-precheck',
|
|
82
97
|
:'dns_target_creds' => :'dns-target-creds',
|
|
98
|
+
:'dns_timeout' => :'dns-timeout',
|
|
83
99
|
:'dns_zone' => :'dns-zone',
|
|
84
100
|
:'email' => :'email',
|
|
85
101
|
:'gcp_project' => :'gcp-project',
|
|
@@ -110,7 +126,11 @@ module Akeyless
|
|
|
110
126
|
:'acme_challenge' => :'String',
|
|
111
127
|
:'delete_protection' => :'String',
|
|
112
128
|
:'description' => :'String',
|
|
129
|
+
:'dns_propagation_wait' => :'String',
|
|
130
|
+
:'dns_resolvers' => :'Array<String>',
|
|
131
|
+
:'dns_skip_precheck' => :'Boolean',
|
|
113
132
|
:'dns_target_creds' => :'String',
|
|
133
|
+
:'dns_timeout' => :'String',
|
|
114
134
|
:'dns_zone' => :'String',
|
|
115
135
|
:'email' => :'String',
|
|
116
136
|
:'gcp_project' => :'String',
|
|
@@ -165,10 +185,28 @@ module Akeyless
|
|
|
165
185
|
self.description = attributes[:'description']
|
|
166
186
|
end
|
|
167
187
|
|
|
188
|
+
if attributes.key?(:'dns_propagation_wait')
|
|
189
|
+
self.dns_propagation_wait = attributes[:'dns_propagation_wait']
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
if attributes.key?(:'dns_resolvers')
|
|
193
|
+
if (value = attributes[:'dns_resolvers']).is_a?(Array)
|
|
194
|
+
self.dns_resolvers = value
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes.key?(:'dns_skip_precheck')
|
|
199
|
+
self.dns_skip_precheck = attributes[:'dns_skip_precheck']
|
|
200
|
+
end
|
|
201
|
+
|
|
168
202
|
if attributes.key?(:'dns_target_creds')
|
|
169
203
|
self.dns_target_creds = attributes[:'dns_target_creds']
|
|
170
204
|
end
|
|
171
205
|
|
|
206
|
+
if attributes.key?(:'dns_timeout')
|
|
207
|
+
self.dns_timeout = attributes[:'dns_timeout']
|
|
208
|
+
end
|
|
209
|
+
|
|
172
210
|
if attributes.key?(:'dns_zone')
|
|
173
211
|
self.dns_zone = attributes[:'dns_zone']
|
|
174
212
|
end
|
|
@@ -277,7 +315,11 @@ module Akeyless
|
|
|
277
315
|
acme_challenge == o.acme_challenge &&
|
|
278
316
|
delete_protection == o.delete_protection &&
|
|
279
317
|
description == o.description &&
|
|
318
|
+
dns_propagation_wait == o.dns_propagation_wait &&
|
|
319
|
+
dns_resolvers == o.dns_resolvers &&
|
|
320
|
+
dns_skip_precheck == o.dns_skip_precheck &&
|
|
280
321
|
dns_target_creds == o.dns_target_creds &&
|
|
322
|
+
dns_timeout == o.dns_timeout &&
|
|
281
323
|
dns_zone == o.dns_zone &&
|
|
282
324
|
email == o.email &&
|
|
283
325
|
gcp_project == o.gcp_project &&
|
|
@@ -305,7 +347,7 @@ module Akeyless
|
|
|
305
347
|
# Calculates hash code according to all attributes.
|
|
306
348
|
# @return [Integer] Hash code
|
|
307
349
|
def hash
|
|
308
|
-
[acme_challenge, delete_protection, description, dns_target_creds, dns_zone, email, gcp_project, hosted_zone, json, key, lets_encrypt_url, lock_on_read, lock_ttl, max_versions, name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
350
|
+
[acme_challenge, delete_protection, description, dns_propagation_wait, dns_resolvers, dns_skip_precheck, dns_target_creds, dns_timeout, dns_zone, email, gcp_project, hosted_zone, json, key, lets_encrypt_url, lock_on_read, lock_ttl, max_versions, name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
309
351
|
end
|
|
310
352
|
|
|
311
353
|
# Builds the object from hash
|
|
@@ -28,9 +28,21 @@ module Akeyless
|
|
|
28
28
|
# DigiCert ACME endpoint selector. Options: [us-production/eu-production/us-demo/eu-demo]
|
|
29
29
|
attr_accessor :digicert_url
|
|
30
30
|
|
|
31
|
+
# Fixed wait after TXT publish (e.g. 30s, 2m). If omitted with pre-check on, no extra sleep (polling only). If omitted with --dns-skip-precheck, gateway uses 30s. DNS challenge only
|
|
32
|
+
attr_accessor :dns_propagation_wait
|
|
33
|
+
|
|
34
|
+
# Custom DNS resolvers (ip:port) for DNS-01. Repeat for multiple. If omitted, Lego uses /etc/resolv.conf or Google Public DNS. DNS challenge only
|
|
35
|
+
attr_accessor :dns_resolvers
|
|
36
|
+
|
|
37
|
+
# Skip DNS TXT pre-check before CA validation. If --dns-propagation-wait is omitted and this flag is set, gateway waits 30s before CA validation. DNS challenge only
|
|
38
|
+
attr_accessor :dns_skip_precheck
|
|
39
|
+
|
|
31
40
|
# Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP, Cloudflare
|
|
32
41
|
attr_accessor :dns_target_creds
|
|
33
42
|
|
|
43
|
+
# Per-query DNS lookup timeout during pre-check (e.g. 10s), not total poll time. If omitted with pre-check on, Lego library default applies (10s per query on Linux). Ignored when --dns-skip-precheck is set. DNS challenge only
|
|
44
|
+
attr_accessor :dns_timeout
|
|
45
|
+
|
|
34
46
|
# Cloudflare DNS zone identifier. Required when DNS credentials target is Cloudflare
|
|
35
47
|
attr_accessor :dns_zone
|
|
36
48
|
|
|
@@ -95,7 +107,11 @@ module Akeyless
|
|
|
95
107
|
:'delete_protection' => :'delete_protection',
|
|
96
108
|
:'description' => :'description',
|
|
97
109
|
:'digicert_url' => :'digicert-url',
|
|
110
|
+
:'dns_propagation_wait' => :'dns-propagation-wait',
|
|
111
|
+
:'dns_resolvers' => :'dns-resolvers',
|
|
112
|
+
:'dns_skip_precheck' => :'dns-skip-precheck',
|
|
98
113
|
:'dns_target_creds' => :'dns-target-creds',
|
|
114
|
+
:'dns_timeout' => :'dns-timeout',
|
|
99
115
|
:'dns_zone' => :'dns-zone',
|
|
100
116
|
:'eab_hmac_key' => :'eab-hmac-key',
|
|
101
117
|
:'eab_key_id' => :'eab-key-id',
|
|
@@ -130,7 +146,11 @@ module Akeyless
|
|
|
130
146
|
:'delete_protection' => :'String',
|
|
131
147
|
:'description' => :'String',
|
|
132
148
|
:'digicert_url' => :'String',
|
|
149
|
+
:'dns_propagation_wait' => :'String',
|
|
150
|
+
:'dns_resolvers' => :'Array<String>',
|
|
151
|
+
:'dns_skip_precheck' => :'Boolean',
|
|
133
152
|
:'dns_target_creds' => :'String',
|
|
153
|
+
:'dns_timeout' => :'String',
|
|
134
154
|
:'dns_zone' => :'String',
|
|
135
155
|
:'eab_hmac_key' => :'String',
|
|
136
156
|
:'eab_key_id' => :'String',
|
|
@@ -194,10 +214,28 @@ module Akeyless
|
|
|
194
214
|
self.digicert_url = 'us-production'
|
|
195
215
|
end
|
|
196
216
|
|
|
217
|
+
if attributes.key?(:'dns_propagation_wait')
|
|
218
|
+
self.dns_propagation_wait = attributes[:'dns_propagation_wait']
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
if attributes.key?(:'dns_resolvers')
|
|
222
|
+
if (value = attributes[:'dns_resolvers']).is_a?(Array)
|
|
223
|
+
self.dns_resolvers = value
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'dns_skip_precheck')
|
|
228
|
+
self.dns_skip_precheck = attributes[:'dns_skip_precheck']
|
|
229
|
+
end
|
|
230
|
+
|
|
197
231
|
if attributes.key?(:'dns_target_creds')
|
|
198
232
|
self.dns_target_creds = attributes[:'dns_target_creds']
|
|
199
233
|
end
|
|
200
234
|
|
|
235
|
+
if attributes.key?(:'dns_timeout')
|
|
236
|
+
self.dns_timeout = attributes[:'dns_timeout']
|
|
237
|
+
end
|
|
238
|
+
|
|
201
239
|
if attributes.key?(:'dns_zone')
|
|
202
240
|
self.dns_zone = attributes[:'dns_zone']
|
|
203
241
|
end
|
|
@@ -317,7 +355,11 @@ module Akeyless
|
|
|
317
355
|
delete_protection == o.delete_protection &&
|
|
318
356
|
description == o.description &&
|
|
319
357
|
digicert_url == o.digicert_url &&
|
|
358
|
+
dns_propagation_wait == o.dns_propagation_wait &&
|
|
359
|
+
dns_resolvers == o.dns_resolvers &&
|
|
360
|
+
dns_skip_precheck == o.dns_skip_precheck &&
|
|
320
361
|
dns_target_creds == o.dns_target_creds &&
|
|
362
|
+
dns_timeout == o.dns_timeout &&
|
|
321
363
|
dns_zone == o.dns_zone &&
|
|
322
364
|
eab_hmac_key == o.eab_hmac_key &&
|
|
323
365
|
eab_key_id == o.eab_key_id &&
|
|
@@ -348,7 +390,7 @@ module Akeyless
|
|
|
348
390
|
# Calculates hash code according to all attributes.
|
|
349
391
|
# @return [Integer] Hash code
|
|
350
392
|
def hash
|
|
351
|
-
[acme_challenge, delete_protection, description, digicert_url, dns_target_creds, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, json, keep_prev_version, key, lock_on_read, lock_ttl, max_versions, name, new_name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
393
|
+
[acme_challenge, delete_protection, description, digicert_url, dns_propagation_wait, dns_resolvers, dns_skip_precheck, dns_target_creds, dns_timeout, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, json, keep_prev_version, key, lock_on_read, lock_ttl, max_versions, name, new_name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
352
394
|
end
|
|
353
395
|
|
|
354
396
|
# Builds the object from hash
|
|
@@ -25,9 +25,21 @@ module Akeyless
|
|
|
25
25
|
# Description of the object
|
|
26
26
|
attr_accessor :description
|
|
27
27
|
|
|
28
|
+
# Fixed wait after TXT publish (e.g. 30s, 2m). If omitted with pre-check on, no extra sleep (polling only). If omitted with --dns-skip-precheck, gateway uses 30s. DNS challenge only
|
|
29
|
+
attr_accessor :dns_propagation_wait
|
|
30
|
+
|
|
31
|
+
# Custom DNS resolvers (ip:port) for DNS-01. Repeat for multiple. If omitted, Lego uses /etc/resolv.conf or Google Public DNS. DNS challenge only
|
|
32
|
+
attr_accessor :dns_resolvers
|
|
33
|
+
|
|
34
|
+
# Skip DNS TXT pre-check before CA validation. If --dns-propagation-wait is omitted and this flag is set, gateway waits 30s before CA validation. DNS challenge only
|
|
35
|
+
attr_accessor :dns_skip_precheck
|
|
36
|
+
|
|
28
37
|
# Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP, Cloudflare
|
|
29
38
|
attr_accessor :dns_target_creds
|
|
30
39
|
|
|
40
|
+
# Per-query DNS lookup timeout during pre-check (e.g. 10s), not total poll time. If omitted with pre-check on, Lego library default applies (10s per query on Linux). Ignored when --dns-skip-precheck is set. DNS challenge only
|
|
41
|
+
attr_accessor :dns_timeout
|
|
42
|
+
|
|
31
43
|
# Cloudflare DNS zone identifier. Required when DNS credentials target is Cloudflare
|
|
32
44
|
attr_accessor :dns_zone
|
|
33
45
|
|
|
@@ -94,7 +106,11 @@ module Akeyless
|
|
|
94
106
|
:'acme_challenge' => :'acme-challenge',
|
|
95
107
|
:'delete_protection' => :'delete_protection',
|
|
96
108
|
:'description' => :'description',
|
|
109
|
+
:'dns_propagation_wait' => :'dns-propagation-wait',
|
|
110
|
+
:'dns_resolvers' => :'dns-resolvers',
|
|
111
|
+
:'dns_skip_precheck' => :'dns-skip-precheck',
|
|
97
112
|
:'dns_target_creds' => :'dns-target-creds',
|
|
113
|
+
:'dns_timeout' => :'dns-timeout',
|
|
98
114
|
:'dns_zone' => :'dns-zone',
|
|
99
115
|
:'eab_hmac_key' => :'eab-hmac-key',
|
|
100
116
|
:'eab_key_id' => :'eab-key-id',
|
|
@@ -129,7 +145,11 @@ module Akeyless
|
|
|
129
145
|
:'acme_challenge' => :'String',
|
|
130
146
|
:'delete_protection' => :'String',
|
|
131
147
|
:'description' => :'String',
|
|
148
|
+
:'dns_propagation_wait' => :'String',
|
|
149
|
+
:'dns_resolvers' => :'Array<String>',
|
|
150
|
+
:'dns_skip_precheck' => :'Boolean',
|
|
132
151
|
:'dns_target_creds' => :'String',
|
|
152
|
+
:'dns_timeout' => :'String',
|
|
133
153
|
:'dns_zone' => :'String',
|
|
134
154
|
:'eab_hmac_key' => :'String',
|
|
135
155
|
:'eab_key_id' => :'String',
|
|
@@ -188,10 +208,28 @@ module Akeyless
|
|
|
188
208
|
self.description = attributes[:'description']
|
|
189
209
|
end
|
|
190
210
|
|
|
211
|
+
if attributes.key?(:'dns_propagation_wait')
|
|
212
|
+
self.dns_propagation_wait = attributes[:'dns_propagation_wait']
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
if attributes.key?(:'dns_resolvers')
|
|
216
|
+
if (value = attributes[:'dns_resolvers']).is_a?(Array)
|
|
217
|
+
self.dns_resolvers = value
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
if attributes.key?(:'dns_skip_precheck')
|
|
222
|
+
self.dns_skip_precheck = attributes[:'dns_skip_precheck']
|
|
223
|
+
end
|
|
224
|
+
|
|
191
225
|
if attributes.key?(:'dns_target_creds')
|
|
192
226
|
self.dns_target_creds = attributes[:'dns_target_creds']
|
|
193
227
|
end
|
|
194
228
|
|
|
229
|
+
if attributes.key?(:'dns_timeout')
|
|
230
|
+
self.dns_timeout = attributes[:'dns_timeout']
|
|
231
|
+
end
|
|
232
|
+
|
|
195
233
|
if attributes.key?(:'dns_zone')
|
|
196
234
|
self.dns_zone = attributes[:'dns_zone']
|
|
197
235
|
end
|
|
@@ -316,7 +354,11 @@ module Akeyless
|
|
|
316
354
|
acme_challenge == o.acme_challenge &&
|
|
317
355
|
delete_protection == o.delete_protection &&
|
|
318
356
|
description == o.description &&
|
|
357
|
+
dns_propagation_wait == o.dns_propagation_wait &&
|
|
358
|
+
dns_resolvers == o.dns_resolvers &&
|
|
359
|
+
dns_skip_precheck == o.dns_skip_precheck &&
|
|
319
360
|
dns_target_creds == o.dns_target_creds &&
|
|
361
|
+
dns_timeout == o.dns_timeout &&
|
|
320
362
|
dns_zone == o.dns_zone &&
|
|
321
363
|
eab_hmac_key == o.eab_hmac_key &&
|
|
322
364
|
eab_key_id == o.eab_key_id &&
|
|
@@ -348,7 +390,7 @@ module Akeyless
|
|
|
348
390
|
# Calculates hash code according to all attributes.
|
|
349
391
|
# @return [Integer] Hash code
|
|
350
392
|
def hash
|
|
351
|
-
[acme_challenge, delete_protection, description, dns_target_creds, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, keep_prev_version, key, lock_on_read, lock_ttl, max_versions, name, new_name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
393
|
+
[acme_challenge, delete_protection, description, dns_propagation_wait, dns_resolvers, dns_skip_precheck, dns_target_creds, dns_timeout, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, keep_prev_version, key, lock_on_read, lock_ttl, max_versions, name, new_name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
352
394
|
end
|
|
353
395
|
|
|
354
396
|
# Builds the object from hash
|
|
@@ -73,6 +73,9 @@ module Akeyless
|
|
|
73
73
|
# The universal identity token, Required only for universal_identity authentication
|
|
74
74
|
attr_accessor :uid_token
|
|
75
75
|
|
|
76
|
+
# Username returned for Rotated Secrets. Use the format required by your application, such as sAMAccountName, with or without the domain.
|
|
77
|
+
attr_accessor :username
|
|
78
|
+
|
|
76
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
77
80
|
def self.attribute_map
|
|
78
81
|
{
|
|
@@ -94,7 +97,8 @@ module Akeyless
|
|
|
94
97
|
:'server_type' => :'server-type',
|
|
95
98
|
:'token' => :'token',
|
|
96
99
|
:'token_expiration' => :'token-expiration',
|
|
97
|
-
:'uid_token' => :'uid-token'
|
|
100
|
+
:'uid_token' => :'uid-token',
|
|
101
|
+
:'username' => :'username'
|
|
98
102
|
}
|
|
99
103
|
end
|
|
100
104
|
|
|
@@ -124,7 +128,8 @@ module Akeyless
|
|
|
124
128
|
:'server_type' => :'String',
|
|
125
129
|
:'token' => :'String',
|
|
126
130
|
:'token_expiration' => :'String',
|
|
127
|
-
:'uid_token' => :'String'
|
|
131
|
+
:'uid_token' => :'String',
|
|
132
|
+
:'username' => :'String'
|
|
128
133
|
}
|
|
129
134
|
end
|
|
130
135
|
|
|
@@ -234,6 +239,10 @@ module Akeyless
|
|
|
234
239
|
if attributes.key?(:'uid_token')
|
|
235
240
|
self.uid_token = attributes[:'uid_token']
|
|
236
241
|
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'username')
|
|
244
|
+
self.username = attributes[:'username']
|
|
245
|
+
end
|
|
237
246
|
end
|
|
238
247
|
|
|
239
248
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -294,7 +303,8 @@ module Akeyless
|
|
|
294
303
|
server_type == o.server_type &&
|
|
295
304
|
token == o.token &&
|
|
296
305
|
token_expiration == o.token_expiration &&
|
|
297
|
-
uid_token == o.uid_token
|
|
306
|
+
uid_token == o.uid_token &&
|
|
307
|
+
username == o.username
|
|
298
308
|
end
|
|
299
309
|
|
|
300
310
|
# @see the `==` method
|
|
@@ -306,7 +316,7 @@ module Akeyless
|
|
|
306
316
|
# Calculates hash code according to all attributes.
|
|
307
317
|
# @return [Integer] Hash code
|
|
308
318
|
def hash
|
|
309
|
-
[bind_dn, bind_dn_password, delete_protection, description, json, keep_prev_version, key, ldap_ca_cert, ldap_url, lock_on_read, lock_ttl, max_versions, name, new_name, rotate_on_unlock, server_type, token, token_expiration, uid_token].hash
|
|
319
|
+
[bind_dn, bind_dn_password, delete_protection, description, json, keep_prev_version, key, ldap_ca_cert, ldap_url, lock_on_read, lock_ttl, max_versions, name, new_name, rotate_on_unlock, server_type, token, token_expiration, uid_token, username].hash
|
|
310
320
|
end
|
|
311
321
|
|
|
312
322
|
# Builds the object from hash
|