akeyless 2.15.29 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -9
  3. data/docs/Auth.md +5 -1
  4. data/docs/AuthMethodAccessInfo.md +2 -0
  5. data/docs/CertAccessRules.md +34 -0
  6. data/docs/ConfigHash.md +2 -0
  7. data/docs/CreateAuthMethodCert.md +48 -0
  8. data/docs/CreateAuthMethodCertOutput.md +18 -0
  9. data/docs/CreateAuthMethodLDAP.md +3 -1
  10. data/docs/CreateAuthMethodOIDC.md +4 -0
  11. data/docs/CreateClassicKey.md +5 -1
  12. data/docs/DSProducerDetails.md +4 -0
  13. data/docs/GatewayCreateProducerCustom.md +4 -0
  14. data/docs/GatewayCreateProducerHanaDb.md +54 -0
  15. data/docs/GatewayCreateProducerHanaDbOutput.md +18 -0
  16. data/docs/GatewayCreateProducerMongo.md +1 -1
  17. data/docs/GatewayCreateProducerOracleDb.md +8 -0
  18. data/docs/GatewayMessageQueueInfo.md +1 -3
  19. data/docs/GatewayUpdateProducerCustom.md +4 -0
  20. data/docs/GatewayUpdateProducerHanaDb.md +56 -0
  21. data/docs/GatewayUpdateProducerHanaDbOutput.md +18 -0
  22. data/docs/GatewayUpdateProducerMongo.md +1 -1
  23. data/docs/GatewayUpdateProducerOracleDb.md +8 -0
  24. data/docs/KMIPClient.md +2 -0
  25. data/docs/KMIPConfigPart.md +5 -1
  26. data/docs/KMIPServer.md +30 -0
  27. data/docs/KmipDeleteServer.md +20 -0
  28. data/docs/KmipDescribeServerOutput.md +4 -0
  29. data/docs/KmipMoveServer.md +22 -0
  30. data/docs/KmipMoveServerOutput.md +20 -0
  31. data/docs/ListAuthMethods.md +4 -0
  32. data/docs/ListRoles.md +2 -0
  33. data/docs/ListTargets.md +2 -0
  34. data/docs/OIDCAccessRules.md +4 -0
  35. data/docs/TargetItemAssociation.md +2 -0
  36. data/docs/UpdateAuthMethodCert.md +50 -0
  37. data/docs/UpdateAuthMethodCertOutput.md +18 -0
  38. data/docs/UpdateAuthMethodLDAP.md +3 -1
  39. data/docs/UpdateAuthMethodOIDC.md +4 -0
  40. data/docs/UpdateDBTarget.md +4 -0
  41. data/docs/UpdateOutput.md +2 -0
  42. data/docs/V2Api.md +319 -0
  43. data/git_push.sh +0 -0
  44. data/lib/akeyless/api/v2_api.rb +312 -0
  45. data/lib/akeyless/api_client.rb +3 -7
  46. data/lib/akeyless/configuration.rb +2 -1
  47. data/lib/akeyless/models/auth.rb +22 -2
  48. data/lib/akeyless/models/auth_method_access_info.rb +10 -1
  49. data/lib/akeyless/models/cert_access_rules.rb +316 -0
  50. data/lib/akeyless/models/config_hash.rb +10 -1
  51. data/lib/akeyless/models/create_auth_method_cert.rb +401 -0
  52. data/lib/akeyless/models/create_auth_method_cert_output.rb +219 -0
  53. data/lib/akeyless/models/create_auth_method_ldap.rb +14 -4
  54. data/lib/akeyless/models/create_auth_method_oidc.rb +23 -1
  55. data/lib/akeyless/models/create_classic_key.rb +26 -4
  56. data/lib/akeyless/models/ds_producer_details.rb +19 -1
  57. data/lib/akeyless/models/gateway_create_producer_custom.rb +23 -1
  58. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +411 -0
  59. data/lib/akeyless/models/gateway_create_producer_hana_db_output.rb +219 -0
  60. data/lib/akeyless/models/gateway_create_producer_mongo.rb +0 -2
  61. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +39 -1
  62. data/lib/akeyless/models/gateway_message_queue_info.rb +4 -13
  63. data/lib/akeyless/models/gateway_update_producer_custom.rb +23 -1
  64. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +421 -0
  65. data/lib/akeyless/models/gateway_update_producer_hana_db_output.rb +219 -0
  66. data/lib/akeyless/models/gateway_update_producer_mongo.rb +0 -2
  67. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +39 -1
  68. data/lib/akeyless/models/kmip_client.rb +10 -1
  69. data/lib/akeyless/models/kmip_config_part.rb +23 -1
  70. data/lib/akeyless/models/kmip_delete_server.rb +231 -0
  71. data/lib/akeyless/models/kmip_describe_server_output.rb +19 -1
  72. data/lib/akeyless/models/kmip_move_server.rb +240 -0
  73. data/lib/akeyless/models/kmip_move_server_output.rb +228 -0
  74. data/lib/akeyless/models/kmip_server.rb +277 -0
  75. data/lib/akeyless/models/list_auth_methods.rb +23 -1
  76. data/lib/akeyless/models/list_roles.rb +11 -1
  77. data/lib/akeyless/models/list_targets.rb +11 -1
  78. data/lib/akeyless/models/oidc_access_rules.rb +23 -1
  79. data/lib/akeyless/models/target_item_association.rb +10 -1
  80. data/lib/akeyless/models/update_auth_method_cert.rb +411 -0
  81. data/lib/akeyless/models/update_auth_method_cert_output.rb +219 -0
  82. data/lib/akeyless/models/update_auth_method_ldap.rb +14 -4
  83. data/lib/akeyless/models/update_auth_method_oidc.rb +23 -1
  84. data/lib/akeyless/models/update_db_target.rb +21 -1
  85. data/lib/akeyless/models/update_output.rb +10 -1
  86. data/lib/akeyless/version.rb +1 -1
  87. data/lib/akeyless.rb +13 -0
  88. data/spec/models/cert_access_rules_spec.rb +82 -0
  89. data/spec/models/create_auth_method_cert_output_spec.rb +34 -0
  90. data/spec/models/create_auth_method_cert_spec.rb +124 -0
  91. data/spec/models/gateway_create_producer_hana_db_output_spec.rb +34 -0
  92. data/spec/models/gateway_create_producer_hana_db_spec.rb +142 -0
  93. data/spec/models/gateway_update_producer_hana_db_output_spec.rb +34 -0
  94. data/spec/models/gateway_update_producer_hana_db_spec.rb +148 -0
  95. data/spec/models/kmip_delete_server_spec.rb +40 -0
  96. data/spec/models/kmip_move_server_output_spec.rb +40 -0
  97. data/spec/models/kmip_move_server_spec.rb +46 -0
  98. data/spec/models/kmip_server_spec.rb +58 -0
  99. data/spec/models/update_auth_method_cert_output_spec.rb +34 -0
  100. data/spec/models/update_auth_method_cert_spec.rb +130 -0
  101. metadata +508 -456
@@ -46,6 +46,12 @@ module Akeyless
46
46
  # Auth Method new name
47
47
  attr_accessor :new_name
48
48
 
49
+ # RequiredScopes is a list of required scopes that the oidc method will request from the oidc provider and the user must approve
50
+ attr_accessor :required_scopes
51
+
52
+ # RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
53
+ attr_accessor :required_scopes_prefix
54
+
49
55
  # Authentication token (see `/auth` and `/configure`)
50
56
  attr_accessor :token
51
57
 
@@ -68,6 +74,8 @@ module Akeyless
68
74
  :'jwt_ttl' => :'jwt-ttl',
69
75
  :'name' => :'name',
70
76
  :'new_name' => :'new-name',
77
+ :'required_scopes' => :'required-scopes',
78
+ :'required_scopes_prefix' => :'required-scopes-prefix',
71
79
  :'token' => :'token',
72
80
  :'uid_token' => :'uid-token',
73
81
  :'unique_identifier' => :'unique-identifier'
@@ -92,6 +100,8 @@ module Akeyless
92
100
  :'jwt_ttl' => :'Integer',
93
101
  :'name' => :'String',
94
102
  :'new_name' => :'String',
103
+ :'required_scopes' => :'Array<String>',
104
+ :'required_scopes_prefix' => :'String',
95
105
  :'token' => :'String',
96
106
  :'uid_token' => :'String',
97
107
  :'unique_identifier' => :'String'
@@ -167,6 +177,16 @@ module Akeyless
167
177
  self.new_name = attributes[:'new_name']
168
178
  end
169
179
 
180
+ if attributes.key?(:'required_scopes')
181
+ if (value = attributes[:'required_scopes']).is_a?(Array)
182
+ self.required_scopes = value
183
+ end
184
+ end
185
+
186
+ if attributes.key?(:'required_scopes_prefix')
187
+ self.required_scopes_prefix = attributes[:'required_scopes_prefix']
188
+ end
189
+
170
190
  if attributes.key?(:'token')
171
191
  self.token = attributes[:'token']
172
192
  end
@@ -218,6 +238,8 @@ module Akeyless
218
238
  jwt_ttl == o.jwt_ttl &&
219
239
  name == o.name &&
220
240
  new_name == o.new_name &&
241
+ required_scopes == o.required_scopes &&
242
+ required_scopes_prefix == o.required_scopes_prefix &&
221
243
  token == o.token &&
222
244
  uid_token == o.uid_token &&
223
245
  unique_identifier == o.unique_identifier
@@ -232,7 +254,7 @@ module Akeyless
232
254
  # Calculates hash code according to all attributes.
233
255
  # @return [Integer] Hash code
234
256
  def hash
235
- [access_expires, allowed_redirect_uri, bound_ips, client_id, client_secret, force_sub_claims, issuer, jwt_ttl, name, new_name, token, uid_token, unique_identifier].hash
257
+ [access_expires, allowed_redirect_uri, bound_ips, client_id, client_secret, force_sub_claims, issuer, jwt_ttl, name, new_name, required_scopes, required_scopes_prefix, token, uid_token, unique_identifier].hash
236
258
  end
237
259
 
238
260
  # Builds the object from hash
@@ -66,6 +66,12 @@ module Akeyless
66
66
 
67
67
  attr_accessor :snowflake_account
68
68
 
69
+ # SSL connection mode
70
+ attr_accessor :ssl
71
+
72
+ # SSL connection certificate
73
+ attr_accessor :ssl_certificate
74
+
69
75
  # Authentication token (see `/auth` and `/configure`)
70
76
  attr_accessor :token
71
77
 
@@ -100,6 +106,8 @@ module Akeyless
100
106
  :'port' => :'port',
101
107
  :'pwd' => :'pwd',
102
108
  :'snowflake_account' => :'snowflake-account',
109
+ :'ssl' => :'ssl',
110
+ :'ssl_certificate' => :'ssl-certificate',
103
111
  :'token' => :'token',
104
112
  :'uid_token' => :'uid-token',
105
113
  :'update_version' => :'update-version',
@@ -135,6 +143,8 @@ module Akeyless
135
143
  :'port' => :'String',
136
144
  :'pwd' => :'String',
137
145
  :'snowflake_account' => :'String',
146
+ :'ssl' => :'Boolean',
147
+ :'ssl_certificate' => :'String',
138
148
  :'token' => :'String',
139
149
  :'uid_token' => :'String',
140
150
  :'update_version' => :'Boolean',
@@ -243,6 +253,14 @@ module Akeyless
243
253
  self.snowflake_account = attributes[:'snowflake_account']
244
254
  end
245
255
 
256
+ if attributes.key?(:'ssl')
257
+ self.ssl = attributes[:'ssl']
258
+ end
259
+
260
+ if attributes.key?(:'ssl_certificate')
261
+ self.ssl_certificate = attributes[:'ssl_certificate']
262
+ end
263
+
246
264
  if attributes.key?(:'token')
247
265
  self.token = attributes[:'token']
248
266
  end
@@ -308,6 +326,8 @@ module Akeyless
308
326
  port == o.port &&
309
327
  pwd == o.pwd &&
310
328
  snowflake_account == o.snowflake_account &&
329
+ ssl == o.ssl &&
330
+ ssl_certificate == o.ssl_certificate &&
311
331
  token == o.token &&
312
332
  uid_token == o.uid_token &&
313
333
  update_version == o.update_version &&
@@ -323,7 +343,7 @@ module Akeyless
323
343
  # Calculates hash code according to all attributes.
324
344
  # @return [Integer] Hash code
325
345
  def hash
326
- [comment, db_name, db_server_certificates, db_server_name, db_type, host, keep_prev_version, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, port, pwd, snowflake_account, token, uid_token, update_version, user_name].hash
346
+ [comment, db_name, db_server_certificates, db_server_name, db_type, host, keep_prev_version, key, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, port, pwd, snowflake_account, ssl, ssl_certificate, token, uid_token, update_version, user_name].hash
327
347
  end
328
348
 
329
349
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class UpdateOutput
18
+ attr_accessor :changelog
19
+
18
20
  attr_accessor :latest
19
21
 
20
22
  attr_accessor :updated
@@ -22,6 +24,7 @@ module Akeyless
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
27
+ :'changelog' => :'changelog',
25
28
  :'latest' => :'latest',
26
29
  :'updated' => :'updated'
27
30
  }
@@ -35,6 +38,7 @@ module Akeyless
35
38
  # Attribute type mapping.
36
39
  def self.openapi_types
37
40
  {
41
+ :'changelog' => :'String',
38
42
  :'latest' => :'String',
39
43
  :'updated' => :'Boolean'
40
44
  }
@@ -61,6 +65,10 @@ module Akeyless
61
65
  h[k.to_sym] = v
62
66
  }
63
67
 
68
+ if attributes.key?(:'changelog')
69
+ self.changelog = attributes[:'changelog']
70
+ end
71
+
64
72
  if attributes.key?(:'latest')
65
73
  self.latest = attributes[:'latest']
66
74
  end
@@ -88,6 +96,7 @@ module Akeyless
88
96
  def ==(o)
89
97
  return true if self.equal?(o)
90
98
  self.class == o.class &&
99
+ changelog == o.changelog &&
91
100
  latest == o.latest &&
92
101
  updated == o.updated
93
102
  end
@@ -101,7 +110,7 @@ module Akeyless
101
110
  # Calculates hash code according to all attributes.
102
111
  # @return [Integer] Hash code
103
112
  def hash
104
- [latest, updated].hash
113
+ [changelog, latest, updated].hash
105
114
  end
106
115
 
107
116
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Akeyless
14
- VERSION = '2.15.29'
14
+ VERSION = '2.16.1'
15
15
  end
data/lib/akeyless.rb CHANGED
@@ -39,6 +39,7 @@ require 'akeyless/models/azure_log_analytics_forwarding_config'
39
39
  require 'akeyless/models/azure_payload'
40
40
  require 'akeyless/models/cf_config_part'
41
41
  require 'akeyless/models/cache_config_part'
42
+ require 'akeyless/models/cert_access_rules'
42
43
  require 'akeyless/models/certificate_issue_info'
43
44
  require 'akeyless/models/classic_key_details_info'
44
45
  require 'akeyless/models/classic_key_status_info'
@@ -58,6 +59,8 @@ require 'akeyless/models/create_auth_method_awsiam'
58
59
  require 'akeyless/models/create_auth_method_awsiam_output'
59
60
  require 'akeyless/models/create_auth_method_azure_ad'
60
61
  require 'akeyless/models/create_auth_method_azure_ad_output'
62
+ require 'akeyless/models/create_auth_method_cert'
63
+ require 'akeyless/models/create_auth_method_cert_output'
61
64
  require 'akeyless/models/create_auth_method_gcp'
62
65
  require 'akeyless/models/create_auth_method_gcp_output'
63
66
  require 'akeyless/models/create_auth_method_huawei'
@@ -190,6 +193,8 @@ require 'akeyless/models/gateway_create_producer_github'
190
193
  require 'akeyless/models/gateway_create_producer_github_output'
191
194
  require 'akeyless/models/gateway_create_producer_gke'
192
195
  require 'akeyless/models/gateway_create_producer_gke_output'
196
+ require 'akeyless/models/gateway_create_producer_hana_db'
197
+ require 'akeyless/models/gateway_create_producer_hana_db_output'
193
198
  require 'akeyless/models/gateway_create_producer_ldap'
194
199
  require 'akeyless/models/gateway_create_producer_ldap_output'
195
200
  require 'akeyless/models/gateway_create_producer_mssql'
@@ -262,6 +267,8 @@ require 'akeyless/models/gateway_update_producer_github'
262
267
  require 'akeyless/models/gateway_update_producer_github_output'
263
268
  require 'akeyless/models/gateway_update_producer_gke'
264
269
  require 'akeyless/models/gateway_update_producer_gke_output'
270
+ require 'akeyless/models/gateway_update_producer_hana_db'
271
+ require 'akeyless/models/gateway_update_producer_hana_db_output'
265
272
  require 'akeyless/models/gateway_update_producer_ldap'
266
273
  require 'akeyless/models/gateway_update_producer_ldap_output'
267
274
  require 'akeyless/models/gateway_update_producer_mssql'
@@ -329,15 +336,19 @@ require 'akeyless/models/kmip_client_list_response'
329
336
  require 'akeyless/models/kmip_client_update_response'
330
337
  require 'akeyless/models/kmip_config_part'
331
338
  require 'akeyless/models/kmip_environment_create_response'
339
+ require 'akeyless/models/kmip_server'
332
340
  require 'akeyless/models/kmip_client_delete_rule'
333
341
  require 'akeyless/models/kmip_client_set_rule'
334
342
  require 'akeyless/models/kmip_create_client'
335
343
  require 'akeyless/models/kmip_create_client_output'
336
344
  require 'akeyless/models/kmip_delete_client'
345
+ require 'akeyless/models/kmip_delete_server'
337
346
  require 'akeyless/models/kmip_describe_client'
338
347
  require 'akeyless/models/kmip_describe_server'
339
348
  require 'akeyless/models/kmip_describe_server_output'
340
349
  require 'akeyless/models/kmip_list_clients'
350
+ require 'akeyless/models/kmip_move_server'
351
+ require 'akeyless/models/kmip_move_server_output'
341
352
  require 'akeyless/models/kmip_renew_client_certificate'
342
353
  require 'akeyless/models/kmip_renew_client_certificate_output'
343
354
  require 'akeyless/models/kmip_renew_server_certificate'
@@ -444,6 +455,8 @@ require 'akeyless/models/update_assoc'
444
455
  require 'akeyless/models/update_auth_method'
445
456
  require 'akeyless/models/update_auth_method_awsiam'
446
457
  require 'akeyless/models/update_auth_method_azure_ad'
458
+ require 'akeyless/models/update_auth_method_cert'
459
+ require 'akeyless/models/update_auth_method_cert_output'
447
460
  require 'akeyless/models/update_auth_method_gcp'
448
461
  require 'akeyless/models/update_auth_method_k8_s'
449
462
  require 'akeyless/models/update_auth_method_k8_s_output'
@@ -0,0 +1,82 @@
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::CertAccessRules
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::CertAccessRules do
21
+ let(:instance) { Akeyless::CertAccessRules.new }
22
+
23
+ describe 'test an instance of CertAccessRules' do
24
+ it 'should create an instance of CertAccessRules' do
25
+ expect(instance).to be_instance_of(Akeyless::CertAccessRules)
26
+ end
27
+ end
28
+ describe 'test attribute "bound_common_names"' 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 "bound_dns_sans"' 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 "bound_email_sans"' 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 "bound_extensions"' 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 "bound_organizational_units"' 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 "bound_uri_sans"' 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 "certificate"' 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 "revoked_cert_ids"' 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 "unique_identifier"' 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
+ 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::CreateAuthMethodCertOutput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::CreateAuthMethodCertOutput do
21
+ let(:instance) { Akeyless::CreateAuthMethodCertOutput.new }
22
+
23
+ describe 'test an instance of CreateAuthMethodCertOutput' do
24
+ it 'should create an instance of CreateAuthMethodCertOutput' do
25
+ expect(instance).to be_instance_of(Akeyless::CreateAuthMethodCertOutput)
26
+ end
27
+ end
28
+ describe 'test attribute "access_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,124 @@
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::CreateAuthMethodCert
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::CreateAuthMethodCert do
21
+ let(:instance) { Akeyless::CreateAuthMethodCert.new }
22
+
23
+ describe 'test an instance of CreateAuthMethodCert' do
24
+ it 'should create an instance of CreateAuthMethodCert' do
25
+ expect(instance).to be_instance_of(Akeyless::CreateAuthMethodCert)
26
+ end
27
+ end
28
+ describe 'test attribute "access_expires"' 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 "bound_common_names"' 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 "bound_dns_sans"' 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 "bound_email_sans"' 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 "bound_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 "bound_ips"' 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 "bound_organizational_units"' 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 "bound_uri_sans"' 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 "certificate_data"' 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 "force_sub_claims"' 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 "jwt_ttl"' 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 "name"' 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 "revoked_cert_ids"' 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 "token"' 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 "uid_token"' 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 "unique_identifier"' 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
+ 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::GatewayCreateProducerHanaDbOutput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::GatewayCreateProducerHanaDbOutput do
21
+ let(:instance) { Akeyless::GatewayCreateProducerHanaDbOutput.new }
22
+
23
+ describe 'test an instance of GatewayCreateProducerHanaDbOutput' do
24
+ it 'should create an instance of GatewayCreateProducerHanaDbOutput' do
25
+ expect(instance).to be_instance_of(Akeyless::GatewayCreateProducerHanaDbOutput)
26
+ end
27
+ end
28
+ describe 'test attribute "producer_details"' 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,142 @@
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::GatewayCreateProducerHanaDb
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::GatewayCreateProducerHanaDb do
21
+ let(:instance) { Akeyless::GatewayCreateProducerHanaDb.new }
22
+
23
+ describe 'test an instance of GatewayCreateProducerHanaDb' do
24
+ it 'should create an instance of GatewayCreateProducerHanaDb' do
25
+ expect(instance).to be_instance_of(Akeyless::GatewayCreateProducerHanaDb)
26
+ end
27
+ end
28
+ describe 'test attribute "hana_dbname"' 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 "hanadb_create_statements"' 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 "hanadb_host"' 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 "hanadb_password"' 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 "hanadb_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 "hanadb_revocation_statements"' 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 "hanadb_username"' 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 "producer_encryption_key_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 "secure_access_bastion_issuer"' 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 "secure_access_db_schema"' 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 "secure_access_enable"' 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 "secure_access_host"' 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 "secure_access_web"' 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 "tags"' 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 "target_name"' 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 "token"' 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 "uid_token"' 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 "user_ttl"' 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
+ end