akeyless 3.0.1 → 3.1.1
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 +36 -3
- data/docs/AttributeTypeAndValue.md +20 -0
- data/docs/CertificateChainInfo.md +22 -0
- data/docs/CertificateExpirationEvent.md +18 -0
- data/docs/CertificateInfo.md +62 -0
- data/docs/Connect.md +2 -0
- data/docs/CreateCertificate.md +38 -0
- data/docs/CreateCertificateOutput.md +18 -0
- data/docs/CreateEventForwarder.md +48 -0
- data/docs/CreateEventForwarderOutput.md +18 -0
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/DeleteEventForwarder.md +24 -0
- data/docs/EmailEntry.md +20 -0
- data/docs/Extension.md +22 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateTlsCert.md +26 -0
- data/docs/GatewayUpdateTlsCertOutput.md +18 -0
- data/docs/GetCertificateValue.md +26 -0
- data/docs/GetCertificateValueOutput.md +20 -0
- data/docs/GetEventForwarder.md +24 -0
- data/docs/GetEventForwarderOutput.md +18 -0
- data/docs/Item.md +4 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ListSRABastions.md +2 -0
- data/docs/ListSharedItems.md +24 -0
- data/docs/Name.md +28 -0
- data/docs/NotiForwarder.md +56 -0
- data/docs/RequestAccess.md +28 -0
- data/docs/RequestAccessOutput.md +18 -0
- data/docs/RotateKey.md +2 -0
- data/docs/Target.md +4 -0
- data/docs/UpdateCertificateOutput.md +18 -0
- data/docs/UpdateCertificateValue.md +32 -0
- data/docs/UpdateEventForwarder.md +40 -0
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/V2Api.md +631 -65
- data/lib/akeyless/api/v2_api.rb +664 -88
- data/lib/akeyless/api_error.rb +1 -0
- data/lib/akeyless/configuration.rb +11 -0
- data/lib/akeyless/models/attribute_type_and_value.rb +231 -0
- data/lib/akeyless/models/certificate_chain_info.rb +241 -0
- data/lib/akeyless/models/certificate_expiration_event.rb +219 -0
- data/lib/akeyless/models/certificate_info.rb +434 -0
- data/lib/akeyless/models/connect.rb +11 -1
- data/lib/akeyless/models/create_certificate.rb +329 -0
- data/lib/akeyless/models/create_certificate_output.rb +219 -0
- data/lib/akeyless/models/create_event_forwarder.rb +394 -0
- data/lib/akeyless/models/create_event_forwarder_output.rb +219 -0
- data/lib/akeyless/models/create_rotated_secret.rb +11 -1
- data/lib/akeyless/models/delete_event_forwarder.rb +255 -0
- data/lib/akeyless/models/email_entry.rb +228 -0
- data/lib/akeyless/models/extension.rb +237 -0
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_tls_cert.rb +261 -0
- data/lib/akeyless/models/gateway_update_tls_cert_output.rb +219 -0
- data/lib/akeyless/models/get_certificate_value.rb +265 -0
- data/lib/akeyless/models/get_certificate_value_output.rb +228 -0
- data/lib/akeyless/models/get_event_forwarder.rb +255 -0
- data/lib/akeyless/models/get_event_forwarder_output.rb +219 -0
- data/lib/akeyless/models/item.rb +19 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/list_shared_items.rb +253 -0
- data/lib/akeyless/models/list_sra_bastions.rb +10 -1
- data/lib/akeyless/models/name.rb +277 -0
- data/lib/akeyless/models/noti_forwarder.rb +400 -0
- data/lib/akeyless/models/request_access.rb +282 -0
- data/lib/akeyless/models/request_access_output.rb +219 -0
- data/lib/akeyless/models/rotate_key.rb +11 -1
- data/lib/akeyless/models/target.rb +19 -1
- data/lib/akeyless/models/update_certificate_output.rb +219 -0
- data/lib/akeyless/models/update_certificate_value.rb +297 -0
- data/lib/akeyless/models/update_event_forwarder.rb +341 -0
- data/lib/akeyless/models/update_rotated_secret.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +25 -1
- data/spec/models/attribute_type_and_value_spec.rb +40 -0
- data/spec/models/certificate_chain_info_spec.rb +46 -0
- data/spec/models/certificate_expiration_event_spec.rb +34 -0
- data/spec/models/certificate_info_spec.rb +166 -0
- data/spec/models/create_certificate_output_spec.rb +34 -0
- data/spec/models/create_certificate_spec.rb +94 -0
- data/spec/models/create_event_forwarder_output_spec.rb +34 -0
- data/spec/models/create_event_forwarder_spec.rb +124 -0
- data/spec/models/delete_event_forwarder_spec.rb +52 -0
- data/spec/models/email_entry_spec.rb +40 -0
- data/spec/models/extension_spec.rb +46 -0
- data/spec/models/gateway_update_tls_cert_output_spec.rb +34 -0
- data/spec/models/gateway_update_tls_cert_spec.rb +58 -0
- data/spec/models/get_certificate_value_output_spec.rb +40 -0
- data/spec/models/get_certificate_value_spec.rb +58 -0
- data/spec/models/get_event_forwarder_output_spec.rb +34 -0
- data/spec/models/get_event_forwarder_spec.rb +52 -0
- data/spec/models/list_shared_items_spec.rb +52 -0
- data/spec/models/name_spec.rb +64 -0
- data/spec/models/noti_forwarder_spec.rb +148 -0
- data/spec/models/request_access_output_spec.rb +34 -0
- data/spec/models/request_access_spec.rb +64 -0
- data/spec/models/update_certificate_output_spec.rb +34 -0
- data/spec/models/update_certificate_value_spec.rb +76 -0
- data/spec/models/update_event_forwarder_spec.rb +100 -0
- metadata +630 -530
data/lib/akeyless.rb
CHANGED
|
@@ -30,6 +30,7 @@ require 'akeyless/models/akeyless_gateway_config'
|
|
|
30
30
|
require 'akeyless/models/allowed_access'
|
|
31
31
|
require 'akeyless/models/assoc_role_auth_method'
|
|
32
32
|
require 'akeyless/models/assoc_target_item'
|
|
33
|
+
require 'akeyless/models/attribute_type_and_value'
|
|
33
34
|
require 'akeyless/models/auth'
|
|
34
35
|
require 'akeyless/models/auth_method'
|
|
35
36
|
require 'akeyless/models/auth_method_access_info'
|
|
@@ -45,6 +46,9 @@ require 'akeyless/models/bastions_list'
|
|
|
45
46
|
require 'akeyless/models/cf_config_part'
|
|
46
47
|
require 'akeyless/models/cache_config_part'
|
|
47
48
|
require 'akeyless/models/cert_access_rules'
|
|
49
|
+
require 'akeyless/models/certificate_chain_info'
|
|
50
|
+
require 'akeyless/models/certificate_expiration_event'
|
|
51
|
+
require 'akeyless/models/certificate_info'
|
|
48
52
|
require 'akeyless/models/certificate_issue_info'
|
|
49
53
|
require 'akeyless/models/classic_key_details_info'
|
|
50
54
|
require 'akeyless/models/classic_key_status_info'
|
|
@@ -85,6 +89,8 @@ require 'akeyless/models/create_auth_method_universal_identity'
|
|
|
85
89
|
require 'akeyless/models/create_auth_method_universal_identity_output'
|
|
86
90
|
require 'akeyless/models/create_azure_target'
|
|
87
91
|
require 'akeyless/models/create_azure_target_output'
|
|
92
|
+
require 'akeyless/models/create_certificate'
|
|
93
|
+
require 'akeyless/models/create_certificate_output'
|
|
88
94
|
require 'akeyless/models/create_classic_key'
|
|
89
95
|
require 'akeyless/models/create_classic_key_output'
|
|
90
96
|
require 'akeyless/models/create_db_target'
|
|
@@ -96,6 +102,8 @@ require 'akeyless/models/create_dockerhub_target_output'
|
|
|
96
102
|
require 'akeyless/models/create_dynamic_secret'
|
|
97
103
|
require 'akeyless/models/create_eks_target'
|
|
98
104
|
require 'akeyless/models/create_eks_target_output'
|
|
105
|
+
require 'akeyless/models/create_event_forwarder'
|
|
106
|
+
require 'akeyless/models/create_event_forwarder_output'
|
|
99
107
|
require 'akeyless/models/create_gke_target'
|
|
100
108
|
require 'akeyless/models/create_gke_target_output'
|
|
101
109
|
require 'akeyless/models/create_gcp_target'
|
|
@@ -148,6 +156,7 @@ require 'akeyless/models/delete_auth_method'
|
|
|
148
156
|
require 'akeyless/models/delete_auth_method_output'
|
|
149
157
|
require 'akeyless/models/delete_auth_methods'
|
|
150
158
|
require 'akeyless/models/delete_auth_methods_output'
|
|
159
|
+
require 'akeyless/models/delete_event_forwarder'
|
|
151
160
|
require 'akeyless/models/delete_item'
|
|
152
161
|
require 'akeyless/models/delete_item_output'
|
|
153
162
|
require 'akeyless/models/delete_items'
|
|
@@ -169,6 +178,7 @@ require 'akeyless/models/detokenize'
|
|
|
169
178
|
require 'akeyless/models/detokenize_output'
|
|
170
179
|
require 'akeyless/models/dynamic_secret_producer_info'
|
|
171
180
|
require 'akeyless/models/elasticsearch_log_forwarding_config'
|
|
181
|
+
require 'akeyless/models/email_entry'
|
|
172
182
|
require 'akeyless/models/email_pass_access_rules'
|
|
173
183
|
require 'akeyless/models/email_tokenizer_info'
|
|
174
184
|
require 'akeyless/models/encrypt'
|
|
@@ -179,11 +189,11 @@ require 'akeyless/models/encrypt_with_classic_key'
|
|
|
179
189
|
require 'akeyless/models/encrypt_with_classic_key_output'
|
|
180
190
|
require 'akeyless/models/export_classic_key'
|
|
181
191
|
require 'akeyless/models/export_classic_key_output'
|
|
192
|
+
require 'akeyless/models/extension'
|
|
182
193
|
require 'akeyless/models/external_kms_key_id'
|
|
183
194
|
require 'akeyless/models/gcp_access_rules'
|
|
184
195
|
require 'akeyless/models/gcp_payload'
|
|
185
196
|
require 'akeyless/models/gcp_secrets_migration'
|
|
186
|
-
require 'akeyless/models/gateway_add_allowed_management_access'
|
|
187
197
|
require 'akeyless/models/gateway_create_k8_s_auth_config'
|
|
188
198
|
require 'akeyless/models/gateway_create_k8_s_auth_config_output'
|
|
189
199
|
require 'akeyless/models/gateway_create_migration'
|
|
@@ -323,6 +333,8 @@ require 'akeyless/models/gateway_update_producer_redshift'
|
|
|
323
333
|
require 'akeyless/models/gateway_update_producer_redshift_output'
|
|
324
334
|
require 'akeyless/models/gateway_update_producer_snowflake'
|
|
325
335
|
require 'akeyless/models/gateway_update_producer_snowflake_output'
|
|
336
|
+
require 'akeyless/models/gateway_update_tls_cert'
|
|
337
|
+
require 'akeyless/models/gateway_update_tls_cert_output'
|
|
326
338
|
require 'akeyless/models/gateway_update_tmp_users'
|
|
327
339
|
require 'akeyless/models/gateways_list_response'
|
|
328
340
|
require 'akeyless/models/gen_customer_fragment'
|
|
@@ -330,7 +342,11 @@ require 'akeyless/models/general_config_part'
|
|
|
330
342
|
require 'akeyless/models/get_account_settings'
|
|
331
343
|
require 'akeyless/models/get_account_settings_command_output'
|
|
332
344
|
require 'akeyless/models/get_auth_method'
|
|
345
|
+
require 'akeyless/models/get_certificate_value'
|
|
346
|
+
require 'akeyless/models/get_certificate_value_output'
|
|
333
347
|
require 'akeyless/models/get_dynamic_secret_value'
|
|
348
|
+
require 'akeyless/models/get_event_forwarder'
|
|
349
|
+
require 'akeyless/models/get_event_forwarder_output'
|
|
334
350
|
require 'akeyless/models/get_kube_exec_creds'
|
|
335
351
|
require 'akeyless/models/get_kube_exec_creds_output'
|
|
336
352
|
require 'akeyless/models/get_pki_certificate'
|
|
@@ -402,6 +418,7 @@ require 'akeyless/models/list_items_in_path_output'
|
|
|
402
418
|
require 'akeyless/models/list_roles'
|
|
403
419
|
require 'akeyless/models/list_roles_output'
|
|
404
420
|
require 'akeyless/models/list_sra_bastions'
|
|
421
|
+
require 'akeyless/models/list_shared_items'
|
|
405
422
|
require 'akeyless/models/list_targets'
|
|
406
423
|
require 'akeyless/models/list_targets_output'
|
|
407
424
|
require 'akeyless/models/log_forwarding_config_part'
|
|
@@ -416,6 +433,8 @@ require 'akeyless/models/migrations_config_part'
|
|
|
416
433
|
require 'akeyless/models/mock_migration'
|
|
417
434
|
require 'akeyless/models/mock_payload'
|
|
418
435
|
require 'akeyless/models/move_objects'
|
|
436
|
+
require 'akeyless/models/name'
|
|
437
|
+
require 'akeyless/models/noti_forwarder'
|
|
419
438
|
require 'akeyless/models/o_auth2_access_rules'
|
|
420
439
|
require 'akeyless/models/o_auth2_custom_claim'
|
|
421
440
|
require 'akeyless/models/oidc_access_rules'
|
|
@@ -432,6 +451,8 @@ require 'akeyless/models/raw_creds'
|
|
|
432
451
|
require 'akeyless/models/refresh_key'
|
|
433
452
|
require 'akeyless/models/refresh_key_output'
|
|
434
453
|
require 'akeyless/models/regexp_tokenizer_info'
|
|
454
|
+
require 'akeyless/models/request_access'
|
|
455
|
+
require 'akeyless/models/request_access_output'
|
|
435
456
|
require 'akeyless/models/required_activity'
|
|
436
457
|
require 'akeyless/models/reverse_rbac'
|
|
437
458
|
require 'akeyless/models/reverse_rbac_client'
|
|
@@ -517,6 +538,8 @@ require 'akeyless/models/update_auth_method_saml'
|
|
|
517
538
|
require 'akeyless/models/update_auth_method_universal_identity'
|
|
518
539
|
require 'akeyless/models/update_azure_target'
|
|
519
540
|
require 'akeyless/models/update_azure_target_output'
|
|
541
|
+
require 'akeyless/models/update_certificate_output'
|
|
542
|
+
require 'akeyless/models/update_certificate_value'
|
|
520
543
|
require 'akeyless/models/update_db_target'
|
|
521
544
|
require 'akeyless/models/update_db_target_details'
|
|
522
545
|
require 'akeyless/models/update_db_target_output'
|
|
@@ -524,6 +547,7 @@ require 'akeyless/models/update_dockerhub_target'
|
|
|
524
547
|
require 'akeyless/models/update_dockerhub_target_output'
|
|
525
548
|
require 'akeyless/models/update_eks_target'
|
|
526
549
|
require 'akeyless/models/update_eks_target_output'
|
|
550
|
+
require 'akeyless/models/update_event_forwarder'
|
|
527
551
|
require 'akeyless/models/update_gke_target'
|
|
528
552
|
require 'akeyless/models/update_gke_target_output'
|
|
529
553
|
require 'akeyless/models/update_gcp_target'
|
|
@@ -0,0 +1,40 @@
|
|
|
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: 2.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::AttributeTypeAndValue
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::AttributeTypeAndValue do
|
|
21
|
+
let(:instance) { Akeyless::AttributeTypeAndValue.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AttributeTypeAndValue' do
|
|
24
|
+
it 'should create an instance of AttributeTypeAndValue' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::AttributeTypeAndValue)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "type"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "value"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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: 2.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::CertificateChainInfo
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CertificateChainInfo do
|
|
21
|
+
let(:instance) { Akeyless::CertificateChainInfo.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CertificateChainInfo' do
|
|
24
|
+
it 'should create an instance of CertificateChainInfo' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::CertificateChainInfo)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "certificate_chain"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "certificate_pem"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "expiration_events"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
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: 2.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::CertificateExpirationEvent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CertificateExpirationEvent do
|
|
21
|
+
let(:instance) { Akeyless::CertificateExpirationEvent.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CertificateExpirationEvent' do
|
|
24
|
+
it 'should create an instance of CertificateExpirationEvent' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::CertificateExpirationEvent)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "seconds_before"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
end
|
|
@@ -0,0 +1,166 @@
|
|
|
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: 2.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::CertificateInfo
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CertificateInfo do
|
|
21
|
+
let(:instance) { Akeyless::CertificateInfo.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CertificateInfo' do
|
|
24
|
+
it 'should create an instance of CertificateInfo' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::CertificateInfo)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "ext_key_usage"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "key_usage"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "dns_names"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "email_addresses"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "extensions"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "ip_addresses"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "is_ca"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "issuer"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "issuing_certificate_url"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "key_size"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "not_after"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "not_before"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
describe 'test attribute "ocsp_server"' do
|
|
101
|
+
it 'should work' do
|
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
describe 'test attribute "public_key_algorithm_name"' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
describe 'test attribute "serial_number"' do
|
|
113
|
+
it 'should work' do
|
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
describe 'test attribute "sha_1_fingerprint"' do
|
|
119
|
+
it 'should work' do
|
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
describe 'test attribute "sha_256_fingerprint"' do
|
|
125
|
+
it 'should work' do
|
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
describe 'test attribute "signature"' do
|
|
131
|
+
it 'should work' do
|
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
describe 'test attribute "signature_algorithm_name"' do
|
|
137
|
+
it 'should work' do
|
|
138
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
describe 'test attribute "subject"' do
|
|
143
|
+
it 'should work' do
|
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
describe 'test attribute "subject_public_key"' do
|
|
149
|
+
it 'should work' do
|
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
describe 'test attribute "uris"' do
|
|
155
|
+
it 'should work' do
|
|
156
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
describe 'test attribute "version"' do
|
|
161
|
+
it 'should work' do
|
|
162
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
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: 2.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::CreateCertificateOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CreateCertificateOutput do
|
|
21
|
+
let(:instance) { Akeyless::CreateCertificateOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCertificateOutput' do
|
|
24
|
+
it 'should create an instance of CreateCertificateOutput' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::CreateCertificateOutput)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "name"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
end
|
|
@@ -0,0 +1,94 @@
|
|
|
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: 2.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::CreateCertificate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CreateCertificate do
|
|
21
|
+
let(:instance) { Akeyless::CreateCertificate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCertificate' do
|
|
24
|
+
it 'should create an instance of CreateCertificate' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::CreateCertificate)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "certificate_data"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "delete_protection"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "expiration_event_in"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "json"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "key"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "key_data"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "metadata"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "name"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "tags"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "token"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "uid_token"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
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: 2.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.3.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::CreateEventForwarderOutput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::CreateEventForwarderOutput do
|
|
21
|
+
let(:instance) { Akeyless::CreateEventForwarderOutput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateEventForwarderOutput' do
|
|
24
|
+
it 'should create an instance of CreateEventForwarderOutput' do
|
|
25
|
+
expect(instance).to be_instance_of(Akeyless::CreateEventForwarderOutput)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "event_forwarder_id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
end
|