akeyless 3.1.2 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  3. data/docs/CreateAWSTarget.md +3 -1
  4. data/docs/CreateArtifactoryTarget.md +3 -1
  5. data/docs/CreateAzureTarget.md +3 -1
  6. data/docs/CreateDBTarget.md +3 -1
  7. data/docs/CreateDockerhubTarget.md +3 -1
  8. data/docs/CreateEKSTarget.md +3 -1
  9. data/docs/CreateEventForwarder.md +3 -1
  10. data/docs/CreateGKETarget.md +3 -1
  11. data/docs/CreateGcpTarget.md +3 -1
  12. data/docs/CreateGithubTarget.md +3 -1
  13. data/docs/CreateLdapTarget.md +3 -1
  14. data/docs/CreateNativeK8STarget.md +3 -1
  15. data/docs/CreatePingTarget.md +40 -0
  16. data/docs/CreatePingTargetOutput.md +18 -0
  17. data/docs/CreateRabbitMQTarget.md +3 -1
  18. data/docs/CreateRole.md +3 -1
  19. data/docs/CreateRotatedSecret.md +2 -0
  20. data/docs/CreateSSHTarget.md +3 -1
  21. data/docs/CreateSalesforceTarget.md +3 -1
  22. data/docs/CreateWebTarget.md +3 -1
  23. data/docs/DSProducerDetails.md +40 -0
  24. data/docs/GatewayCreateProducerEks.md +1 -1
  25. data/docs/GatewayCreateProducerPing.md +66 -0
  26. data/docs/GatewayCreateProducerPingOutput.md +18 -0
  27. data/docs/GatewayUpdateProducerEks.md +1 -1
  28. data/docs/GatewayUpdateProducerPing.md +68 -0
  29. data/docs/GatewayUpdateProducerPingOutput.md +18 -0
  30. data/docs/GetKubeExecCreds.md +5 -3
  31. data/docs/GetPKICertificate.md +5 -3
  32. data/docs/ImporterInfo.md +20 -0
  33. data/docs/ItemGeneralInfo.md +2 -0
  34. data/docs/RequestAccess.md +3 -1
  35. data/docs/SecureRemoteAccess.md +2 -0
  36. data/docs/TargetTypeDetailsInput.md +10 -0
  37. data/docs/UidCreateChildToken.md +3 -1
  38. data/docs/UpdateAWSTarget.md +3 -1
  39. data/docs/UpdateArtifactoryTarget.md +3 -1
  40. data/docs/UpdateAzureTarget.md +3 -1
  41. data/docs/UpdateDBTarget.md +3 -1
  42. data/docs/UpdateDockerhubTarget.md +3 -1
  43. data/docs/UpdateEKSTarget.md +3 -1
  44. data/docs/UpdateEventForwarder.md +3 -1
  45. data/docs/UpdateGKETarget.md +3 -1
  46. data/docs/UpdateGcpTarget.md +3 -1
  47. data/docs/UpdateGithubTarget.md +3 -1
  48. data/docs/UpdateLdapTarget.md +3 -1
  49. data/docs/UpdateNativeK8STarget.md +3 -1
  50. data/docs/UpdatePingTarget.md +46 -0
  51. data/docs/UpdateRabbitMQTarget.md +3 -1
  52. data/docs/UpdateRole.md +3 -1
  53. data/docs/UpdateRotatedSecret.md +2 -0
  54. data/docs/UpdateSSHTarget.md +3 -1
  55. data/docs/UpdateSalesforceTarget.md +3 -1
  56. data/docs/UpdateTarget.md +3 -1
  57. data/docs/UpdateWebTarget.md +3 -1
  58. data/docs/V2Api.md +252 -0
  59. data/lib/akeyless/api/v2_api.rb +256 -0
  60. data/lib/akeyless/models/create_artifactory_target.rb +12 -2
  61. data/lib/akeyless/models/create_aws_target.rb +12 -2
  62. data/lib/akeyless/models/create_azure_target.rb +12 -2
  63. data/lib/akeyless/models/create_db_target.rb +12 -2
  64. data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
  65. data/lib/akeyless/models/create_eks_target.rb +12 -2
  66. data/lib/akeyless/models/create_event_forwarder.rb +12 -2
  67. data/lib/akeyless/models/create_gcp_target.rb +12 -2
  68. data/lib/akeyless/models/create_github_target.rb +12 -2
  69. data/lib/akeyless/models/create_gke_target.rb +12 -2
  70. data/lib/akeyless/models/create_ldap_target.rb +12 -2
  71. data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
  72. data/lib/akeyless/models/create_ping_target.rb +339 -0
  73. data/lib/akeyless/models/create_ping_target_output.rb +219 -0
  74. data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
  75. data/lib/akeyless/models/create_role.rb +12 -2
  76. data/lib/akeyless/models/create_rotated_secret.rb +13 -1
  77. data/lib/akeyless/models/create_salesforce_target.rb +12 -2
  78. data/lib/akeyless/models/create_ssh_target.rb +12 -2
  79. data/lib/akeyless/models/create_web_target.rb +12 -2
  80. data/lib/akeyless/models/ds_producer_details.rb +196 -1
  81. data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
  82. data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
  83. data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
  84. data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
  85. data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
  86. data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
  87. data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
  88. data/lib/akeyless/models/get_pki_certificate.rb +14 -4
  89. data/lib/akeyless/models/importer_info.rb +228 -0
  90. data/lib/akeyless/models/item_general_info.rb +10 -1
  91. data/lib/akeyless/models/request_access.rb +12 -2
  92. data/lib/akeyless/models/secure_remote_access.rb +10 -1
  93. data/lib/akeyless/models/target_type_details_input.rb +46 -1
  94. data/lib/akeyless/models/uid_create_child_token.rb +12 -2
  95. data/lib/akeyless/models/update_artifactory_target.rb +12 -2
  96. data/lib/akeyless/models/update_aws_target.rb +12 -2
  97. data/lib/akeyless/models/update_azure_target.rb +12 -2
  98. data/lib/akeyless/models/update_db_target.rb +12 -2
  99. data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
  100. data/lib/akeyless/models/update_eks_target.rb +12 -2
  101. data/lib/akeyless/models/update_event_forwarder.rb +14 -2
  102. data/lib/akeyless/models/update_gcp_target.rb +12 -2
  103. data/lib/akeyless/models/update_github_target.rb +12 -2
  104. data/lib/akeyless/models/update_gke_target.rb +12 -2
  105. data/lib/akeyless/models/update_ldap_target.rb +12 -2
  106. data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
  107. data/lib/akeyless/models/update_ping_target.rb +368 -0
  108. data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
  109. data/lib/akeyless/models/update_role.rb +14 -2
  110. data/lib/akeyless/models/update_rotated_secret.rb +13 -1
  111. data/lib/akeyless/models/update_salesforce_target.rb +12 -2
  112. data/lib/akeyless/models/update_ssh_target.rb +12 -2
  113. data/lib/akeyless/models/update_target.rb +14 -2
  114. data/lib/akeyless/models/update_web_target.rb +12 -2
  115. data/lib/akeyless/version.rb +1 -1
  116. data/lib/akeyless.rb +8 -0
  117. data/spec/models/create_ping_target_output_spec.rb +34 -0
  118. data/spec/models/create_ping_target_spec.rb +94 -0
  119. data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
  120. data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
  121. data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
  122. data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
  123. data/spec/models/importer_info_spec.rb +40 -0
  124. data/spec/models/update_ping_target_spec.rb +112 -0
  125. metadata +594 -562
@@ -0,0 +1,184 @@
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::GatewayUpdateProducerPing
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::GatewayUpdateProducerPing do
21
+ let(:instance) { Akeyless::GatewayUpdateProducerPing.new }
22
+
23
+ describe 'test an instance of GatewayUpdateProducerPing' do
24
+ it 'should create an instance of GatewayUpdateProducerPing' do
25
+ expect(instance).to be_instance_of(Akeyless::GatewayUpdateProducerPing)
26
+ end
27
+ end
28
+ describe 'test attribute "delete_protection"' 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 "json"' 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 "name"' 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 "new_name"' 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 "ping_administrative_port"' 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 "ping_atm_id"' 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 "ping_authorization_port"' 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 "ping_cert_subject_dn"' 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 "ping_client_authentication_type"' 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 "ping_enforce_replay_prevention"' 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 "ping_grant_types"' 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 "ping_issuer_dn"' 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 "ping_jwks"' 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 "ping_jwks_url"' 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 "ping_password"' 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 "ping_privileged_user"' 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 "ping_redirect_uris"' 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 "ping_restricted_scopes"' 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 "ping_signing_algo"' 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 "ping_url"' 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 "producer_encryption_key_name"' 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 "tags"' 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 "target_name"' 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
+ describe 'test attribute "token"' do
167
+ it 'should work' do
168
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
169
+ end
170
+ end
171
+
172
+ describe 'test attribute "uid_token"' do
173
+ it 'should work' do
174
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
175
+ end
176
+ end
177
+
178
+ describe 'test attribute "user_ttl"' do
179
+ it 'should work' do
180
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
181
+ end
182
+ end
183
+
184
+ end
@@ -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::ImporterInfo
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::ImporterInfo do
21
+ let(:instance) { Akeyless::ImporterInfo.new }
22
+
23
+ describe 'test an instance of ImporterInfo' do
24
+ it 'should create an instance of ImporterInfo' do
25
+ expect(instance).to be_instance_of(Akeyless::ImporterInfo)
26
+ end
27
+ end
28
+ describe 'test attribute "external_item_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
+ describe 'test attribute "version"' 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,112 @@
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::UpdatePingTarget
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::UpdatePingTarget do
21
+ let(:instance) { Akeyless::UpdatePingTarget.new }
22
+
23
+ describe 'test an instance of UpdatePingTarget' do
24
+ it 'should create an instance of UpdatePingTarget' do
25
+ expect(instance).to be_instance_of(Akeyless::UpdatePingTarget)
26
+ end
27
+ end
28
+ describe 'test attribute "administrative_port"' 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 "authorization_port"' 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 "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 "keep_prev_version"' 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"' 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_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 "password"' 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 "ping_url"' 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 "privileged_user"' 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 "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 "uid_token"' 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 "update_version"' 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
+ end