akeyless 3.3.4 → 3.3.5

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -1
  3. data/docs/CertificateTemplateInfo.md +32 -0
  4. data/docs/CreateClassicKey.md +16 -0
  5. data/docs/CreateDFCKey.md +16 -0
  6. data/docs/CreateKey.md +16 -0
  7. data/docs/DSProducerDetails.md +8 -2
  8. data/docs/DeriveKey.md +40 -0
  9. data/docs/DeriveKeyOutput.md +20 -0
  10. data/docs/EventAction.md +26 -0
  11. data/docs/GatewayCreateProducerCertificateAutomation.md +6 -4
  12. data/docs/GatewayUpdateProducerCertificateAutomation.md +6 -4
  13. data/docs/ItemGeneralInfo.md +2 -0
  14. data/docs/TargetTypeDetailsInput.md +8 -2
  15. data/docs/V2Api.md +126 -0
  16. data/lib/akeyless/api/v2_api.rb +128 -0
  17. data/lib/akeyless/models/certificate_template_info.rb +282 -0
  18. data/lib/akeyless/models/create_classic_key.rb +81 -1
  19. data/lib/akeyless/models/create_dfc_key.rb +81 -1
  20. data/lib/akeyless/models/create_key.rb +81 -1
  21. data/lib/akeyless/models/derive_key.rb +362 -0
  22. data/lib/akeyless/models/derive_key_output.rb +228 -0
  23. data/lib/akeyless/models/ds_producer_details.rb +30 -1
  24. data/lib/akeyless/models/event_action.rb +272 -0
  25. data/lib/akeyless/models/gateway_create_producer_certificate_automation.rb +30 -18
  26. data/lib/akeyless/models/gateway_update_producer_certificate_automation.rb +30 -18
  27. data/lib/akeyless/models/item_general_info.rb +10 -1
  28. data/lib/akeyless/models/target_type_details_input.rb +30 -1
  29. data/lib/akeyless/version.rb +1 -1
  30. data/lib/akeyless.rb +4 -0
  31. data/spec/models/certificate_template_info_spec.rb +76 -0
  32. data/spec/models/derive_key_output_spec.rb +40 -0
  33. data/spec/models/derive_key_spec.rb +100 -0
  34. data/spec/models/event_action_spec.rb +58 -0
  35. metadata +18 -2
@@ -70,21 +70,24 @@ module Akeyless
70
70
  # User TTL in time.Duration format (2160h / 129600m / etc...). When using sign-using-akeyless-pki certificates created will have this validity period, otherwise the user-ttl is taken from the Validity Period field of the Zone's' Issuing Template. When using cert-manager it is advised to have a TTL of above 60 days (1440h). For more information - https://cert-manager.io/docs/usage/certificate/
71
71
  attr_accessor :user_ttl
72
72
 
73
+ # Venafi Access Token to use to access the TPP environment (Relevant when using TPP)
74
+ attr_accessor :venafi_access_token
75
+
73
76
  # Venafi API key
74
77
  attr_accessor :venafi_api_key
75
78
 
76
79
  # Venafi Baseurl
77
80
  attr_accessor :venafi_baseurl
78
81
 
79
- # Venafi Password
80
- attr_accessor :venafi_password
82
+ # Venafi Client ID that was used when the access token was generated
83
+ attr_accessor :venafi_client_id
84
+
85
+ # Venafi Refresh Token to use when the Access Token is expired (Relevant when using TPP)
86
+ attr_accessor :venafi_refresh_token
81
87
 
82
88
  # Venafi using TPP
83
89
  attr_accessor :venafi_use_tpp
84
90
 
85
- # Venafi Username
86
- attr_accessor :venafi_username
87
-
88
91
  # Venafi Zone
89
92
  attr_accessor :venafi_zone
90
93
 
@@ -109,11 +112,12 @@ module Akeyless
109
112
  :'token' => :'token',
110
113
  :'uid_token' => :'uid-token',
111
114
  :'user_ttl' => :'user-ttl',
115
+ :'venafi_access_token' => :'venafi-access-token',
112
116
  :'venafi_api_key' => :'venafi-api-key',
113
117
  :'venafi_baseurl' => :'venafi-baseurl',
114
- :'venafi_password' => :'venafi-password',
118
+ :'venafi_client_id' => :'venafi-client-id',
119
+ :'venafi_refresh_token' => :'venafi-refresh-token',
115
120
  :'venafi_use_tpp' => :'venafi-use-tpp',
116
- :'venafi_username' => :'venafi-username',
117
121
  :'venafi_zone' => :'venafi-zone'
118
122
  }
119
123
  end
@@ -144,11 +148,12 @@ module Akeyless
144
148
  :'token' => :'String',
145
149
  :'uid_token' => :'String',
146
150
  :'user_ttl' => :'String',
151
+ :'venafi_access_token' => :'String',
147
152
  :'venafi_api_key' => :'String',
148
153
  :'venafi_baseurl' => :'String',
149
- :'venafi_password' => :'String',
154
+ :'venafi_client_id' => :'String',
155
+ :'venafi_refresh_token' => :'String',
150
156
  :'venafi_use_tpp' => :'Boolean',
151
- :'venafi_username' => :'String',
152
157
  :'venafi_zone' => :'String'
153
158
  }
154
159
  end
@@ -258,6 +263,10 @@ module Akeyless
258
263
  self.user_ttl = '2160h'
259
264
  end
260
265
 
266
+ if attributes.key?(:'venafi_access_token')
267
+ self.venafi_access_token = attributes[:'venafi_access_token']
268
+ end
269
+
261
270
  if attributes.key?(:'venafi_api_key')
262
271
  self.venafi_api_key = attributes[:'venafi_api_key']
263
272
  end
@@ -266,16 +275,18 @@ module Akeyless
266
275
  self.venafi_baseurl = attributes[:'venafi_baseurl']
267
276
  end
268
277
 
269
- if attributes.key?(:'venafi_password')
270
- self.venafi_password = attributes[:'venafi_password']
278
+ if attributes.key?(:'venafi_client_id')
279
+ self.venafi_client_id = attributes[:'venafi_client_id']
280
+ else
281
+ self.venafi_client_id = 'akeyless'
271
282
  end
272
283
 
273
- if attributes.key?(:'venafi_use_tpp')
274
- self.venafi_use_tpp = attributes[:'venafi_use_tpp']
284
+ if attributes.key?(:'venafi_refresh_token')
285
+ self.venafi_refresh_token = attributes[:'venafi_refresh_token']
275
286
  end
276
287
 
277
- if attributes.key?(:'venafi_username')
278
- self.venafi_username = attributes[:'venafi_username']
288
+ if attributes.key?(:'venafi_use_tpp')
289
+ self.venafi_use_tpp = attributes[:'venafi_use_tpp']
279
290
  end
280
291
 
281
292
  if attributes.key?(:'venafi_zone')
@@ -324,11 +335,12 @@ module Akeyless
324
335
  token == o.token &&
325
336
  uid_token == o.uid_token &&
326
337
  user_ttl == o.user_ttl &&
338
+ venafi_access_token == o.venafi_access_token &&
327
339
  venafi_api_key == o.venafi_api_key &&
328
340
  venafi_baseurl == o.venafi_baseurl &&
329
- venafi_password == o.venafi_password &&
341
+ venafi_client_id == o.venafi_client_id &&
342
+ venafi_refresh_token == o.venafi_refresh_token &&
330
343
  venafi_use_tpp == o.venafi_use_tpp &&
331
- venafi_username == o.venafi_username &&
332
344
  venafi_zone == o.venafi_zone
333
345
  end
334
346
 
@@ -341,7 +353,7 @@ module Akeyless
341
353
  # Calculates hash code according to all attributes.
342
354
  # @return [Integer] Hash code
343
355
  def hash
344
- [admin_rotation_interval_days, allow_subdomains, allowed_domains, auto_generated_folder, delete_protection, enable_admin_rotation, json, name, producer_encryption_key_name, root_first_in_chain, sign_using_akeyless_pki, signer_key_name, store_private_key, tags, target_name, token, uid_token, user_ttl, venafi_api_key, venafi_baseurl, venafi_password, venafi_use_tpp, venafi_username, venafi_zone].hash
356
+ [admin_rotation_interval_days, allow_subdomains, allowed_domains, auto_generated_folder, delete_protection, enable_admin_rotation, json, name, producer_encryption_key_name, root_first_in_chain, sign_using_akeyless_pki, signer_key_name, store_private_key, tags, target_name, token, uid_token, user_ttl, venafi_access_token, venafi_api_key, venafi_baseurl, venafi_client_id, venafi_refresh_token, venafi_use_tpp, venafi_zone].hash
345
357
  end
346
358
 
347
359
  # Builds the object from hash
@@ -73,21 +73,24 @@ module Akeyless
73
73
  # User TTL in time.Duration format (2160h / 129600m / etc...). When using sign-using-akeyless-pki certificates created will have this validity period, otherwise the user-ttl is taken from the Validity Period field of the Zone's' Issuing Template. When using cert-manager it is advised to have a TTL of above 60 days (1440h). For more information - https://cert-manager.io/docs/usage/certificate/
74
74
  attr_accessor :user_ttl
75
75
 
76
+ # Venafi Access Token to use to access the TPP environment (Relevant when using TPP)
77
+ attr_accessor :venafi_access_token
78
+
76
79
  # Venafi API key
77
80
  attr_accessor :venafi_api_key
78
81
 
79
82
  # Venafi Baseurl
80
83
  attr_accessor :venafi_baseurl
81
84
 
82
- # Venafi Password
83
- attr_accessor :venafi_password
85
+ # Venafi Client ID that was used when the access token was generated
86
+ attr_accessor :venafi_client_id
87
+
88
+ # Venafi Refresh Token to use when the Access Token is expired (Relevant when using TPP)
89
+ attr_accessor :venafi_refresh_token
84
90
 
85
91
  # Venafi using TPP
86
92
  attr_accessor :venafi_use_tpp
87
93
 
88
- # Venafi Username
89
- attr_accessor :venafi_username
90
-
91
94
  # Venafi Zone
92
95
  attr_accessor :venafi_zone
93
96
 
@@ -113,11 +116,12 @@ module Akeyless
113
116
  :'token' => :'token',
114
117
  :'uid_token' => :'uid-token',
115
118
  :'user_ttl' => :'user-ttl',
119
+ :'venafi_access_token' => :'venafi-access-token',
116
120
  :'venafi_api_key' => :'venafi-api-key',
117
121
  :'venafi_baseurl' => :'venafi-baseurl',
118
- :'venafi_password' => :'venafi-password',
122
+ :'venafi_client_id' => :'venafi-client-id',
123
+ :'venafi_refresh_token' => :'venafi-refresh-token',
119
124
  :'venafi_use_tpp' => :'venafi-use-tpp',
120
- :'venafi_username' => :'venafi-username',
121
125
  :'venafi_zone' => :'venafi-zone'
122
126
  }
123
127
  end
@@ -149,11 +153,12 @@ module Akeyless
149
153
  :'token' => :'String',
150
154
  :'uid_token' => :'String',
151
155
  :'user_ttl' => :'String',
156
+ :'venafi_access_token' => :'String',
152
157
  :'venafi_api_key' => :'String',
153
158
  :'venafi_baseurl' => :'String',
154
- :'venafi_password' => :'String',
159
+ :'venafi_client_id' => :'String',
160
+ :'venafi_refresh_token' => :'String',
155
161
  :'venafi_use_tpp' => :'Boolean',
156
- :'venafi_username' => :'String',
157
162
  :'venafi_zone' => :'String'
158
163
  }
159
164
  end
@@ -267,6 +272,10 @@ module Akeyless
267
272
  self.user_ttl = '2160h'
268
273
  end
269
274
 
275
+ if attributes.key?(:'venafi_access_token')
276
+ self.venafi_access_token = attributes[:'venafi_access_token']
277
+ end
278
+
270
279
  if attributes.key?(:'venafi_api_key')
271
280
  self.venafi_api_key = attributes[:'venafi_api_key']
272
281
  end
@@ -275,16 +284,18 @@ module Akeyless
275
284
  self.venafi_baseurl = attributes[:'venafi_baseurl']
276
285
  end
277
286
 
278
- if attributes.key?(:'venafi_password')
279
- self.venafi_password = attributes[:'venafi_password']
287
+ if attributes.key?(:'venafi_client_id')
288
+ self.venafi_client_id = attributes[:'venafi_client_id']
289
+ else
290
+ self.venafi_client_id = 'akeyless'
280
291
  end
281
292
 
282
- if attributes.key?(:'venafi_use_tpp')
283
- self.venafi_use_tpp = attributes[:'venafi_use_tpp']
293
+ if attributes.key?(:'venafi_refresh_token')
294
+ self.venafi_refresh_token = attributes[:'venafi_refresh_token']
284
295
  end
285
296
 
286
- if attributes.key?(:'venafi_username')
287
- self.venafi_username = attributes[:'venafi_username']
297
+ if attributes.key?(:'venafi_use_tpp')
298
+ self.venafi_use_tpp = attributes[:'venafi_use_tpp']
288
299
  end
289
300
 
290
301
  if attributes.key?(:'venafi_zone')
@@ -334,11 +345,12 @@ module Akeyless
334
345
  token == o.token &&
335
346
  uid_token == o.uid_token &&
336
347
  user_ttl == o.user_ttl &&
348
+ venafi_access_token == o.venafi_access_token &&
337
349
  venafi_api_key == o.venafi_api_key &&
338
350
  venafi_baseurl == o.venafi_baseurl &&
339
- venafi_password == o.venafi_password &&
351
+ venafi_client_id == o.venafi_client_id &&
352
+ venafi_refresh_token == o.venafi_refresh_token &&
340
353
  venafi_use_tpp == o.venafi_use_tpp &&
341
- venafi_username == o.venafi_username &&
342
354
  venafi_zone == o.venafi_zone
343
355
  end
344
356
 
@@ -351,7 +363,7 @@ module Akeyless
351
363
  # Calculates hash code according to all attributes.
352
364
  # @return [Integer] Hash code
353
365
  def hash
354
- [admin_rotation_interval_days, allow_subdomains, allowed_domains, auto_generated_folder, delete_protection, enable_admin_rotation, json, name, new_name, producer_encryption_key_name, root_first_in_chain, sign_using_akeyless_pki, signer_key_name, store_private_key, tags, target_name, token, uid_token, user_ttl, venafi_api_key, venafi_baseurl, venafi_password, venafi_use_tpp, venafi_username, venafi_zone].hash
366
+ [admin_rotation_interval_days, allow_subdomains, allowed_domains, auto_generated_folder, delete_protection, enable_admin_rotation, json, name, new_name, producer_encryption_key_name, root_first_in_chain, sign_using_akeyless_pki, signer_key_name, store_private_key, tags, target_name, token, uid_token, user_ttl, venafi_access_token, venafi_api_key, venafi_baseurl, venafi_client_id, venafi_refresh_token, venafi_use_tpp, venafi_zone].hash
355
367
  end
356
368
 
357
369
  # Builds the object from hash
@@ -19,6 +19,8 @@ module Akeyless
19
19
 
20
20
  attr_accessor :certificate_chain_info
21
21
 
22
+ attr_accessor :certificates_template_info
23
+
22
24
  attr_accessor :classic_key_details
23
25
 
24
26
  attr_accessor :cluster_gw_url
@@ -44,6 +46,7 @@ module Akeyless
44
46
  {
45
47
  :'cert_issue_details' => :'cert_issue_details',
46
48
  :'certificate_chain_info' => :'certificate_chain_info',
49
+ :'certificates_template_info' => :'certificates_template_info',
47
50
  :'classic_key_details' => :'classic_key_details',
48
51
  :'cluster_gw_url' => :'cluster_gw_url',
49
52
  :'display_metadata' => :'display_metadata',
@@ -67,6 +70,7 @@ module Akeyless
67
70
  {
68
71
  :'cert_issue_details' => :'CertificateIssueInfo',
69
72
  :'certificate_chain_info' => :'CertificateChainInfo',
73
+ :'certificates_template_info' => :'CertificateTemplateInfo',
70
74
  :'classic_key_details' => :'ClassicKeyDetailsInfo',
71
75
  :'cluster_gw_url' => :'String',
72
76
  :'display_metadata' => :'String',
@@ -109,6 +113,10 @@ module Akeyless
109
113
  self.certificate_chain_info = attributes[:'certificate_chain_info']
110
114
  end
111
115
 
116
+ if attributes.key?(:'certificates_template_info')
117
+ self.certificates_template_info = attributes[:'certificates_template_info']
118
+ end
119
+
112
120
  if attributes.key?(:'classic_key_details')
113
121
  self.classic_key_details = attributes[:'classic_key_details']
114
122
  end
@@ -170,6 +178,7 @@ module Akeyless
170
178
  self.class == o.class &&
171
179
  cert_issue_details == o.cert_issue_details &&
172
180
  certificate_chain_info == o.certificate_chain_info &&
181
+ certificates_template_info == o.certificates_template_info &&
173
182
  classic_key_details == o.classic_key_details &&
174
183
  cluster_gw_url == o.cluster_gw_url &&
175
184
  display_metadata == o.display_metadata &&
@@ -191,7 +200,7 @@ module Akeyless
191
200
  # Calculates hash code according to all attributes.
192
201
  # @return [Integer] Hash code
193
202
  def hash
194
- [cert_issue_details, certificate_chain_info, classic_key_details, cluster_gw_url, display_metadata, dynamic_secret_producer_details, importer_info, password_policy, rotated_secret_details, secure_remote_access_details, static_secret_info, tokenizer_info].hash
203
+ [cert_issue_details, certificate_chain_info, certificates_template_info, classic_key_details, cluster_gw_url, display_metadata, dynamic_secret_producer_details, importer_info, password_policy, rotated_secret_details, secure_remote_access_details, static_secret_info, tokenizer_info].hash
195
204
  end
196
205
 
197
206
  # Builds the object from hash
@@ -260,8 +260,16 @@ module Akeyless
260
260
 
261
261
  attr_accessor :venafi_base_url
262
262
 
263
+ attr_accessor :venafi_tpp_access_token
264
+
265
+ attr_accessor :venafi_tpp_client_id
266
+
267
+ # Deprecated: VenafiAccessToken and VenafiRefreshToken should be used instead
263
268
  attr_accessor :venafi_tpp_password
264
269
 
270
+ attr_accessor :venafi_tpp_refresh_token
271
+
272
+ # Deprecated: VenafiAccessToken and VenafiRefreshToken should be used instead
265
273
  attr_accessor :venafi_tpp_username
266
274
 
267
275
  attr_accessor :venafi_use_tpp
@@ -386,7 +394,10 @@ module Akeyless
386
394
  :'validation_email' => :'validation_email',
387
395
  :'venafi_api_key' => :'venafi_api_key',
388
396
  :'venafi_base_url' => :'venafi_base_url',
397
+ :'venafi_tpp_access_token' => :'venafi_tpp_access_token',
398
+ :'venafi_tpp_client_id' => :'venafi_tpp_client_id',
389
399
  :'venafi_tpp_password' => :'venafi_tpp_password',
400
+ :'venafi_tpp_refresh_token' => :'venafi_tpp_refresh_token',
390
401
  :'venafi_tpp_username' => :'venafi_tpp_username',
391
402
  :'venafi_use_tpp' => :'venafi_use_tpp',
392
403
  :'venafi_zone' => :'venafi_zone'
@@ -516,7 +527,10 @@ module Akeyless
516
527
  :'validation_email' => :'String',
517
528
  :'venafi_api_key' => :'String',
518
529
  :'venafi_base_url' => :'String',
530
+ :'venafi_tpp_access_token' => :'String',
531
+ :'venafi_tpp_client_id' => :'String',
519
532
  :'venafi_tpp_password' => :'String',
533
+ :'venafi_tpp_refresh_token' => :'String',
520
534
  :'venafi_tpp_username' => :'String',
521
535
  :'venafi_use_tpp' => :'Boolean',
522
536
  :'venafi_zone' => :'String'
@@ -1010,10 +1024,22 @@ module Akeyless
1010
1024
  self.venafi_base_url = attributes[:'venafi_base_url']
1011
1025
  end
1012
1026
 
1027
+ if attributes.key?(:'venafi_tpp_access_token')
1028
+ self.venafi_tpp_access_token = attributes[:'venafi_tpp_access_token']
1029
+ end
1030
+
1031
+ if attributes.key?(:'venafi_tpp_client_id')
1032
+ self.venafi_tpp_client_id = attributes[:'venafi_tpp_client_id']
1033
+ end
1034
+
1013
1035
  if attributes.key?(:'venafi_tpp_password')
1014
1036
  self.venafi_tpp_password = attributes[:'venafi_tpp_password']
1015
1037
  end
1016
1038
 
1039
+ if attributes.key?(:'venafi_tpp_refresh_token')
1040
+ self.venafi_tpp_refresh_token = attributes[:'venafi_tpp_refresh_token']
1041
+ end
1042
+
1017
1043
  if attributes.key?(:'venafi_tpp_username')
1018
1044
  self.venafi_tpp_username = attributes[:'venafi_tpp_username']
1019
1045
  end
@@ -1160,7 +1186,10 @@ module Akeyless
1160
1186
  validation_email == o.validation_email &&
1161
1187
  venafi_api_key == o.venafi_api_key &&
1162
1188
  venafi_base_url == o.venafi_base_url &&
1189
+ venafi_tpp_access_token == o.venafi_tpp_access_token &&
1190
+ venafi_tpp_client_id == o.venafi_tpp_client_id &&
1163
1191
  venafi_tpp_password == o.venafi_tpp_password &&
1192
+ venafi_tpp_refresh_token == o.venafi_tpp_refresh_token &&
1164
1193
  venafi_tpp_username == o.venafi_tpp_username &&
1165
1194
  venafi_use_tpp == o.venafi_use_tpp &&
1166
1195
  venafi_zone == o.venafi_zone
@@ -1175,7 +1204,7 @@ module Akeyless
1175
1204
  # Calculates hash code according to all attributes.
1176
1205
  # @return [Integer] Hash code
1177
1206
  def hash
1178
- [administrative_port, api_key, app_private_key, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, auth_flow, authorization_port, aws_access_key_id, aws_region, aws_secret_access_key, aws_session_token, azure_client_id, azure_client_secret, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, ca_cert_data, ca_cert_name, certificate, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_id, client_secret, db_host_name, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_user_name, domain_name, eks_access_key_id, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, email, first_name, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, github_app_id, github_app_private_key, github_base_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, host, hostname, hosts, imap_fqdn, imap_password, imap_port, imap_user, implementation_type, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, last_name, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_uri_connection, mongodb_uri_options, mongodb_username, password, payload, phone, ping_url, port, private_key, private_key_password, privileged_user, profile_id, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, security_token, sf_account, ssl_connection_certificate, ssl_connection_mode, tenant_url, timeout, url, use_gw_cloud_identity, use_gw_service_account, use_tls, user_name, user_password, username, validation_email, venafi_api_key, venafi_base_url, venafi_tpp_password, venafi_tpp_username, venafi_use_tpp, venafi_zone].hash
1207
+ [administrative_port, api_key, app_private_key, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, auth_flow, authorization_port, aws_access_key_id, aws_region, aws_secret_access_key, aws_session_token, azure_client_id, azure_client_secret, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, ca_cert_data, ca_cert_name, certificate, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_id, client_secret, db_host_name, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_user_name, domain_name, eks_access_key_id, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, email, first_name, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, github_app_id, github_app_private_key, github_base_url, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, host, hostname, hosts, imap_fqdn, imap_password, imap_port, imap_user, implementation_type, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, last_name, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_uri_connection, mongodb_uri_options, mongodb_username, password, payload, phone, ping_url, port, private_key, private_key_password, privileged_user, profile_id, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, security_token, sf_account, ssl_connection_certificate, ssl_connection_mode, tenant_url, timeout, url, use_gw_cloud_identity, use_gw_service_account, use_tls, user_name, user_password, username, validation_email, venafi_api_key, venafi_base_url, venafi_tpp_access_token, venafi_tpp_client_id, venafi_tpp_password, venafi_tpp_refresh_token, venafi_tpp_username, venafi_use_tpp, venafi_zone].hash
1179
1208
  end
1180
1209
 
1181
1210
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.0.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Akeyless
14
- VERSION = '3.3.4'
14
+ VERSION = '3.3.5'
15
15
  end
data/lib/akeyless.rb CHANGED
@@ -55,6 +55,7 @@ require 'akeyless/models/certificate_chain_info'
55
55
  require 'akeyless/models/certificate_expiration_event'
56
56
  require 'akeyless/models/certificate_info'
57
57
  require 'akeyless/models/certificate_issue_info'
58
+ require 'akeyless/models/certificate_template_info'
58
59
  require 'akeyless/models/classic_key_details_info'
59
60
  require 'akeyless/models/classic_key_status_info'
60
61
  require 'akeyless/models/classic_key_target_info'
@@ -190,6 +191,8 @@ require 'akeyless/models/delete_roles'
190
191
  require 'akeyless/models/delete_target'
191
192
  require 'akeyless/models/delete_target_association'
192
193
  require 'akeyless/models/delete_targets'
194
+ require 'akeyless/models/derive_key'
195
+ require 'akeyless/models/derive_key_output'
193
196
  require 'akeyless/models/describe_assoc'
194
197
  require 'akeyless/models/describe_item'
195
198
  require 'akeyless/models/describe_permissions'
@@ -220,6 +223,7 @@ require 'akeyless/models/esm_list'
220
223
  require 'akeyless/models/esm_list_secrets_output'
221
224
  require 'akeyless/models/esm_update'
222
225
  require 'akeyless/models/esm_update_secret_output'
226
+ require 'akeyless/models/event_action'
223
227
  require 'akeyless/models/export_classic_key'
224
228
  require 'akeyless/models/export_classic_key_output'
225
229
  require 'akeyless/models/extension'
@@ -0,0 +1,76 @@
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: 7.0.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::CertificateTemplateInfo
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::CertificateTemplateInfo do
21
+ let(:instance) { Akeyless::CertificateTemplateInfo.new }
22
+
23
+ describe 'test an instance of CertificateTemplateInfo' do
24
+ it 'should create an instance of CertificateTemplateInfo' do
25
+ expect(instance).to be_instance_of(Akeyless::CertificateTemplateInfo)
26
+ end
27
+ end
28
+ describe 'test attribute "common_name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "country"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "digest_algo"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "locality"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "organization"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "province"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "self_signed_enabled"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "ttl"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ 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: 7.0.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::DeriveKeyOutput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::DeriveKeyOutput do
21
+ let(:instance) { Akeyless::DeriveKeyOutput.new }
22
+
23
+ describe 'test an instance of DeriveKeyOutput' do
24
+ it 'should create an instance of DeriveKeyOutput' do
25
+ expect(instance).to be_instance_of(Akeyless::DeriveKeyOutput)
26
+ end
27
+ end
28
+ describe 'test attribute "key"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "salt"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
+ end
38
+ end
39
+
40
+ end
@@ -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: 7.0.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Akeyless::DeriveKey
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Akeyless::DeriveKey do
21
+ let(:instance) { Akeyless::DeriveKey.new }
22
+
23
+ describe 'test an instance of DeriveKey' do
24
+ it 'should create an instance of DeriveKey' do
25
+ expect(instance).to be_instance_of(Akeyless::DeriveKey)
26
+ end
27
+ end
28
+ describe 'test attribute "accessibility"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "alg"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "hash_function"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "iter"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "json"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "key_len"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "mem"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "name"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "parallelism"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "salt"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "token"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/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://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
97
+ end
98
+ end
99
+
100
+ end