akeyless 4.2.4 → 4.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -1
  3. data/docs/AcmeAccount.md +22 -0
  4. data/docs/AuthMethodRoleAssociation.md +2 -0
  5. data/docs/ChangeAdminAccountPassword.md +26 -0
  6. data/docs/CreatePKICertIssuer.md +5 -1
  7. data/docs/DeactivateAcmeAccount.md +28 -0
  8. data/docs/GenerateAcmeEab.md +24 -0
  9. data/docs/GenerateAcmeEabOutput.md +22 -0
  10. data/docs/GetGroupOutput.md +2 -0
  11. data/docs/GetKubeExecCreds.md +1 -1
  12. data/docs/GetPKICertificate.md +1 -1
  13. data/docs/Group.md +2 -0
  14. data/docs/ListAcmeAccounts.md +24 -0
  15. data/docs/ListAcmeAccountsOutput.md +18 -0
  16. data/docs/PKICertificateIssueDetails.md +4 -0
  17. data/docs/RoleAssociationDetails.md +2 -0
  18. data/docs/RoleAuthMethodAssociation.md +2 -0
  19. data/docs/UpdateClassicKeyCertificate.md +2 -0
  20. data/docs/UpdateItem.md +2 -0
  21. data/docs/UpdatePKICertIssuer.md +5 -1
  22. data/docs/V2Api.md +252 -0
  23. data/lib/akeyless/api/v2_api.rb +256 -0
  24. data/lib/akeyless/models/acme_account.rb +234 -0
  25. data/lib/akeyless/models/auth_method_role_association.rb +10 -1
  26. data/lib/akeyless/models/change_admin_account_password.rb +271 -0
  27. data/lib/akeyless/models/create_pki_cert_issuer.rb +24 -2
  28. data/lib/akeyless/models/deactivate_acme_account.rb +282 -0
  29. data/lib/akeyless/models/generate_acme_eab.rb +254 -0
  30. data/lib/akeyless/models/generate_acme_eab_output.rb +232 -0
  31. data/lib/akeyless/models/get_group_output.rb +10 -1
  32. data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
  33. data/lib/akeyless/models/get_pki_certificate.rb +1 -1
  34. data/lib/akeyless/models/group.rb +10 -1
  35. data/lib/akeyless/models/list_acme_accounts.rb +255 -0
  36. data/lib/akeyless/models/list_acme_accounts_output.rb +216 -0
  37. data/lib/akeyless/models/pki_certificate_issue_details.rb +19 -1
  38. data/lib/akeyless/models/role_association_details.rb +10 -1
  39. data/lib/akeyless/models/role_auth_method_association.rb +10 -1
  40. data/lib/akeyless/models/update_classic_key_certificate.rb +10 -1
  41. data/lib/akeyless/models/update_item.rb +10 -1
  42. data/lib/akeyless/models/update_pki_cert_issuer.rb +24 -2
  43. data/lib/akeyless/version.rb +1 -1
  44. data/lib/akeyless.rb +7 -0
  45. data/spec/models/acme_account_spec.rb +48 -0
  46. data/spec/models/change_admin_account_password_spec.rb +60 -0
  47. data/spec/models/deactivate_acme_account_spec.rb +66 -0
  48. data/spec/models/generate_acme_eab_output_spec.rb +48 -0
  49. data/spec/models/generate_acme_eab_spec.rb +54 -0
  50. data/spec/models/list_acme_accounts_output_spec.rb +36 -0
  51. data/spec/models/list_acme_accounts_spec.rb +54 -0
  52. metadata +30 -2
data/docs/V2Api.md CHANGED
@@ -37,6 +37,7 @@ All URIs are relative to *https://api.akeyless.io*
37
37
  | [**auth_method_update_oidc**](V2Api.md#auth_method_update_oidc) | **POST** /auth-method-update-oidc | |
38
38
  | [**auth_method_update_saml**](V2Api.md#auth_method_update_saml) | **POST** /auth-method-update-saml | |
39
39
  | [**auth_method_update_universal_identity**](V2Api.md#auth_method_update_universal_identity) | **POST** /auth-method-update-universal-identity | |
40
+ | [**change_admin_account_password**](V2Api.md#change_admin_account_password) | **POST** /change-admin-account-password | |
40
41
  | [**configure**](V2Api.md#configure) | **POST** /configure | |
41
42
  | [**connect**](V2Api.md#connect) | **POST** /connect | |
42
43
  | [**create_artifactory_target**](V2Api.md#create_artifactory_target) | **POST** /create-artifactory-target | |
@@ -94,6 +95,7 @@ All URIs are relative to *https://api.akeyless.io*
94
95
  | [**create_windows_target**](V2Api.md#create_windows_target) | **POST** /create-windows-target | |
95
96
  | [**create_zero_ssl_target**](V2Api.md#create_zero_ssl_target) | **POST** /create-zerossl-target | |
96
97
  | [**createldap_target**](V2Api.md#createldap_target) | **POST** /create-ldap-target | |
98
+ | [**deactivate_acme_account**](V2Api.md#deactivate_acme_account) | **POST** /deactivate-acme-account | |
97
99
  | [**decrypt**](V2Api.md#decrypt) | **POST** /decrypt | |
98
100
  | [**decrypt_batch**](V2Api.md#decrypt_batch) | **POST** /decrypt-batch | |
99
101
  | [**decrypt_gpg**](V2Api.md#decrypt_gpg) | **POST** /decrypt-gpg | |
@@ -306,6 +308,7 @@ All URIs are relative to *https://api.akeyless.io*
306
308
  | [**gateway_update_remote_access_rdp_recordings**](V2Api.md#gateway_update_remote_access_rdp_recordings) | **POST** /gateway-update-remote-access-rdp-recording | |
307
309
  | [**gateway_update_tls_cert**](V2Api.md#gateway_update_tls_cert) | **POST** /gateway-update-tls-cert | |
308
310
  | [**gateway_update_tmp_users**](V2Api.md#gateway_update_tmp_users) | **POST** /gateway-update-producer-tmp-creds | |
311
+ | [**generate_acme_eab**](V2Api.md#generate_acme_eab) | **POST** /generate-acme-eab | |
309
312
  | [**generate_csr**](V2Api.md#generate_csr) | **POST** /generate-csr | |
310
313
  | [**get_account_logo**](V2Api.md#get_account_logo) | **POST** /get-account-logo | |
311
314
  | [**get_account_settings**](V2Api.md#get_account_settings) | **POST** /get-account-settings | |
@@ -352,6 +355,7 @@ All URIs are relative to *https://api.akeyless.io*
352
355
  | [**kmip_renew_server_certificate**](V2Api.md#kmip_renew_server_certificate) | **POST** /kmip-renew-environment | |
353
356
  | [**kmip_server_setup**](V2Api.md#kmip_server_setup) | **POST** /kmip-create-environment | |
354
357
  | [**kmip_set_server_state**](V2Api.md#kmip_set_server_state) | **POST** /kmip-set-environment-state | |
358
+ | [**list_acme_accounts**](V2Api.md#list_acme_accounts) | **POST** /list-acme-accounts | |
355
359
  | [**list_auth_methods**](V2Api.md#list_auth_methods) | **POST** /list-auth-methods | |
356
360
  | [**list_gateways**](V2Api.md#list_gateways) | **POST** /list-gateways | |
357
361
  | [**list_groups**](V2Api.md#list_groups) | **POST** /list-group | |
@@ -2604,6 +2608,68 @@ No authorization required
2604
2608
  - **Accept**: application/json
2605
2609
 
2606
2610
 
2611
+ ## change_admin_account_password
2612
+
2613
+ > Object change_admin_account_password(body)
2614
+
2615
+
2616
+
2617
+ ### Examples
2618
+
2619
+ ```ruby
2620
+ require 'time'
2621
+ require 'akeyless'
2622
+
2623
+ api_instance = Akeyless::V2Api.new
2624
+ body = Akeyless::ChangeAdminAccountPassword.new({current_password: 'current_password_example', new_password: 'new_password_example'}) # ChangeAdminAccountPassword |
2625
+
2626
+ begin
2627
+
2628
+ result = api_instance.change_admin_account_password(body)
2629
+ p result
2630
+ rescue Akeyless::ApiError => e
2631
+ puts "Error when calling V2Api->change_admin_account_password: #{e}"
2632
+ end
2633
+ ```
2634
+
2635
+ #### Using the change_admin_account_password_with_http_info variant
2636
+
2637
+ This returns an Array which contains the response data, status code and headers.
2638
+
2639
+ > <Array(Object, Integer, Hash)> change_admin_account_password_with_http_info(body)
2640
+
2641
+ ```ruby
2642
+ begin
2643
+
2644
+ data, status_code, headers = api_instance.change_admin_account_password_with_http_info(body)
2645
+ p status_code # => 2xx
2646
+ p headers # => { ... }
2647
+ p data # => Object
2648
+ rescue Akeyless::ApiError => e
2649
+ puts "Error when calling V2Api->change_admin_account_password_with_http_info: #{e}"
2650
+ end
2651
+ ```
2652
+
2653
+ ### Parameters
2654
+
2655
+ | Name | Type | Description | Notes |
2656
+ | ---- | ---- | ----------- | ----- |
2657
+ | **body** | [**ChangeAdminAccountPassword**](ChangeAdminAccountPassword.md) | | |
2658
+
2659
+ ### Return type
2660
+
2661
+ **Object**
2662
+
2663
+ ### Authorization
2664
+
2665
+ No authorization required
2666
+
2667
+ ### HTTP request headers
2668
+
2669
+ - **Content-Type**: application/json
2670
+ - **Accept**: application/json
2671
+
2672
+
2607
2673
  ## configure
2608
2674
 
2609
2675
  > <ConfigureOutput> configure(body)
@@ -6138,6 +6204,68 @@ No authorization required
6138
6204
  - **Accept**: application/json
6139
6205
 
6140
6206
 
6207
+ ## deactivate_acme_account
6208
+
6209
+ > Object deactivate_acme_account(body)
6210
+
6211
+
6212
+
6213
+ ### Examples
6214
+
6215
+ ```ruby
6216
+ require 'time'
6217
+ require 'akeyless'
6218
+
6219
+ api_instance = Akeyless::V2Api.new
6220
+ body = Akeyless::DeactivateAcmeAccount.new({acme_account_id: 'acme_account_id_example', cert_issuer_name: 'cert_issuer_name_example'}) # DeactivateAcmeAccount |
6221
+
6222
+ begin
6223
+
6224
+ result = api_instance.deactivate_acme_account(body)
6225
+ p result
6226
+ rescue Akeyless::ApiError => e
6227
+ puts "Error when calling V2Api->deactivate_acme_account: #{e}"
6228
+ end
6229
+ ```
6230
+
6231
+ #### Using the deactivate_acme_account_with_http_info variant
6232
+
6233
+ This returns an Array which contains the response data, status code and headers.
6234
+
6235
+ > <Array(Object, Integer, Hash)> deactivate_acme_account_with_http_info(body)
6236
+
6237
+ ```ruby
6238
+ begin
6239
+
6240
+ data, status_code, headers = api_instance.deactivate_acme_account_with_http_info(body)
6241
+ p status_code # => 2xx
6242
+ p headers # => { ... }
6243
+ p data # => Object
6244
+ rescue Akeyless::ApiError => e
6245
+ puts "Error when calling V2Api->deactivate_acme_account_with_http_info: #{e}"
6246
+ end
6247
+ ```
6248
+
6249
+ ### Parameters
6250
+
6251
+ | Name | Type | Description | Notes |
6252
+ | ---- | ---- | ----------- | ----- |
6253
+ | **body** | [**DeactivateAcmeAccount**](DeactivateAcmeAccount.md) | | |
6254
+
6255
+ ### Return type
6256
+
6257
+ **Object**
6258
+
6259
+ ### Authorization
6260
+
6261
+ No authorization required
6262
+
6263
+ ### HTTP request headers
6264
+
6265
+ - **Content-Type**: application/json
6266
+ - **Accept**: application/json
6267
+
6268
+
6141
6269
  ## decrypt
6142
6270
 
6143
6271
  > <DecryptOutput> decrypt(body)
@@ -19285,6 +19413,68 @@ No authorization required
19285
19413
  - **Accept**: application/json
19286
19414
 
19287
19415
 
19416
+ ## generate_acme_eab
19417
+
19418
+ > <GenerateAcmeEabOutput> generate_acme_eab(body)
19419
+
19420
+
19421
+
19422
+ ### Examples
19423
+
19424
+ ```ruby
19425
+ require 'time'
19426
+ require 'akeyless'
19427
+
19428
+ api_instance = Akeyless::V2Api.new
19429
+ body = Akeyless::GenerateAcmeEab.new({cert_issuer_name: 'cert_issuer_name_example'}) # GenerateAcmeEab |
19430
+
19431
+ begin
19432
+
19433
+ result = api_instance.generate_acme_eab(body)
19434
+ p result
19435
+ rescue Akeyless::ApiError => e
19436
+ puts "Error when calling V2Api->generate_acme_eab: #{e}"
19437
+ end
19438
+ ```
19439
+
19440
+ #### Using the generate_acme_eab_with_http_info variant
19441
+
19442
+ This returns an Array which contains the response data, status code and headers.
19443
+
19444
+ > <Array(<GenerateAcmeEabOutput>, Integer, Hash)> generate_acme_eab_with_http_info(body)
19445
+
19446
+ ```ruby
19447
+ begin
19448
+
19449
+ data, status_code, headers = api_instance.generate_acme_eab_with_http_info(body)
19450
+ p status_code # => 2xx
19451
+ p headers # => { ... }
19452
+ p data # => <GenerateAcmeEabOutput>
19453
+ rescue Akeyless::ApiError => e
19454
+ puts "Error when calling V2Api->generate_acme_eab_with_http_info: #{e}"
19455
+ end
19456
+ ```
19457
+
19458
+ ### Parameters
19459
+
19460
+ | Name | Type | Description | Notes |
19461
+ | ---- | ---- | ----------- | ----- |
19462
+ | **body** | [**GenerateAcmeEab**](GenerateAcmeEab.md) | | |
19463
+
19464
+ ### Return type
19465
+
19466
+ [**GenerateAcmeEabOutput**](GenerateAcmeEabOutput.md)
19467
+
19468
+ ### Authorization
19469
+
19470
+ No authorization required
19471
+
19472
+ ### HTTP request headers
19473
+
19474
+ - **Content-Type**: application/json
19475
+ - **Accept**: application/json
19476
+
19477
+
19288
19478
  ## generate_csr
19289
19479
 
19290
19480
  > <GenerateCsrOutput> generate_csr(body)
@@ -22160,6 +22350,68 @@ No authorization required
22160
22350
  - **Accept**: application/json
22161
22351
 
22162
22352
 
22353
+ ## list_acme_accounts
22354
+
22355
+ > <ListAcmeAccountsOutput> list_acme_accounts(body)
22356
+
22357
+
22358
+
22359
+ ### Examples
22360
+
22361
+ ```ruby
22362
+ require 'time'
22363
+ require 'akeyless'
22364
+
22365
+ api_instance = Akeyless::V2Api.new
22366
+ body = Akeyless::ListAcmeAccounts.new({cert_issuer_name: 'cert_issuer_name_example'}) # ListAcmeAccounts |
22367
+
22368
+ begin
22369
+
22370
+ result = api_instance.list_acme_accounts(body)
22371
+ p result
22372
+ rescue Akeyless::ApiError => e
22373
+ puts "Error when calling V2Api->list_acme_accounts: #{e}"
22374
+ end
22375
+ ```
22376
+
22377
+ #### Using the list_acme_accounts_with_http_info variant
22378
+
22379
+ This returns an Array which contains the response data, status code and headers.
22380
+
22381
+ > <Array(<ListAcmeAccountsOutput>, Integer, Hash)> list_acme_accounts_with_http_info(body)
22382
+
22383
+ ```ruby
22384
+ begin
22385
+
22386
+ data, status_code, headers = api_instance.list_acme_accounts_with_http_info(body)
22387
+ p status_code # => 2xx
22388
+ p headers # => { ... }
22389
+ p data # => <ListAcmeAccountsOutput>
22390
+ rescue Akeyless::ApiError => e
22391
+ puts "Error when calling V2Api->list_acme_accounts_with_http_info: #{e}"
22392
+ end
22393
+ ```
22394
+
22395
+ ### Parameters
22396
+
22397
+ | Name | Type | Description | Notes |
22398
+ | ---- | ---- | ----------- | ----- |
22399
+ | **body** | [**ListAcmeAccounts**](ListAcmeAccounts.md) | | |
22400
+
22401
+ ### Return type
22402
+
22403
+ [**ListAcmeAccountsOutput**](ListAcmeAccountsOutput.md)
22404
+
22405
+ ### Authorization
22406
+
22407
+ No authorization required
22408
+
22409
+ ### HTTP request headers
22410
+
22411
+ - **Content-Type**: application/json
22412
+ - **Accept**: application/json
22413
+
22414
+
22163
22415
  ## list_auth_methods
22164
22416
 
22165
22417
  > <ListAuthMethodsOutput> list_auth_methods(body)
@@ -2131,6 +2131,70 @@ module Akeyless
2131
2131
  return data, status_code, headers
2132
2132
  end
2133
2133
 
2134
+ # @param body [ChangeAdminAccountPassword]
2135
+ # @param [Hash] opts the optional parameters
2136
+ # @return [Object]
2137
+ def change_admin_account_password(body, opts = {})
2138
+ data, _status_code, _headers = change_admin_account_password_with_http_info(body, opts)
2139
+ data
2140
+ end
2141
+
2142
+ # @param body [ChangeAdminAccountPassword]
2143
+ # @param [Hash] opts the optional parameters
2144
+ # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
2145
+ def change_admin_account_password_with_http_info(body, opts = {})
2146
+ if @api_client.config.debugging
2147
+ @api_client.config.logger.debug 'Calling API: V2Api.change_admin_account_password ...'
2148
+ end
2149
+ # verify the required parameter 'body' is set
2150
+ if @api_client.config.client_side_validation && body.nil?
2151
+ fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.change_admin_account_password"
2152
+ end
2153
+ # resource path
2154
+ local_var_path = '/change-admin-account-password'
2155
+
2156
+ # query parameters
2157
+ query_params = opts[:query_params] || {}
2158
+
2159
+ # header parameters
2160
+ header_params = opts[:header_params] || {}
2161
+ # HTTP header 'Accept' (if needed)
2162
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
2163
+ # HTTP header 'Content-Type'
2164
+ content_type = @api_client.select_header_content_type(['application/json'])
2165
+ if !content_type.nil?
2166
+ header_params['Content-Type'] = content_type
2167
+ end
2168
+
2169
+ # form parameters
2170
+ form_params = opts[:form_params] || {}
2171
+
2172
+ # http body (model)
2173
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
2174
+
2175
+ # return_type
2176
+ return_type = opts[:debug_return_type] || 'Object'
2177
+
2178
+ # auth_names
2179
+ auth_names = opts[:debug_auth_names] || []
2180
+
2181
+ new_options = opts.merge(
2182
+ :operation => :"V2Api.change_admin_account_password",
2183
+ :header_params => header_params,
2184
+ :query_params => query_params,
2185
+ :form_params => form_params,
2186
+ :body => post_body,
2187
+ :auth_names => auth_names,
2188
+ :return_type => return_type
2189
+ )
2190
+
2191
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
2192
+ if @api_client.config.debugging
2193
+ @api_client.config.logger.debug "API called: V2Api#change_admin_account_password\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2194
+ end
2195
+ return data, status_code, headers
2196
+ end
2197
+
2134
2198
  # @param body [Configure]
2135
2199
  # @param [Hash] opts the optional parameters
2136
2200
  # @return [ConfigureOutput]
@@ -5779,6 +5843,70 @@ module Akeyless
5779
5843
  return data, status_code, headers
5780
5844
  end
5781
5845
 
5846
+ # @param body [DeactivateAcmeAccount]
5847
+ # @param [Hash] opts the optional parameters
5848
+ # @return [Object]
5849
+ def deactivate_acme_account(body, opts = {})
5850
+ data, _status_code, _headers = deactivate_acme_account_with_http_info(body, opts)
5851
+ data
5852
+ end
5853
+
5854
+ # @param body [DeactivateAcmeAccount]
5855
+ # @param [Hash] opts the optional parameters
5856
+ # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
5857
+ def deactivate_acme_account_with_http_info(body, opts = {})
5858
+ if @api_client.config.debugging
5859
+ @api_client.config.logger.debug 'Calling API: V2Api.deactivate_acme_account ...'
5860
+ end
5861
+ # verify the required parameter 'body' is set
5862
+ if @api_client.config.client_side_validation && body.nil?
5863
+ fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.deactivate_acme_account"
5864
+ end
5865
+ # resource path
5866
+ local_var_path = '/deactivate-acme-account'
5867
+
5868
+ # query parameters
5869
+ query_params = opts[:query_params] || {}
5870
+
5871
+ # header parameters
5872
+ header_params = opts[:header_params] || {}
5873
+ # HTTP header 'Accept' (if needed)
5874
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
5875
+ # HTTP header 'Content-Type'
5876
+ content_type = @api_client.select_header_content_type(['application/json'])
5877
+ if !content_type.nil?
5878
+ header_params['Content-Type'] = content_type
5879
+ end
5880
+
5881
+ # form parameters
5882
+ form_params = opts[:form_params] || {}
5883
+
5884
+ # http body (model)
5885
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
5886
+
5887
+ # return_type
5888
+ return_type = opts[:debug_return_type] || 'Object'
5889
+
5890
+ # auth_names
5891
+ auth_names = opts[:debug_auth_names] || []
5892
+
5893
+ new_options = opts.merge(
5894
+ :operation => :"V2Api.deactivate_acme_account",
5895
+ :header_params => header_params,
5896
+ :query_params => query_params,
5897
+ :form_params => form_params,
5898
+ :body => post_body,
5899
+ :auth_names => auth_names,
5900
+ :return_type => return_type
5901
+ )
5902
+
5903
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
5904
+ if @api_client.config.debugging
5905
+ @api_client.config.logger.debug "API called: V2Api#deactivate_acme_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5906
+ end
5907
+ return data, status_code, headers
5908
+ end
5909
+
5782
5910
  # @param body [Decrypt]
5783
5911
  # @param [Hash] opts the optional parameters
5784
5912
  # @return [DecryptOutput]
@@ -19316,6 +19444,70 @@ module Akeyless
19316
19444
  return data, status_code, headers
19317
19445
  end
19318
19446
 
19447
+ # @param body [GenerateAcmeEab]
19448
+ # @param [Hash] opts the optional parameters
19449
+ # @return [GenerateAcmeEabOutput]
19450
+ def generate_acme_eab(body, opts = {})
19451
+ data, _status_code, _headers = generate_acme_eab_with_http_info(body, opts)
19452
+ data
19453
+ end
19454
+
19455
+ # @param body [GenerateAcmeEab]
19456
+ # @param [Hash] opts the optional parameters
19457
+ # @return [Array<(GenerateAcmeEabOutput, Integer, Hash)>] GenerateAcmeEabOutput data, response status code and response headers
19458
+ def generate_acme_eab_with_http_info(body, opts = {})
19459
+ if @api_client.config.debugging
19460
+ @api_client.config.logger.debug 'Calling API: V2Api.generate_acme_eab ...'
19461
+ end
19462
+ # verify the required parameter 'body' is set
19463
+ if @api_client.config.client_side_validation && body.nil?
19464
+ fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.generate_acme_eab"
19465
+ end
19466
+ # resource path
19467
+ local_var_path = '/generate-acme-eab'
19468
+
19469
+ # query parameters
19470
+ query_params = opts[:query_params] || {}
19471
+
19472
+ # header parameters
19473
+ header_params = opts[:header_params] || {}
19474
+ # HTTP header 'Accept' (if needed)
19475
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
19476
+ # HTTP header 'Content-Type'
19477
+ content_type = @api_client.select_header_content_type(['application/json'])
19478
+ if !content_type.nil?
19479
+ header_params['Content-Type'] = content_type
19480
+ end
19481
+
19482
+ # form parameters
19483
+ form_params = opts[:form_params] || {}
19484
+
19485
+ # http body (model)
19486
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
19487
+
19488
+ # return_type
19489
+ return_type = opts[:debug_return_type] || 'GenerateAcmeEabOutput'
19490
+
19491
+ # auth_names
19492
+ auth_names = opts[:debug_auth_names] || []
19493
+
19494
+ new_options = opts.merge(
19495
+ :operation => :"V2Api.generate_acme_eab",
19496
+ :header_params => header_params,
19497
+ :query_params => query_params,
19498
+ :form_params => form_params,
19499
+ :body => post_body,
19500
+ :auth_names => auth_names,
19501
+ :return_type => return_type
19502
+ )
19503
+
19504
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
19505
+ if @api_client.config.debugging
19506
+ @api_client.config.logger.debug "API called: V2Api#generate_acme_eab\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
19507
+ end
19508
+ return data, status_code, headers
19509
+ end
19510
+
19319
19511
  # @param body [GenerateCsr]
19320
19512
  # @param [Hash] opts the optional parameters
19321
19513
  # @return [GenerateCsrOutput]
@@ -22197,6 +22389,70 @@ module Akeyless
22197
22389
  return data, status_code, headers
22198
22390
  end
22199
22391
 
22392
+ # @param body [ListAcmeAccounts]
22393
+ # @param [Hash] opts the optional parameters
22394
+ # @return [ListAcmeAccountsOutput]
22395
+ def list_acme_accounts(body, opts = {})
22396
+ data, _status_code, _headers = list_acme_accounts_with_http_info(body, opts)
22397
+ data
22398
+ end
22399
+
22400
+ # @param body [ListAcmeAccounts]
22401
+ # @param [Hash] opts the optional parameters
22402
+ # @return [Array<(ListAcmeAccountsOutput, Integer, Hash)>] ListAcmeAccountsOutput data, response status code and response headers
22403
+ def list_acme_accounts_with_http_info(body, opts = {})
22404
+ if @api_client.config.debugging
22405
+ @api_client.config.logger.debug 'Calling API: V2Api.list_acme_accounts ...'
22406
+ end
22407
+ # verify the required parameter 'body' is set
22408
+ if @api_client.config.client_side_validation && body.nil?
22409
+ fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.list_acme_accounts"
22410
+ end
22411
+ # resource path
22412
+ local_var_path = '/list-acme-accounts'
22413
+
22414
+ # query parameters
22415
+ query_params = opts[:query_params] || {}
22416
+
22417
+ # header parameters
22418
+ header_params = opts[:header_params] || {}
22419
+ # HTTP header 'Accept' (if needed)
22420
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
22421
+ # HTTP header 'Content-Type'
22422
+ content_type = @api_client.select_header_content_type(['application/json'])
22423
+ if !content_type.nil?
22424
+ header_params['Content-Type'] = content_type
22425
+ end
22426
+
22427
+ # form parameters
22428
+ form_params = opts[:form_params] || {}
22429
+
22430
+ # http body (model)
22431
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
22432
+
22433
+ # return_type
22434
+ return_type = opts[:debug_return_type] || 'ListAcmeAccountsOutput'
22435
+
22436
+ # auth_names
22437
+ auth_names = opts[:debug_auth_names] || []
22438
+
22439
+ new_options = opts.merge(
22440
+ :operation => :"V2Api.list_acme_accounts",
22441
+ :header_params => header_params,
22442
+ :query_params => query_params,
22443
+ :form_params => form_params,
22444
+ :body => post_body,
22445
+ :auth_names => auth_names,
22446
+ :return_type => return_type
22447
+ )
22448
+
22449
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
22450
+ if @api_client.config.debugging
22451
+ @api_client.config.logger.debug "API called: V2Api#list_acme_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
22452
+ end
22453
+ return data, status_code, headers
22454
+ end
22455
+
22200
22456
  # @param body [ListAuthMethods]
22201
22457
  # @param [Hash] opts the optional parameters
22202
22458
  # @return [ListAuthMethodsOutput]