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
|
@@ -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
|
|
|
@@ -85,7 +97,11 @@ module Akeyless
|
|
|
85
97
|
:'acme_challenge' => :'acme-challenge',
|
|
86
98
|
:'delete_protection' => :'delete_protection',
|
|
87
99
|
:'description' => :'description',
|
|
100
|
+
:'dns_propagation_wait' => :'dns-propagation-wait',
|
|
101
|
+
:'dns_resolvers' => :'dns-resolvers',
|
|
102
|
+
:'dns_skip_precheck' => :'dns-skip-precheck',
|
|
88
103
|
:'dns_target_creds' => :'dns-target-creds',
|
|
104
|
+
:'dns_timeout' => :'dns-timeout',
|
|
89
105
|
:'dns_zone' => :'dns-zone',
|
|
90
106
|
:'email' => :'email',
|
|
91
107
|
:'gcp_project' => :'gcp-project',
|
|
@@ -118,7 +134,11 @@ module Akeyless
|
|
|
118
134
|
:'acme_challenge' => :'String',
|
|
119
135
|
:'delete_protection' => :'String',
|
|
120
136
|
:'description' => :'String',
|
|
137
|
+
:'dns_propagation_wait' => :'String',
|
|
138
|
+
:'dns_resolvers' => :'Array<String>',
|
|
139
|
+
:'dns_skip_precheck' => :'Boolean',
|
|
121
140
|
:'dns_target_creds' => :'String',
|
|
141
|
+
:'dns_timeout' => :'String',
|
|
122
142
|
:'dns_zone' => :'String',
|
|
123
143
|
:'email' => :'String',
|
|
124
144
|
:'gcp_project' => :'String',
|
|
@@ -175,10 +195,28 @@ module Akeyless
|
|
|
175
195
|
self.description = attributes[:'description']
|
|
176
196
|
end
|
|
177
197
|
|
|
198
|
+
if attributes.key?(:'dns_propagation_wait')
|
|
199
|
+
self.dns_propagation_wait = attributes[:'dns_propagation_wait']
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
if attributes.key?(:'dns_resolvers')
|
|
203
|
+
if (value = attributes[:'dns_resolvers']).is_a?(Array)
|
|
204
|
+
self.dns_resolvers = value
|
|
205
|
+
end
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
if attributes.key?(:'dns_skip_precheck')
|
|
209
|
+
self.dns_skip_precheck = attributes[:'dns_skip_precheck']
|
|
210
|
+
end
|
|
211
|
+
|
|
178
212
|
if attributes.key?(:'dns_target_creds')
|
|
179
213
|
self.dns_target_creds = attributes[:'dns_target_creds']
|
|
180
214
|
end
|
|
181
215
|
|
|
216
|
+
if attributes.key?(:'dns_timeout')
|
|
217
|
+
self.dns_timeout = attributes[:'dns_timeout']
|
|
218
|
+
end
|
|
219
|
+
|
|
182
220
|
if attributes.key?(:'dns_zone')
|
|
183
221
|
self.dns_zone = attributes[:'dns_zone']
|
|
184
222
|
end
|
|
@@ -295,7 +333,11 @@ module Akeyless
|
|
|
295
333
|
acme_challenge == o.acme_challenge &&
|
|
296
334
|
delete_protection == o.delete_protection &&
|
|
297
335
|
description == o.description &&
|
|
336
|
+
dns_propagation_wait == o.dns_propagation_wait &&
|
|
337
|
+
dns_resolvers == o.dns_resolvers &&
|
|
338
|
+
dns_skip_precheck == o.dns_skip_precheck &&
|
|
298
339
|
dns_target_creds == o.dns_target_creds &&
|
|
340
|
+
dns_timeout == o.dns_timeout &&
|
|
299
341
|
dns_zone == o.dns_zone &&
|
|
300
342
|
email == o.email &&
|
|
301
343
|
gcp_project == o.gcp_project &&
|
|
@@ -325,7 +367,7 @@ module Akeyless
|
|
|
325
367
|
# Calculates hash code according to all attributes.
|
|
326
368
|
# @return [Integer] Hash code
|
|
327
369
|
def hash
|
|
328
|
-
[acme_challenge, delete_protection, description, dns_target_creds, dns_zone, email, gcp_project, hosted_zone, json, keep_prev_version, key, lets_encrypt_url, lock_on_read, lock_ttl, max_versions, name, new_name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
370
|
+
[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, keep_prev_version, key, lets_encrypt_url, lock_on_read, lock_ttl, max_versions, name, new_name, resource_group, rotate_on_unlock, timeout, token, uid_token].hash
|
|
329
371
|
end
|
|
330
372
|
|
|
331
373
|
# Builds the object from hash
|
|
@@ -76,6 +76,9 @@ module Akeyless
|
|
|
76
76
|
# Deprecated
|
|
77
77
|
attr_accessor :update_version
|
|
78
78
|
|
|
79
|
+
# Username returned for Rotated Secrets. Use the format required by your application, such as sAMAccountName, with or without the domain.
|
|
80
|
+
attr_accessor :username
|
|
81
|
+
|
|
79
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
80
83
|
def self.attribute_map
|
|
81
84
|
{
|
|
@@ -98,7 +101,8 @@ module Akeyless
|
|
|
98
101
|
:'token' => :'token',
|
|
99
102
|
:'token_expiration' => :'token-expiration',
|
|
100
103
|
:'uid_token' => :'uid-token',
|
|
101
|
-
:'update_version' => :'update-version'
|
|
104
|
+
:'update_version' => :'update-version',
|
|
105
|
+
:'username' => :'username'
|
|
102
106
|
}
|
|
103
107
|
end
|
|
104
108
|
|
|
@@ -129,7 +133,8 @@ module Akeyless
|
|
|
129
133
|
:'token' => :'String',
|
|
130
134
|
:'token_expiration' => :'String',
|
|
131
135
|
:'uid_token' => :'String',
|
|
132
|
-
:'update_version' => :'Boolean'
|
|
136
|
+
:'update_version' => :'Boolean',
|
|
137
|
+
:'username' => :'String'
|
|
133
138
|
}
|
|
134
139
|
end
|
|
135
140
|
|
|
@@ -243,6 +248,10 @@ module Akeyless
|
|
|
243
248
|
if attributes.key?(:'update_version')
|
|
244
249
|
self.update_version = attributes[:'update_version']
|
|
245
250
|
end
|
|
251
|
+
|
|
252
|
+
if attributes.key?(:'username')
|
|
253
|
+
self.username = attributes[:'username']
|
|
254
|
+
end
|
|
246
255
|
end
|
|
247
256
|
|
|
248
257
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -304,7 +313,8 @@ module Akeyless
|
|
|
304
313
|
token == o.token &&
|
|
305
314
|
token_expiration == o.token_expiration &&
|
|
306
315
|
uid_token == o.uid_token &&
|
|
307
|
-
update_version == o.update_version
|
|
316
|
+
update_version == o.update_version &&
|
|
317
|
+
username == o.username
|
|
308
318
|
end
|
|
309
319
|
|
|
310
320
|
# @see the `==` method
|
|
@@ -316,7 +326,7 @@ module Akeyless
|
|
|
316
326
|
# Calculates hash code according to all attributes.
|
|
317
327
|
# @return [Integer] Hash code
|
|
318
328
|
def hash
|
|
319
|
-
[bind_dn, bind_dn_password, comment, 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, update_version].hash
|
|
329
|
+
[bind_dn, bind_dn_password, comment, 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, update_version, username].hash
|
|
320
330
|
end
|
|
321
331
|
|
|
322
332
|
# Builds the object from hash
|
|
@@ -84,6 +84,9 @@ module Akeyless
|
|
|
84
84
|
# If set, the cert issuer will support the acme protocol
|
|
85
85
|
attr_accessor :enable_acme
|
|
86
86
|
|
|
87
|
+
# If set, the cert issuer will support the scep protocol
|
|
88
|
+
attr_accessor :enable_scep
|
|
89
|
+
|
|
87
90
|
# How many days before the expiration of the certificate would you like to be notified.
|
|
88
91
|
attr_accessor :expiration_event_in
|
|
89
92
|
|
|
@@ -144,6 +147,12 @@ module Akeyless
|
|
|
144
147
|
# List of the existent tags that will be removed from this item
|
|
145
148
|
attr_accessor :rm_tag
|
|
146
149
|
|
|
150
|
+
# SCEP challenge type. Only static is supported in this stage
|
|
151
|
+
attr_accessor :scep_challenge_type
|
|
152
|
+
|
|
153
|
+
# SCEP static challenge password. Request-only; never returned by Describe
|
|
154
|
+
attr_accessor :scep_password
|
|
155
|
+
|
|
147
156
|
# Number of days before expiration to renew certificates
|
|
148
157
|
attr_accessor :scheduled_renew
|
|
149
158
|
|
|
@@ -194,6 +203,7 @@ module Akeyless
|
|
|
194
203
|
:'destination_path' => :'destination-path',
|
|
195
204
|
:'disable_wildcards' => :'disable-wildcards',
|
|
196
205
|
:'enable_acme' => :'enable-acme',
|
|
206
|
+
:'enable_scep' => :'enable-scep',
|
|
197
207
|
:'expiration_event_in' => :'expiration-event-in',
|
|
198
208
|
:'gw_cluster_url' => :'gw-cluster-url',
|
|
199
209
|
:'is_ca' => :'is-ca',
|
|
@@ -214,6 +224,8 @@ module Akeyless
|
|
|
214
224
|
:'protect_certificates' => :'protect-certificates',
|
|
215
225
|
:'province' => :'province',
|
|
216
226
|
:'rm_tag' => :'rm-tag',
|
|
227
|
+
:'scep_challenge_type' => :'scep-challenge-type',
|
|
228
|
+
:'scep_password' => :'scep-password',
|
|
217
229
|
:'scheduled_renew' => :'scheduled-renew',
|
|
218
230
|
:'server_flag' => :'server-flag',
|
|
219
231
|
:'signer_key_name' => :'signer-key-name',
|
|
@@ -256,6 +268,7 @@ module Akeyless
|
|
|
256
268
|
:'destination_path' => :'String',
|
|
257
269
|
:'disable_wildcards' => :'Boolean',
|
|
258
270
|
:'enable_acme' => :'Boolean',
|
|
271
|
+
:'enable_scep' => :'Boolean',
|
|
259
272
|
:'expiration_event_in' => :'Array<String>',
|
|
260
273
|
:'gw_cluster_url' => :'String',
|
|
261
274
|
:'is_ca' => :'Boolean',
|
|
@@ -276,6 +289,8 @@ module Akeyless
|
|
|
276
289
|
:'protect_certificates' => :'Boolean',
|
|
277
290
|
:'province' => :'String',
|
|
278
291
|
:'rm_tag' => :'Array<String>',
|
|
292
|
+
:'scep_challenge_type' => :'String',
|
|
293
|
+
:'scep_password' => :'String',
|
|
279
294
|
:'scheduled_renew' => :'Integer',
|
|
280
295
|
:'server_flag' => :'Boolean',
|
|
281
296
|
:'signer_key_name' => :'String',
|
|
@@ -404,6 +419,10 @@ module Akeyless
|
|
|
404
419
|
self.enable_acme = attributes[:'enable_acme']
|
|
405
420
|
end
|
|
406
421
|
|
|
422
|
+
if attributes.key?(:'enable_scep')
|
|
423
|
+
self.enable_scep = attributes[:'enable_scep']
|
|
424
|
+
end
|
|
425
|
+
|
|
407
426
|
if attributes.key?(:'expiration_event_in')
|
|
408
427
|
if (value = attributes[:'expiration_event_in']).is_a?(Array)
|
|
409
428
|
self.expiration_event_in = value
|
|
@@ -498,6 +517,14 @@ module Akeyless
|
|
|
498
517
|
end
|
|
499
518
|
end
|
|
500
519
|
|
|
520
|
+
if attributes.key?(:'scep_challenge_type')
|
|
521
|
+
self.scep_challenge_type = attributes[:'scep_challenge_type']
|
|
522
|
+
end
|
|
523
|
+
|
|
524
|
+
if attributes.key?(:'scep_password')
|
|
525
|
+
self.scep_password = attributes[:'scep_password']
|
|
526
|
+
end
|
|
527
|
+
|
|
501
528
|
if attributes.key?(:'scheduled_renew')
|
|
502
529
|
self.scheduled_renew = attributes[:'scheduled_renew']
|
|
503
530
|
end
|
|
@@ -586,6 +613,7 @@ module Akeyless
|
|
|
586
613
|
destination_path == o.destination_path &&
|
|
587
614
|
disable_wildcards == o.disable_wildcards &&
|
|
588
615
|
enable_acme == o.enable_acme &&
|
|
616
|
+
enable_scep == o.enable_scep &&
|
|
589
617
|
expiration_event_in == o.expiration_event_in &&
|
|
590
618
|
gw_cluster_url == o.gw_cluster_url &&
|
|
591
619
|
is_ca == o.is_ca &&
|
|
@@ -606,6 +634,8 @@ module Akeyless
|
|
|
606
634
|
protect_certificates == o.protect_certificates &&
|
|
607
635
|
province == o.province &&
|
|
608
636
|
rm_tag == o.rm_tag &&
|
|
637
|
+
scep_challenge_type == o.scep_challenge_type &&
|
|
638
|
+
scep_password == o.scep_password &&
|
|
609
639
|
scheduled_renew == o.scheduled_renew &&
|
|
610
640
|
server_flag == o.server_flag &&
|
|
611
641
|
signer_key_name == o.signer_key_name &&
|
|
@@ -625,7 +655,7 @@ module Akeyless
|
|
|
625
655
|
# Calculates hash code according to all attributes.
|
|
626
656
|
# @return [Integer] Hash code
|
|
627
657
|
def hash
|
|
628
|
-
[add_tag, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew, basic_constraints, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, critical_key_usage, delete_protection, description, destination_path, disable_wildcards, enable_acme, expiration_event_in, gw_cluster_url, is_ca, item_custom_fields, json, key_usage, locality, max_path_len, metadata, name, new_name, not_enforce_hostnames, not_require_cn, ocsp_ttl, organizational_units, organizations, postal_code, protect_certificates, province, rm_tag, scheduled_renew, server_flag, signer_key_name, split_certificate_chain, street_address, token, ttl, uid_token].hash
|
|
658
|
+
[add_tag, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew, basic_constraints, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, critical_key_usage, delete_protection, description, destination_path, disable_wildcards, enable_acme, enable_scep, expiration_event_in, gw_cluster_url, is_ca, item_custom_fields, json, key_usage, locality, max_path_len, metadata, name, new_name, not_enforce_hostnames, not_require_cn, ocsp_ttl, organizational_units, organizations, postal_code, protect_certificates, province, rm_tag, scep_challenge_type, scep_password, scheduled_renew, server_flag, signer_key_name, split_certificate_chain, street_address, token, ttl, uid_token].hash
|
|
629
659
|
end
|
|
630
660
|
|
|
631
661
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -147,6 +147,8 @@ require 'akeyless/models/classic_key_details_info'
|
|
|
147
147
|
require 'akeyless/models/classic_key_status_info'
|
|
148
148
|
require 'akeyless/models/classic_key_target_info'
|
|
149
149
|
require 'akeyless/models/client_data'
|
|
150
|
+
require 'akeyless/models/client_event'
|
|
151
|
+
require 'akeyless/models/client_event_output'
|
|
150
152
|
require 'akeyless/models/client_usage_info'
|
|
151
153
|
require 'akeyless/models/clients_usage_report'
|
|
152
154
|
require 'akeyless/models/cloudflare_target_details'
|
|
@@ -666,6 +668,8 @@ require 'akeyless/models/generate_ca'
|
|
|
666
668
|
require 'akeyless/models/generate_ca_output'
|
|
667
669
|
require 'akeyless/models/generate_csr'
|
|
668
670
|
require 'akeyless/models/generate_csr_output'
|
|
671
|
+
require 'akeyless/models/generate_intermediate_ca'
|
|
672
|
+
require 'akeyless/models/generate_intermediate_ca_output'
|
|
669
673
|
require 'akeyless/models/get_account_settings'
|
|
670
674
|
require 'akeyless/models/get_account_settings_command_output'
|
|
671
675
|
require 'akeyless/models/get_analytics_data'
|
|
@@ -730,6 +734,7 @@ require 'akeyless/models/huawei_access_rules'
|
|
|
730
734
|
require 'akeyless/models/import_passwords'
|
|
731
735
|
require 'akeyless/models/import_passwords_output'
|
|
732
736
|
require 'akeyless/models/importer_info'
|
|
737
|
+
require 'akeyless/models/injector_certificate_event'
|
|
733
738
|
require 'akeyless/models/issuer_overview_info'
|
|
734
739
|
require 'akeyless/models/item'
|
|
735
740
|
require 'akeyless/models/item_custom_fields_details'
|
|
@@ -929,6 +934,7 @@ require 'akeyless/models/rotated_secret_create_ldap'
|
|
|
929
934
|
require 'akeyless/models/rotated_secret_create_mongodb'
|
|
930
935
|
require 'akeyless/models/rotated_secret_create_mssql'
|
|
931
936
|
require 'akeyless/models/rotated_secret_create_mysql'
|
|
937
|
+
require 'akeyless/models/rotated_secret_create_okta'
|
|
932
938
|
require 'akeyless/models/rotated_secret_create_open_ai'
|
|
933
939
|
require 'akeyless/models/rotated_secret_create_oracledb'
|
|
934
940
|
require 'akeyless/models/rotated_secret_create_output'
|
|
@@ -960,6 +966,7 @@ require 'akeyless/models/rotated_secret_update_ldap'
|
|
|
960
966
|
require 'akeyless/models/rotated_secret_update_mongodb'
|
|
961
967
|
require 'akeyless/models/rotated_secret_update_mssql'
|
|
962
968
|
require 'akeyless/models/rotated_secret_update_mysql'
|
|
969
|
+
require 'akeyless/models/rotated_secret_update_okta'
|
|
963
970
|
require 'akeyless/models/rotated_secret_update_open_ai'
|
|
964
971
|
require 'akeyless/models/rotated_secret_update_oracledb'
|
|
965
972
|
require 'akeyless/models/rotated_secret_update_output'
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::ClientEventOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::ClientEventOutput do
|
|
21
|
+
let(:instance) { Akeyless::ClientEventOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ClientEventOutput' do
|
|
24
|
+
it 'should create an instance of ClientEventOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::ClientEventOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "response"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::ClientEvent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::ClientEvent do
|
|
21
|
+
let(:instance) { Akeyless::ClientEvent.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ClientEvent' do
|
|
24
|
+
it 'should create an instance of ClientEvent' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::ClientEvent)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "event_type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "injector_certificate"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "json"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "token"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "uid_token"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::GenerateIntermediateCAOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::GenerateIntermediateCAOutput do
|
|
21
|
+
let(:instance) { Akeyless::GenerateIntermediateCAOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GenerateIntermediateCAOutput' do
|
|
24
|
+
it 'should create an instance of GenerateIntermediateCAOutput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::GenerateIntermediateCAOutput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "certificate_name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "issuer_display_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "issuer_name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "key_name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "scep_url"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::GenerateIntermediateCA
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::GenerateIntermediateCA do
|
|
21
|
+
let(:instance) { Akeyless::GenerateIntermediateCA.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GenerateIntermediateCA' do
|
|
24
|
+
it 'should create an instance of GenerateIntermediateCA' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::GenerateIntermediateCA)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "alg"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "allowed_domains"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "common_name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "delete_protection"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "destination_path"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "enable_scep"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "extended_key_usage"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "json"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "max_path_len"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "name"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "parent_ca_name"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "scep_password"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "split_level"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
describe 'test attribute "token"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "ttl"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "uid_token"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::InjectorCertificateEvent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::InjectorCertificateEvent do
|
|
21
|
+
let(:instance) { Akeyless::InjectorCertificateEvent.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of InjectorCertificateEvent' do
|
|
24
|
+
it 'should create an instance of InjectorCertificateEvent' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::InjectorCertificateEvent)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "fingerprint_sha256"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "injector_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "injector_namespace"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "installation_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "not_after"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "threshold"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
end
|