akeyless 2.16.6 → 2.16.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/docs/CertAccessRules.md +1 -1
- data/docs/CreateAzureTarget.md +6 -0
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/DSProducerDetails.md +6 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GetRSAPublicOutput.md +1 -1
- data/docs/ListItems.md +2 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/Target.md +2 -0
- data/docs/TargetTypeDetailsInput.md +6 -0
- data/docs/UpdateAzureTarget.md +6 -0
- data/docs/UpdateLdapTarget.md +42 -0
- data/docs/UpdateLdapTargetDetails.md +40 -0
- data/docs/UpdateLdapTargetOutput.md +18 -0
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/V2Api.md +126 -0
- data/lib/akeyless/api/v2_api.rb +128 -0
- data/lib/akeyless/models/cert_access_rules.rb +2 -4
- data/lib/akeyless/models/create_azure_target.rb +31 -1
- data/lib/akeyless/models/create_rotated_secret.rb +11 -1
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/ds_producer_details.rb +28 -1
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
- data/lib/akeyless/models/get_rsa_public_output.rb +2 -4
- data/lib/akeyless/models/list_items.rb +10 -1
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/target.rb +13 -1
- data/lib/akeyless/models/target_type_details_input.rb +28 -1
- data/lib/akeyless/models/update_azure_target.rb +31 -1
- data/lib/akeyless/models/update_ldap_target.rb +339 -0
- data/lib/akeyless/models/update_ldap_target_details.rb +328 -0
- data/lib/akeyless/models/update_ldap_target_output.rb +219 -0
- data/lib/akeyless/models/update_rotated_secret.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +3 -0
- data/spec/models/update_ldap_target_details_spec.rb +100 -0
- data/spec/models/update_ldap_target_output_spec.rb +34 -0
- data/spec/models/update_ldap_target_spec.rb +106 -0
- metadata +14 -2
@@ -0,0 +1,100 @@
|
|
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.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::UpdateLdapTargetDetails
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::UpdateLdapTargetDetails do
|
21
|
+
let(:instance) { Akeyless::UpdateLdapTargetDetails.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateLdapTargetDetails' do
|
24
|
+
it 'should create an instance of UpdateLdapTargetDetails' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::UpdateLdapTargetDetails)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "bind_dn"' 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 "bind_dn_password"' 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 "keep_prev_version"' 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 "key"' 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 "ldap_ca_cert"' 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 "ldap_url"' 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 "name"' 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 "new_version"' 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 "protection_key"' 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 "token_expiration"' 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 "uid_token"' 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
|
+
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.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::UpdateLdapTargetOutput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::UpdateLdapTargetOutput do
|
21
|
+
let(:instance) { Akeyless::UpdateLdapTargetOutput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateLdapTargetOutput' do
|
24
|
+
it 'should create an instance of UpdateLdapTargetOutput' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::UpdateLdapTargetOutput)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "target_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
|
@@ -0,0 +1,106 @@
|
|
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.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::UpdateLdapTarget
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::UpdateLdapTarget do
|
21
|
+
let(:instance) { Akeyless::UpdateLdapTarget.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateLdapTarget' do
|
24
|
+
it 'should create an instance of UpdateLdapTarget' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::UpdateLdapTarget)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "bind_dn"' 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 "bind_dn_password"' 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 "comment"' 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 "keep_prev_version"' 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 "ldap_ca_cert"' 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 "ldap_url"' 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 "new_name"' 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 "token_expiration"' 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 "uid_token"' 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 "update_version"' 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
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: akeyless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.16.
|
4
|
+
version: 2.16.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -550,6 +550,9 @@ files:
|
|
550
550
|
- docs/UpdateGithubTargetOutput.md
|
551
551
|
- docs/UpdateItem.md
|
552
552
|
- docs/UpdateItemOutput.md
|
553
|
+
- docs/UpdateLdapTarget.md
|
554
|
+
- docs/UpdateLdapTargetDetails.md
|
555
|
+
- docs/UpdateLdapTargetOutput.md
|
553
556
|
- docs/UpdateNativeK8STarget.md
|
554
557
|
- docs/UpdateNativeK8STargetOutput.md
|
555
558
|
- docs/UpdateOutput.md
|
@@ -1085,6 +1088,9 @@ files:
|
|
1085
1088
|
- lib/akeyless/models/update_gke_target_output.rb
|
1086
1089
|
- lib/akeyless/models/update_item.rb
|
1087
1090
|
- lib/akeyless/models/update_item_output.rb
|
1091
|
+
- lib/akeyless/models/update_ldap_target.rb
|
1092
|
+
- lib/akeyless/models/update_ldap_target_details.rb
|
1093
|
+
- lib/akeyless/models/update_ldap_target_output.rb
|
1088
1094
|
- lib/akeyless/models/update_native_k8_s_target.rb
|
1089
1095
|
- lib/akeyless/models/update_native_k8_s_target_output.rb
|
1090
1096
|
- lib/akeyless/models/update_output.rb
|
@@ -2105,6 +2111,9 @@ files:
|
|
2105
2111
|
- spec/models/update_gke_target_spec.rb
|
2106
2112
|
- spec/models/update_item_output_spec.rb
|
2107
2113
|
- spec/models/update_item_spec.rb
|
2114
|
+
- spec/models/update_ldap_target_details_spec.rb
|
2115
|
+
- spec/models/update_ldap_target_output_spec.rb
|
2116
|
+
- spec/models/update_ldap_target_spec.rb
|
2108
2117
|
- spec/models/update_native_k8_s_target_output_spec.rb
|
2109
2118
|
- spec/models/update_native_k8_s_target_spec.rb
|
2110
2119
|
- spec/models/update_output_spec.rb
|
@@ -2210,6 +2219,7 @@ test_files:
|
|
2210
2219
|
- spec/models/migration_status_spec.rb
|
2211
2220
|
- spec/models/update_rotated_secret_output_spec.rb
|
2212
2221
|
- spec/models/create_auth_method_universal_identity_spec.rb
|
2222
|
+
- spec/models/update_ldap_target_spec.rb
|
2213
2223
|
- spec/models/kmip_client_spec.rb
|
2214
2224
|
- spec/models/refresh_key_output_spec.rb
|
2215
2225
|
- spec/models/update_gcp_target_spec.rb
|
@@ -2233,6 +2243,7 @@ test_files:
|
|
2233
2243
|
- spec/models/refresh_key_spec.rb
|
2234
2244
|
- spec/models/update_pki_cert_issuer_output_spec.rb
|
2235
2245
|
- spec/models/logz_io_log_forwarding_config_spec.rb
|
2246
|
+
- spec/models/update_ldap_target_details_spec.rb
|
2236
2247
|
- spec/models/create_auth_method_k8_s_output_spec.rb
|
2237
2248
|
- spec/models/update_auth_method_azure_ad_spec.rb
|
2238
2249
|
- spec/models/create_auth_method_output_spec.rb
|
@@ -2299,6 +2310,7 @@ test_files:
|
|
2299
2310
|
- spec/models/gateway_update_producer_github_output_spec.rb
|
2300
2311
|
- spec/models/create_auth_method_gcp_spec.rb
|
2301
2312
|
- spec/models/uid_generate_token_output_spec.rb
|
2313
|
+
- spec/models/update_ldap_target_output_spec.rb
|
2302
2314
|
- spec/models/certificate_issue_info_spec.rb
|
2303
2315
|
- spec/models/create_db_target_spec.rb
|
2304
2316
|
- spec/models/update_target_output_spec.rb
|