akeyless 2.16.3 → 2.16.6
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.
- checksums.yaml +4 -4
- data/README.md +39 -1
- data/docs/AwsS3LogForwardingConfig.md +2 -0
- data/docs/CreateAuthMethod.md +1 -1
- data/docs/CreateAuthMethodAWSIAM.md +1 -1
- data/docs/CreateAuthMethodAzureAD.md +1 -1
- data/docs/CreateAuthMethodCert.md +1 -1
- data/docs/CreateAuthMethodGCP.md +1 -1
- data/docs/CreateAuthMethodHuawei.md +1 -1
- data/docs/CreateAuthMethodK8S.md +1 -1
- data/docs/CreateAuthMethodLDAP.md +1 -1
- data/docs/CreateAuthMethodOAuth2.md +1 -1
- data/docs/CreateAuthMethodOIDC.md +1 -1
- data/docs/CreateAuthMethodSAML.md +1 -1
- data/docs/CreateAuthMethodUniversalIdentity.md +1 -1
- data/docs/CreateClassicKey.md +12 -0
- data/docs/CreateRotatedSecret.md +28 -0
- data/docs/CreateSalesforceTarget.md +42 -0
- data/docs/CreateSalesforceTargetOutput.md +18 -0
- data/docs/CreateTokenizer.md +42 -0
- data/docs/CreateTokenizerOutput.md +18 -0
- data/docs/Detokenize.md +26 -0
- data/docs/DetokenizeOutput.md +18 -0
- data/docs/DynamicSecretProducerInfo.md +2 -0
- data/docs/EmailTokenizerInfo.md +22 -0
- data/docs/GatewayCreateMigration.md +50 -0
- data/docs/GatewayDeleteMigration.md +22 -0
- data/docs/GatewayGetMigration.md +22 -0
- data/docs/GatewayMigrationCreateOutput.md +18 -0
- data/docs/GatewayMigrationDeleteOutput.md +18 -0
- data/docs/GatewayMigrationGetOutput.md +18 -0
- data/docs/GatewayMigrationUpdateOutput.md +18 -0
- data/docs/GatewayUpdateMigration.md +52 -0
- data/docs/GetSecretValue.md +2 -0
- data/docs/HashiPayload.md +2 -0
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +5 -1
- data/docs/ListTargets.md +2 -0
- data/docs/LogForwardingConfigPart.md +0 -2
- data/docs/Producer.md +2 -0
- data/docs/RegexpTokenizerInfo.md +24 -0
- data/docs/RotateSecret.md +22 -0
- data/docs/RotatedSecretOutput.md +18 -0
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/TargetTypeDetailsInput.md +12 -0
- data/docs/Tokenize.md +26 -0
- data/docs/TokenizeOutput.md +20 -0
- data/docs/TokenizerInfo.md +18 -0
- data/docs/UpdateAuthMethod.md +1 -1
- data/docs/UpdateAuthMethodAWSIAM.md +1 -1
- data/docs/UpdateAuthMethodAzureAD.md +1 -1
- data/docs/UpdateAuthMethodCert.md +1 -1
- data/docs/UpdateAuthMethodGCP.md +1 -1
- data/docs/UpdateAuthMethodK8S.md +1 -1
- data/docs/UpdateAuthMethodLDAP.md +1 -1
- data/docs/UpdateAuthMethodOAuth2.md +1 -1
- data/docs/UpdateAuthMethodOIDC.md +1 -1
- data/docs/UpdateAuthMethodSAML.md +1 -1
- data/docs/UpdateAuthMethodUniversalIdentity.md +1 -1
- data/docs/UpdateRotatedSecret.md +28 -0
- data/docs/UpdateSalesforceTarget.md +48 -0
- data/docs/UpdateSalesforceTargetOutput.md +18 -0
- data/docs/UpdateTokenizer.md +46 -0
- data/docs/UpdateTokenizerOutput.md +18 -0
- data/docs/V2Api.md +762 -6
- data/docs/VaultlessTokenizerInfo.md +28 -0
- data/lib/akeyless/api/v2_api.rb +769 -1
- data/lib/akeyless/models/aws_s3_log_forwarding_config.rb +10 -1
- data/lib/akeyless/models/create_auth_method.rb +0 -2
- data/lib/akeyless/models/create_auth_method_awsiam.rb +0 -2
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +0 -2
- data/lib/akeyless/models/create_auth_method_cert.rb +0 -2
- data/lib/akeyless/models/create_auth_method_gcp.rb +0 -2
- data/lib/akeyless/models/create_auth_method_huawei.rb +0 -2
- data/lib/akeyless/models/create_auth_method_k8_s.rb +0 -2
- data/lib/akeyless/models/create_auth_method_ldap.rb +0 -2
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +0 -2
- data/lib/akeyless/models/create_auth_method_oidc.rb +0 -2
- data/lib/akeyless/models/create_auth_method_saml.rb +0 -2
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +0 -2
- data/lib/akeyless/models/create_classic_key.rb +61 -1
- data/lib/akeyless/models/create_rotated_secret.rb +153 -1
- data/lib/akeyless/models/create_salesforce_target.rb +375 -0
- data/lib/akeyless/models/create_salesforce_target_output.rb +219 -0
- data/lib/akeyless/models/create_tokenizer.rb +358 -0
- data/lib/akeyless/models/create_tokenizer_output.rb +219 -0
- data/lib/akeyless/models/detokenize.rb +271 -0
- data/lib/akeyless/models/detokenize_output.rb +219 -0
- data/lib/akeyless/models/dynamic_secret_producer_info.rb +10 -1
- data/lib/akeyless/models/email_tokenizer_info.rb +241 -0
- data/lib/akeyless/models/gateway_create_migration.rb +374 -0
- data/lib/akeyless/models/gateway_delete_migration.rb +246 -0
- data/lib/akeyless/models/gateway_get_migration.rb +240 -0
- data/lib/akeyless/models/gateway_migration_create_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_delete_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_get_output.rb +219 -0
- data/lib/akeyless/models/gateway_migration_update_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_migration.rb +383 -0
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +1 -1
- data/lib/akeyless/models/get_secret_value.rb +10 -1
- data/lib/akeyless/models/hashi_payload.rb +10 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +22 -4
- data/lib/akeyless/models/list_targets.rb +13 -1
- data/lib/akeyless/models/log_forwarding_config_part.rb +1 -10
- data/lib/akeyless/models/producer.rb +10 -1
- data/lib/akeyless/models/regexp_tokenizer_info.rb +251 -0
- data/lib/akeyless/models/rotate_secret.rb +245 -0
- data/lib/akeyless/models/rotated_secret_output.rb +219 -0
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target_type_details_input.rb +59 -1
- data/lib/akeyless/models/tokenize.rb +271 -0
- data/lib/akeyless/models/tokenize_output.rb +228 -0
- data/lib/akeyless/models/tokenizer_info.rb +219 -0
- data/lib/akeyless/models/update_auth_method.rb +0 -2
- data/lib/akeyless/models/update_auth_method_awsiam.rb +0 -2
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +0 -2
- data/lib/akeyless/models/update_auth_method_cert.rb +0 -2
- data/lib/akeyless/models/update_auth_method_gcp.rb +0 -2
- data/lib/akeyless/models/update_auth_method_k8_s.rb +0 -2
- data/lib/akeyless/models/update_auth_method_ldap.rb +0 -2
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +0 -2
- data/lib/akeyless/models/update_auth_method_oidc.rb +0 -2
- data/lib/akeyless/models/update_auth_method_saml.rb +0 -2
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +0 -2
- data/lib/akeyless/models/update_rotated_secret.rb +153 -1
- data/lib/akeyless/models/update_salesforce_target.rb +404 -0
- data/lib/akeyless/models/update_salesforce_target_output.rb +219 -0
- data/lib/akeyless/models/update_tokenizer.rb +382 -0
- data/lib/akeyless/models/update_tokenizer_output.rb +219 -0
- data/lib/akeyless/models/vaultless_tokenizer_info.rb +267 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +26 -0
- data/spec/models/create_salesforce_target_output_spec.rb +34 -0
- data/spec/models/create_salesforce_target_spec.rb +106 -0
- data/spec/models/create_tokenizer_output_spec.rb +34 -0
- data/spec/models/create_tokenizer_spec.rb +106 -0
- data/spec/models/detokenize_output_spec.rb +34 -0
- data/spec/models/detokenize_spec.rb +58 -0
- data/spec/models/email_tokenizer_info_spec.rb +46 -0
- data/spec/models/gateway_create_migration_spec.rb +130 -0
- data/spec/models/gateway_delete_migration_spec.rb +46 -0
- data/spec/models/gateway_get_migration_spec.rb +46 -0
- data/spec/models/gateway_migration_create_output_spec.rb +34 -0
- data/spec/models/gateway_migration_delete_output_spec.rb +34 -0
- data/spec/models/gateway_migration_get_output_spec.rb +34 -0
- data/spec/models/gateway_migration_update_output_spec.rb +34 -0
- data/spec/models/gateway_update_migration_spec.rb +136 -0
- data/spec/models/regexp_tokenizer_info_spec.rb +52 -0
- data/spec/models/rotate_secret_spec.rb +46 -0
- data/spec/models/rotated_secret_output_spec.rb +34 -0
- data/spec/models/tokenize_output_spec.rb +40 -0
- data/spec/models/tokenize_spec.rb +58 -0
- data/spec/models/tokenizer_info_spec.rb +34 -0
- data/spec/models/update_salesforce_target_output_spec.rb +34 -0
- data/spec/models/update_salesforce_target_spec.rb +124 -0
- data/spec/models/update_tokenizer_output_spec.rb +34 -0
- data/spec/models/update_tokenizer_spec.rb +118 -0
- data/spec/models/vaultless_tokenizer_info_spec.rb +64 -0
- metadata +563 -459
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -2259,6 +2259,70 @@ module Akeyless
|
|
|
2259
2259
|
return data, status_code, headers
|
|
2260
2260
|
end
|
|
2261
2261
|
|
|
2262
|
+
# @param body [CreateSalesforceTarget]
|
|
2263
|
+
# @param [Hash] opts the optional parameters
|
|
2264
|
+
# @return [CreateSalesforceTargetOutput]
|
|
2265
|
+
def create_salesforce_target(body, opts = {})
|
|
2266
|
+
data, _status_code, _headers = create_salesforce_target_with_http_info(body, opts)
|
|
2267
|
+
data
|
|
2268
|
+
end
|
|
2269
|
+
|
|
2270
|
+
# @param body [CreateSalesforceTarget]
|
|
2271
|
+
# @param [Hash] opts the optional parameters
|
|
2272
|
+
# @return [Array<(CreateSalesforceTargetOutput, Integer, Hash)>] CreateSalesforceTargetOutput data, response status code and response headers
|
|
2273
|
+
def create_salesforce_target_with_http_info(body, opts = {})
|
|
2274
|
+
if @api_client.config.debugging
|
|
2275
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_salesforce_target ...'
|
|
2276
|
+
end
|
|
2277
|
+
# verify the required parameter 'body' is set
|
|
2278
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
2279
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_salesforce_target"
|
|
2280
|
+
end
|
|
2281
|
+
# resource path
|
|
2282
|
+
local_var_path = '/create-salesforce-target'
|
|
2283
|
+
|
|
2284
|
+
# query parameters
|
|
2285
|
+
query_params = opts[:query_params] || {}
|
|
2286
|
+
|
|
2287
|
+
# header parameters
|
|
2288
|
+
header_params = opts[:header_params] || {}
|
|
2289
|
+
# HTTP header 'Accept' (if needed)
|
|
2290
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2291
|
+
# HTTP header 'Content-Type'
|
|
2292
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2293
|
+
if !content_type.nil?
|
|
2294
|
+
header_params['Content-Type'] = content_type
|
|
2295
|
+
end
|
|
2296
|
+
|
|
2297
|
+
# form parameters
|
|
2298
|
+
form_params = opts[:form_params] || {}
|
|
2299
|
+
|
|
2300
|
+
# http body (model)
|
|
2301
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
2302
|
+
|
|
2303
|
+
# return_type
|
|
2304
|
+
return_type = opts[:debug_return_type] || 'CreateSalesforceTargetOutput'
|
|
2305
|
+
|
|
2306
|
+
# auth_names
|
|
2307
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2308
|
+
|
|
2309
|
+
new_options = opts.merge(
|
|
2310
|
+
:operation => :"V2Api.create_salesforce_target",
|
|
2311
|
+
:header_params => header_params,
|
|
2312
|
+
:query_params => query_params,
|
|
2313
|
+
:form_params => form_params,
|
|
2314
|
+
:body => post_body,
|
|
2315
|
+
:auth_names => auth_names,
|
|
2316
|
+
:return_type => return_type
|
|
2317
|
+
)
|
|
2318
|
+
|
|
2319
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2320
|
+
if @api_client.config.debugging
|
|
2321
|
+
@api_client.config.logger.debug "API called: V2Api#create_salesforce_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2322
|
+
end
|
|
2323
|
+
return data, status_code, headers
|
|
2324
|
+
end
|
|
2325
|
+
|
|
2262
2326
|
# @param body [CreateSecret]
|
|
2263
2327
|
# @param [Hash] opts the optional parameters
|
|
2264
2328
|
# @return [CreateSecretOutput]
|
|
@@ -2451,6 +2515,70 @@ module Akeyless
|
|
|
2451
2515
|
return data, status_code, headers
|
|
2452
2516
|
end
|
|
2453
2517
|
|
|
2518
|
+
# @param body [CreateTokenizer]
|
|
2519
|
+
# @param [Hash] opts the optional parameters
|
|
2520
|
+
# @return [CreateTokenizerOutput]
|
|
2521
|
+
def create_tokenizer(body, opts = {})
|
|
2522
|
+
data, _status_code, _headers = create_tokenizer_with_http_info(body, opts)
|
|
2523
|
+
data
|
|
2524
|
+
end
|
|
2525
|
+
|
|
2526
|
+
# @param body [CreateTokenizer]
|
|
2527
|
+
# @param [Hash] opts the optional parameters
|
|
2528
|
+
# @return [Array<(CreateTokenizerOutput, Integer, Hash)>] CreateTokenizerOutput data, response status code and response headers
|
|
2529
|
+
def create_tokenizer_with_http_info(body, opts = {})
|
|
2530
|
+
if @api_client.config.debugging
|
|
2531
|
+
@api_client.config.logger.debug 'Calling API: V2Api.create_tokenizer ...'
|
|
2532
|
+
end
|
|
2533
|
+
# verify the required parameter 'body' is set
|
|
2534
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
2535
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_tokenizer"
|
|
2536
|
+
end
|
|
2537
|
+
# resource path
|
|
2538
|
+
local_var_path = '/create-tokenizer'
|
|
2539
|
+
|
|
2540
|
+
# query parameters
|
|
2541
|
+
query_params = opts[:query_params] || {}
|
|
2542
|
+
|
|
2543
|
+
# header parameters
|
|
2544
|
+
header_params = opts[:header_params] || {}
|
|
2545
|
+
# HTTP header 'Accept' (if needed)
|
|
2546
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
2547
|
+
# HTTP header 'Content-Type'
|
|
2548
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2549
|
+
if !content_type.nil?
|
|
2550
|
+
header_params['Content-Type'] = content_type
|
|
2551
|
+
end
|
|
2552
|
+
|
|
2553
|
+
# form parameters
|
|
2554
|
+
form_params = opts[:form_params] || {}
|
|
2555
|
+
|
|
2556
|
+
# http body (model)
|
|
2557
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
2558
|
+
|
|
2559
|
+
# return_type
|
|
2560
|
+
return_type = opts[:debug_return_type] || 'CreateTokenizerOutput'
|
|
2561
|
+
|
|
2562
|
+
# auth_names
|
|
2563
|
+
auth_names = opts[:debug_auth_names] || []
|
|
2564
|
+
|
|
2565
|
+
new_options = opts.merge(
|
|
2566
|
+
:operation => :"V2Api.create_tokenizer",
|
|
2567
|
+
:header_params => header_params,
|
|
2568
|
+
:query_params => query_params,
|
|
2569
|
+
:form_params => form_params,
|
|
2570
|
+
:body => post_body,
|
|
2571
|
+
:auth_names => auth_names,
|
|
2572
|
+
:return_type => return_type
|
|
2573
|
+
)
|
|
2574
|
+
|
|
2575
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2576
|
+
if @api_client.config.debugging
|
|
2577
|
+
@api_client.config.logger.debug "API called: V2Api#create_tokenizer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2578
|
+
end
|
|
2579
|
+
return data, status_code, headers
|
|
2580
|
+
end
|
|
2581
|
+
|
|
2454
2582
|
# @param body [CreateWebTarget]
|
|
2455
2583
|
# @param [Hash] opts the optional parameters
|
|
2456
2584
|
# @return [CreateWebTargetOutput]
|
|
@@ -3603,6 +3731,70 @@ module Akeyless
|
|
|
3603
3731
|
return data, status_code, headers
|
|
3604
3732
|
end
|
|
3605
3733
|
|
|
3734
|
+
# @param body [Detokenize]
|
|
3735
|
+
# @param [Hash] opts the optional parameters
|
|
3736
|
+
# @return [DetokenizeOutput]
|
|
3737
|
+
def detokenize(body, opts = {})
|
|
3738
|
+
data, _status_code, _headers = detokenize_with_http_info(body, opts)
|
|
3739
|
+
data
|
|
3740
|
+
end
|
|
3741
|
+
|
|
3742
|
+
# @param body [Detokenize]
|
|
3743
|
+
# @param [Hash] opts the optional parameters
|
|
3744
|
+
# @return [Array<(DetokenizeOutput, Integer, Hash)>] DetokenizeOutput data, response status code and response headers
|
|
3745
|
+
def detokenize_with_http_info(body, opts = {})
|
|
3746
|
+
if @api_client.config.debugging
|
|
3747
|
+
@api_client.config.logger.debug 'Calling API: V2Api.detokenize ...'
|
|
3748
|
+
end
|
|
3749
|
+
# verify the required parameter 'body' is set
|
|
3750
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
3751
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.detokenize"
|
|
3752
|
+
end
|
|
3753
|
+
# resource path
|
|
3754
|
+
local_var_path = '/detokenize'
|
|
3755
|
+
|
|
3756
|
+
# query parameters
|
|
3757
|
+
query_params = opts[:query_params] || {}
|
|
3758
|
+
|
|
3759
|
+
# header parameters
|
|
3760
|
+
header_params = opts[:header_params] || {}
|
|
3761
|
+
# HTTP header 'Accept' (if needed)
|
|
3762
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3763
|
+
# HTTP header 'Content-Type'
|
|
3764
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
3765
|
+
if !content_type.nil?
|
|
3766
|
+
header_params['Content-Type'] = content_type
|
|
3767
|
+
end
|
|
3768
|
+
|
|
3769
|
+
# form parameters
|
|
3770
|
+
form_params = opts[:form_params] || {}
|
|
3771
|
+
|
|
3772
|
+
# http body (model)
|
|
3773
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
3774
|
+
|
|
3775
|
+
# return_type
|
|
3776
|
+
return_type = opts[:debug_return_type] || 'DetokenizeOutput'
|
|
3777
|
+
|
|
3778
|
+
# auth_names
|
|
3779
|
+
auth_names = opts[:debug_auth_names] || []
|
|
3780
|
+
|
|
3781
|
+
new_options = opts.merge(
|
|
3782
|
+
:operation => :"V2Api.detokenize",
|
|
3783
|
+
:header_params => header_params,
|
|
3784
|
+
:query_params => query_params,
|
|
3785
|
+
:form_params => form_params,
|
|
3786
|
+
:body => post_body,
|
|
3787
|
+
:auth_names => auth_names,
|
|
3788
|
+
:return_type => return_type
|
|
3789
|
+
)
|
|
3790
|
+
|
|
3791
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
3792
|
+
if @api_client.config.debugging
|
|
3793
|
+
@api_client.config.logger.debug "API called: V2Api#detokenize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3794
|
+
end
|
|
3795
|
+
return data, status_code, headers
|
|
3796
|
+
end
|
|
3797
|
+
|
|
3606
3798
|
# @param body [Encrypt]
|
|
3607
3799
|
# @param [Hash] opts the optional parameters
|
|
3608
3800
|
# @return [EncryptOutput]
|
|
@@ -3859,6 +4051,70 @@ module Akeyless
|
|
|
3859
4051
|
return data, status_code, headers
|
|
3860
4052
|
end
|
|
3861
4053
|
|
|
4054
|
+
# @param body [GatewayCreateMigration]
|
|
4055
|
+
# @param [Hash] opts the optional parameters
|
|
4056
|
+
# @return [GatewayMigrationCreateOutput]
|
|
4057
|
+
def gateway_create_migration(body, opts = {})
|
|
4058
|
+
data, _status_code, _headers = gateway_create_migration_with_http_info(body, opts)
|
|
4059
|
+
data
|
|
4060
|
+
end
|
|
4061
|
+
|
|
4062
|
+
# @param body [GatewayCreateMigration]
|
|
4063
|
+
# @param [Hash] opts the optional parameters
|
|
4064
|
+
# @return [Array<(GatewayMigrationCreateOutput, Integer, Hash)>] GatewayMigrationCreateOutput data, response status code and response headers
|
|
4065
|
+
def gateway_create_migration_with_http_info(body, opts = {})
|
|
4066
|
+
if @api_client.config.debugging
|
|
4067
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_create_migration ...'
|
|
4068
|
+
end
|
|
4069
|
+
# verify the required parameter 'body' is set
|
|
4070
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
4071
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_create_migration"
|
|
4072
|
+
end
|
|
4073
|
+
# resource path
|
|
4074
|
+
local_var_path = '/gateway-create-migration'
|
|
4075
|
+
|
|
4076
|
+
# query parameters
|
|
4077
|
+
query_params = opts[:query_params] || {}
|
|
4078
|
+
|
|
4079
|
+
# header parameters
|
|
4080
|
+
header_params = opts[:header_params] || {}
|
|
4081
|
+
# HTTP header 'Accept' (if needed)
|
|
4082
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
4083
|
+
# HTTP header 'Content-Type'
|
|
4084
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
4085
|
+
if !content_type.nil?
|
|
4086
|
+
header_params['Content-Type'] = content_type
|
|
4087
|
+
end
|
|
4088
|
+
|
|
4089
|
+
# form parameters
|
|
4090
|
+
form_params = opts[:form_params] || {}
|
|
4091
|
+
|
|
4092
|
+
# http body (model)
|
|
4093
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
4094
|
+
|
|
4095
|
+
# return_type
|
|
4096
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationCreateOutput'
|
|
4097
|
+
|
|
4098
|
+
# auth_names
|
|
4099
|
+
auth_names = opts[:debug_auth_names] || []
|
|
4100
|
+
|
|
4101
|
+
new_options = opts.merge(
|
|
4102
|
+
:operation => :"V2Api.gateway_create_migration",
|
|
4103
|
+
:header_params => header_params,
|
|
4104
|
+
:query_params => query_params,
|
|
4105
|
+
:form_params => form_params,
|
|
4106
|
+
:body => post_body,
|
|
4107
|
+
:auth_names => auth_names,
|
|
4108
|
+
:return_type => return_type
|
|
4109
|
+
)
|
|
4110
|
+
|
|
4111
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
4112
|
+
if @api_client.config.debugging
|
|
4113
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_create_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4114
|
+
end
|
|
4115
|
+
return data, status_code, headers
|
|
4116
|
+
end
|
|
4117
|
+
|
|
3862
4118
|
# @param body [GatewayCreateProducerArtifactory]
|
|
3863
4119
|
# @param [Hash] opts the optional parameters
|
|
3864
4120
|
# @return [GatewayCreateProducerArtifactoryOutput]
|
|
@@ -5455,6 +5711,70 @@ module Akeyless
|
|
|
5455
5711
|
return data, status_code, headers
|
|
5456
5712
|
end
|
|
5457
5713
|
|
|
5714
|
+
# @param body [GatewayDeleteMigration]
|
|
5715
|
+
# @param [Hash] opts the optional parameters
|
|
5716
|
+
# @return [GatewayMigrationDeleteOutput]
|
|
5717
|
+
def gateway_delete_migration(body, opts = {})
|
|
5718
|
+
data, _status_code, _headers = gateway_delete_migration_with_http_info(body, opts)
|
|
5719
|
+
data
|
|
5720
|
+
end
|
|
5721
|
+
|
|
5722
|
+
# @param body [GatewayDeleteMigration]
|
|
5723
|
+
# @param [Hash] opts the optional parameters
|
|
5724
|
+
# @return [Array<(GatewayMigrationDeleteOutput, Integer, Hash)>] GatewayMigrationDeleteOutput data, response status code and response headers
|
|
5725
|
+
def gateway_delete_migration_with_http_info(body, opts = {})
|
|
5726
|
+
if @api_client.config.debugging
|
|
5727
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_delete_migration ...'
|
|
5728
|
+
end
|
|
5729
|
+
# verify the required parameter 'body' is set
|
|
5730
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
5731
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_delete_migration"
|
|
5732
|
+
end
|
|
5733
|
+
# resource path
|
|
5734
|
+
local_var_path = '/gateway-delete-migration'
|
|
5735
|
+
|
|
5736
|
+
# query parameters
|
|
5737
|
+
query_params = opts[:query_params] || {}
|
|
5738
|
+
|
|
5739
|
+
# header parameters
|
|
5740
|
+
header_params = opts[:header_params] || {}
|
|
5741
|
+
# HTTP header 'Accept' (if needed)
|
|
5742
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5743
|
+
# HTTP header 'Content-Type'
|
|
5744
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5745
|
+
if !content_type.nil?
|
|
5746
|
+
header_params['Content-Type'] = content_type
|
|
5747
|
+
end
|
|
5748
|
+
|
|
5749
|
+
# form parameters
|
|
5750
|
+
form_params = opts[:form_params] || {}
|
|
5751
|
+
|
|
5752
|
+
# http body (model)
|
|
5753
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
5754
|
+
|
|
5755
|
+
# return_type
|
|
5756
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationDeleteOutput'
|
|
5757
|
+
|
|
5758
|
+
# auth_names
|
|
5759
|
+
auth_names = opts[:debug_auth_names] || []
|
|
5760
|
+
|
|
5761
|
+
new_options = opts.merge(
|
|
5762
|
+
:operation => :"V2Api.gateway_delete_migration",
|
|
5763
|
+
:header_params => header_params,
|
|
5764
|
+
:query_params => query_params,
|
|
5765
|
+
:form_params => form_params,
|
|
5766
|
+
:body => post_body,
|
|
5767
|
+
:auth_names => auth_names,
|
|
5768
|
+
:return_type => return_type
|
|
5769
|
+
)
|
|
5770
|
+
|
|
5771
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5772
|
+
if @api_client.config.debugging
|
|
5773
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_delete_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5774
|
+
end
|
|
5775
|
+
return data, status_code, headers
|
|
5776
|
+
end
|
|
5777
|
+
|
|
5458
5778
|
# @param body [GatewayDeleteProducer]
|
|
5459
5779
|
# @param [Hash] opts the optional parameters
|
|
5460
5780
|
# @return [GatewayDeleteProducerOutput]
|
|
@@ -5647,6 +5967,70 @@ module Akeyless
|
|
|
5647
5967
|
return data, status_code, headers
|
|
5648
5968
|
end
|
|
5649
5969
|
|
|
5970
|
+
# @param body [GatewayGetMigration]
|
|
5971
|
+
# @param [Hash] opts the optional parameters
|
|
5972
|
+
# @return [GatewayMigrationGetOutput]
|
|
5973
|
+
def gateway_get_migration(body, opts = {})
|
|
5974
|
+
data, _status_code, _headers = gateway_get_migration_with_http_info(body, opts)
|
|
5975
|
+
data
|
|
5976
|
+
end
|
|
5977
|
+
|
|
5978
|
+
# @param body [GatewayGetMigration]
|
|
5979
|
+
# @param [Hash] opts the optional parameters
|
|
5980
|
+
# @return [Array<(GatewayMigrationGetOutput, Integer, Hash)>] GatewayMigrationGetOutput data, response status code and response headers
|
|
5981
|
+
def gateway_get_migration_with_http_info(body, opts = {})
|
|
5982
|
+
if @api_client.config.debugging
|
|
5983
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_get_migration ...'
|
|
5984
|
+
end
|
|
5985
|
+
# verify the required parameter 'body' is set
|
|
5986
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
5987
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_get_migration"
|
|
5988
|
+
end
|
|
5989
|
+
# resource path
|
|
5990
|
+
local_var_path = '/gateway-get-migration'
|
|
5991
|
+
|
|
5992
|
+
# query parameters
|
|
5993
|
+
query_params = opts[:query_params] || {}
|
|
5994
|
+
|
|
5995
|
+
# header parameters
|
|
5996
|
+
header_params = opts[:header_params] || {}
|
|
5997
|
+
# HTTP header 'Accept' (if needed)
|
|
5998
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5999
|
+
# HTTP header 'Content-Type'
|
|
6000
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
6001
|
+
if !content_type.nil?
|
|
6002
|
+
header_params['Content-Type'] = content_type
|
|
6003
|
+
end
|
|
6004
|
+
|
|
6005
|
+
# form parameters
|
|
6006
|
+
form_params = opts[:form_params] || {}
|
|
6007
|
+
|
|
6008
|
+
# http body (model)
|
|
6009
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
6010
|
+
|
|
6011
|
+
# return_type
|
|
6012
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationGetOutput'
|
|
6013
|
+
|
|
6014
|
+
# auth_names
|
|
6015
|
+
auth_names = opts[:debug_auth_names] || []
|
|
6016
|
+
|
|
6017
|
+
new_options = opts.merge(
|
|
6018
|
+
:operation => :"V2Api.gateway_get_migration",
|
|
6019
|
+
:header_params => header_params,
|
|
6020
|
+
:query_params => query_params,
|
|
6021
|
+
:form_params => form_params,
|
|
6022
|
+
:body => post_body,
|
|
6023
|
+
:auth_names => auth_names,
|
|
6024
|
+
:return_type => return_type
|
|
6025
|
+
)
|
|
6026
|
+
|
|
6027
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6028
|
+
if @api_client.config.debugging
|
|
6029
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_get_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6030
|
+
end
|
|
6031
|
+
return data, status_code, headers
|
|
6032
|
+
end
|
|
6033
|
+
|
|
5650
6034
|
# @param body [GatewayGetProducer]
|
|
5651
6035
|
# @param [Hash] opts the optional parameters
|
|
5652
6036
|
# @return [DSProducerDetails]
|
|
@@ -6346,7 +6730,71 @@ module Akeyless
|
|
|
6346
6730
|
|
|
6347
6731
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6348
6732
|
if @api_client.config.debugging
|
|
6349
|
-
@api_client.config.logger.debug "API called: V2Api#gateway_update_k8_s_auth_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6733
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_k8_s_auth_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6734
|
+
end
|
|
6735
|
+
return data, status_code, headers
|
|
6736
|
+
end
|
|
6737
|
+
|
|
6738
|
+
# @param body [GatewayUpdateMigration]
|
|
6739
|
+
# @param [Hash] opts the optional parameters
|
|
6740
|
+
# @return [GatewayMigrationUpdateOutput]
|
|
6741
|
+
def gateway_update_migration(body, opts = {})
|
|
6742
|
+
data, _status_code, _headers = gateway_update_migration_with_http_info(body, opts)
|
|
6743
|
+
data
|
|
6744
|
+
end
|
|
6745
|
+
|
|
6746
|
+
# @param body [GatewayUpdateMigration]
|
|
6747
|
+
# @param [Hash] opts the optional parameters
|
|
6748
|
+
# @return [Array<(GatewayMigrationUpdateOutput, Integer, Hash)>] GatewayMigrationUpdateOutput data, response status code and response headers
|
|
6749
|
+
def gateway_update_migration_with_http_info(body, opts = {})
|
|
6750
|
+
if @api_client.config.debugging
|
|
6751
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_migration ...'
|
|
6752
|
+
end
|
|
6753
|
+
# verify the required parameter 'body' is set
|
|
6754
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
6755
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_migration"
|
|
6756
|
+
end
|
|
6757
|
+
# resource path
|
|
6758
|
+
local_var_path = '/gateway-update-migration'
|
|
6759
|
+
|
|
6760
|
+
# query parameters
|
|
6761
|
+
query_params = opts[:query_params] || {}
|
|
6762
|
+
|
|
6763
|
+
# header parameters
|
|
6764
|
+
header_params = opts[:header_params] || {}
|
|
6765
|
+
# HTTP header 'Accept' (if needed)
|
|
6766
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
6767
|
+
# HTTP header 'Content-Type'
|
|
6768
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
6769
|
+
if !content_type.nil?
|
|
6770
|
+
header_params['Content-Type'] = content_type
|
|
6771
|
+
end
|
|
6772
|
+
|
|
6773
|
+
# form parameters
|
|
6774
|
+
form_params = opts[:form_params] || {}
|
|
6775
|
+
|
|
6776
|
+
# http body (model)
|
|
6777
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
6778
|
+
|
|
6779
|
+
# return_type
|
|
6780
|
+
return_type = opts[:debug_return_type] || 'GatewayMigrationUpdateOutput'
|
|
6781
|
+
|
|
6782
|
+
# auth_names
|
|
6783
|
+
auth_names = opts[:debug_auth_names] || []
|
|
6784
|
+
|
|
6785
|
+
new_options = opts.merge(
|
|
6786
|
+
:operation => :"V2Api.gateway_update_migration",
|
|
6787
|
+
:header_params => header_params,
|
|
6788
|
+
:query_params => query_params,
|
|
6789
|
+
:form_params => form_params,
|
|
6790
|
+
:body => post_body,
|
|
6791
|
+
:auth_names => auth_names,
|
|
6792
|
+
:return_type => return_type
|
|
6793
|
+
)
|
|
6794
|
+
|
|
6795
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
6796
|
+
if @api_client.config.debugging
|
|
6797
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_migration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6350
6798
|
end
|
|
6351
6799
|
return data, status_code, headers
|
|
6352
6800
|
end
|
|
@@ -7051,6 +7499,70 @@ module Akeyless
|
|
|
7051
7499
|
return data, status_code, headers
|
|
7052
7500
|
end
|
|
7053
7501
|
|
|
7502
|
+
# @param body [GatewayUpdateProducerHanaDb]
|
|
7503
|
+
# @param [Hash] opts the optional parameters
|
|
7504
|
+
# @return [GatewayUpdateProducerHanaDbOutput]
|
|
7505
|
+
def gateway_update_producer_hana_db(body, opts = {})
|
|
7506
|
+
data, _status_code, _headers = gateway_update_producer_hana_db_with_http_info(body, opts)
|
|
7507
|
+
data
|
|
7508
|
+
end
|
|
7509
|
+
|
|
7510
|
+
# @param body [GatewayUpdateProducerHanaDb]
|
|
7511
|
+
# @param [Hash] opts the optional parameters
|
|
7512
|
+
# @return [Array<(GatewayUpdateProducerHanaDbOutput, Integer, Hash)>] GatewayUpdateProducerHanaDbOutput data, response status code and response headers
|
|
7513
|
+
def gateway_update_producer_hana_db_with_http_info(body, opts = {})
|
|
7514
|
+
if @api_client.config.debugging
|
|
7515
|
+
@api_client.config.logger.debug 'Calling API: V2Api.gateway_update_producer_hana_db ...'
|
|
7516
|
+
end
|
|
7517
|
+
# verify the required parameter 'body' is set
|
|
7518
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
7519
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.gateway_update_producer_hana_db"
|
|
7520
|
+
end
|
|
7521
|
+
# resource path
|
|
7522
|
+
local_var_path = '/gateway-update-producer-hana'
|
|
7523
|
+
|
|
7524
|
+
# query parameters
|
|
7525
|
+
query_params = opts[:query_params] || {}
|
|
7526
|
+
|
|
7527
|
+
# header parameters
|
|
7528
|
+
header_params = opts[:header_params] || {}
|
|
7529
|
+
# HTTP header 'Accept' (if needed)
|
|
7530
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
7531
|
+
# HTTP header 'Content-Type'
|
|
7532
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
7533
|
+
if !content_type.nil?
|
|
7534
|
+
header_params['Content-Type'] = content_type
|
|
7535
|
+
end
|
|
7536
|
+
|
|
7537
|
+
# form parameters
|
|
7538
|
+
form_params = opts[:form_params] || {}
|
|
7539
|
+
|
|
7540
|
+
# http body (model)
|
|
7541
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
7542
|
+
|
|
7543
|
+
# return_type
|
|
7544
|
+
return_type = opts[:debug_return_type] || 'GatewayUpdateProducerHanaDbOutput'
|
|
7545
|
+
|
|
7546
|
+
# auth_names
|
|
7547
|
+
auth_names = opts[:debug_auth_names] || []
|
|
7548
|
+
|
|
7549
|
+
new_options = opts.merge(
|
|
7550
|
+
:operation => :"V2Api.gateway_update_producer_hana_db",
|
|
7551
|
+
:header_params => header_params,
|
|
7552
|
+
:query_params => query_params,
|
|
7553
|
+
:form_params => form_params,
|
|
7554
|
+
:body => post_body,
|
|
7555
|
+
:auth_names => auth_names,
|
|
7556
|
+
:return_type => return_type
|
|
7557
|
+
)
|
|
7558
|
+
|
|
7559
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
7560
|
+
if @api_client.config.debugging
|
|
7561
|
+
@api_client.config.logger.debug "API called: V2Api#gateway_update_producer_hana_db\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
7562
|
+
end
|
|
7563
|
+
return data, status_code, headers
|
|
7564
|
+
end
|
|
7565
|
+
|
|
7054
7566
|
# @param body [GatewayUpdateProducerLdap]
|
|
7055
7567
|
# @param [Hash] opts the optional parameters
|
|
7056
7568
|
# @return [GatewayUpdateProducerLdapOutput]
|
|
@@ -10173,6 +10685,70 @@ module Akeyless
|
|
|
10173
10685
|
return data, status_code, headers
|
|
10174
10686
|
end
|
|
10175
10687
|
|
|
10688
|
+
# @param body [RotateSecret]
|
|
10689
|
+
# @param [Hash] opts the optional parameters
|
|
10690
|
+
# @return [RotatedSecretOutput]
|
|
10691
|
+
def rotate_secret(body, opts = {})
|
|
10692
|
+
data, _status_code, _headers = rotate_secret_with_http_info(body, opts)
|
|
10693
|
+
data
|
|
10694
|
+
end
|
|
10695
|
+
|
|
10696
|
+
# @param body [RotateSecret]
|
|
10697
|
+
# @param [Hash] opts the optional parameters
|
|
10698
|
+
# @return [Array<(RotatedSecretOutput, Integer, Hash)>] RotatedSecretOutput data, response status code and response headers
|
|
10699
|
+
def rotate_secret_with_http_info(body, opts = {})
|
|
10700
|
+
if @api_client.config.debugging
|
|
10701
|
+
@api_client.config.logger.debug 'Calling API: V2Api.rotate_secret ...'
|
|
10702
|
+
end
|
|
10703
|
+
# verify the required parameter 'body' is set
|
|
10704
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
10705
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.rotate_secret"
|
|
10706
|
+
end
|
|
10707
|
+
# resource path
|
|
10708
|
+
local_var_path = '/gateway-rotate-secret'
|
|
10709
|
+
|
|
10710
|
+
# query parameters
|
|
10711
|
+
query_params = opts[:query_params] || {}
|
|
10712
|
+
|
|
10713
|
+
# header parameters
|
|
10714
|
+
header_params = opts[:header_params] || {}
|
|
10715
|
+
# HTTP header 'Accept' (if needed)
|
|
10716
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
10717
|
+
# HTTP header 'Content-Type'
|
|
10718
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
10719
|
+
if !content_type.nil?
|
|
10720
|
+
header_params['Content-Type'] = content_type
|
|
10721
|
+
end
|
|
10722
|
+
|
|
10723
|
+
# form parameters
|
|
10724
|
+
form_params = opts[:form_params] || {}
|
|
10725
|
+
|
|
10726
|
+
# http body (model)
|
|
10727
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
10728
|
+
|
|
10729
|
+
# return_type
|
|
10730
|
+
return_type = opts[:debug_return_type] || 'RotatedSecretOutput'
|
|
10731
|
+
|
|
10732
|
+
# auth_names
|
|
10733
|
+
auth_names = opts[:debug_auth_names] || []
|
|
10734
|
+
|
|
10735
|
+
new_options = opts.merge(
|
|
10736
|
+
:operation => :"V2Api.rotate_secret",
|
|
10737
|
+
:header_params => header_params,
|
|
10738
|
+
:query_params => query_params,
|
|
10739
|
+
:form_params => form_params,
|
|
10740
|
+
:body => post_body,
|
|
10741
|
+
:auth_names => auth_names,
|
|
10742
|
+
:return_type => return_type
|
|
10743
|
+
)
|
|
10744
|
+
|
|
10745
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
10746
|
+
if @api_client.config.debugging
|
|
10747
|
+
@api_client.config.logger.debug "API called: V2Api#rotate_secret\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
10748
|
+
end
|
|
10749
|
+
return data, status_code, headers
|
|
10750
|
+
end
|
|
10751
|
+
|
|
10176
10752
|
# @param body [SetItemState]
|
|
10177
10753
|
# @param [Hash] opts the optional parameters
|
|
10178
10754
|
# @return [Object]
|
|
@@ -10557,6 +11133,70 @@ module Akeyless
|
|
|
10557
11133
|
return data, status_code, headers
|
|
10558
11134
|
end
|
|
10559
11135
|
|
|
11136
|
+
# @param body [Tokenize]
|
|
11137
|
+
# @param [Hash] opts the optional parameters
|
|
11138
|
+
# @return [TokenizeOutput]
|
|
11139
|
+
def tokenize(body, opts = {})
|
|
11140
|
+
data, _status_code, _headers = tokenize_with_http_info(body, opts)
|
|
11141
|
+
data
|
|
11142
|
+
end
|
|
11143
|
+
|
|
11144
|
+
# @param body [Tokenize]
|
|
11145
|
+
# @param [Hash] opts the optional parameters
|
|
11146
|
+
# @return [Array<(TokenizeOutput, Integer, Hash)>] TokenizeOutput data, response status code and response headers
|
|
11147
|
+
def tokenize_with_http_info(body, opts = {})
|
|
11148
|
+
if @api_client.config.debugging
|
|
11149
|
+
@api_client.config.logger.debug 'Calling API: V2Api.tokenize ...'
|
|
11150
|
+
end
|
|
11151
|
+
# verify the required parameter 'body' is set
|
|
11152
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
11153
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.tokenize"
|
|
11154
|
+
end
|
|
11155
|
+
# resource path
|
|
11156
|
+
local_var_path = '/tokenize'
|
|
11157
|
+
|
|
11158
|
+
# query parameters
|
|
11159
|
+
query_params = opts[:query_params] || {}
|
|
11160
|
+
|
|
11161
|
+
# header parameters
|
|
11162
|
+
header_params = opts[:header_params] || {}
|
|
11163
|
+
# HTTP header 'Accept' (if needed)
|
|
11164
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
11165
|
+
# HTTP header 'Content-Type'
|
|
11166
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
11167
|
+
if !content_type.nil?
|
|
11168
|
+
header_params['Content-Type'] = content_type
|
|
11169
|
+
end
|
|
11170
|
+
|
|
11171
|
+
# form parameters
|
|
11172
|
+
form_params = opts[:form_params] || {}
|
|
11173
|
+
|
|
11174
|
+
# http body (model)
|
|
11175
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
11176
|
+
|
|
11177
|
+
# return_type
|
|
11178
|
+
return_type = opts[:debug_return_type] || 'TokenizeOutput'
|
|
11179
|
+
|
|
11180
|
+
# auth_names
|
|
11181
|
+
auth_names = opts[:debug_auth_names] || []
|
|
11182
|
+
|
|
11183
|
+
new_options = opts.merge(
|
|
11184
|
+
:operation => :"V2Api.tokenize",
|
|
11185
|
+
:header_params => header_params,
|
|
11186
|
+
:query_params => query_params,
|
|
11187
|
+
:form_params => form_params,
|
|
11188
|
+
:body => post_body,
|
|
11189
|
+
:auth_names => auth_names,
|
|
11190
|
+
:return_type => return_type
|
|
11191
|
+
)
|
|
11192
|
+
|
|
11193
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
11194
|
+
if @api_client.config.debugging
|
|
11195
|
+
@api_client.config.logger.debug "API called: V2Api#tokenize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
11196
|
+
end
|
|
11197
|
+
return data, status_code, headers
|
|
11198
|
+
end
|
|
11199
|
+
|
|
10560
11200
|
# @param body [UidCreateChildToken]
|
|
10561
11201
|
# @param [Hash] opts the optional parameters
|
|
10562
11202
|
# @return [UidCreateChildTokenOutput]
|
|
@@ -12978,6 +13618,70 @@ module Akeyless
|
|
|
12978
13618
|
return data, status_code, headers
|
|
12979
13619
|
end
|
|
12980
13620
|
|
|
13621
|
+
# @param body [UpdateSalesforceTarget]
|
|
13622
|
+
# @param [Hash] opts the optional parameters
|
|
13623
|
+
# @return [UpdateSalesforceTargetOutput]
|
|
13624
|
+
def update_salesforce_target(body, opts = {})
|
|
13625
|
+
data, _status_code, _headers = update_salesforce_target_with_http_info(body, opts)
|
|
13626
|
+
data
|
|
13627
|
+
end
|
|
13628
|
+
|
|
13629
|
+
# @param body [UpdateSalesforceTarget]
|
|
13630
|
+
# @param [Hash] opts the optional parameters
|
|
13631
|
+
# @return [Array<(UpdateSalesforceTargetOutput, Integer, Hash)>] UpdateSalesforceTargetOutput data, response status code and response headers
|
|
13632
|
+
def update_salesforce_target_with_http_info(body, opts = {})
|
|
13633
|
+
if @api_client.config.debugging
|
|
13634
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_salesforce_target ...'
|
|
13635
|
+
end
|
|
13636
|
+
# verify the required parameter 'body' is set
|
|
13637
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
13638
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_salesforce_target"
|
|
13639
|
+
end
|
|
13640
|
+
# resource path
|
|
13641
|
+
local_var_path = '/update-salesforce-target'
|
|
13642
|
+
|
|
13643
|
+
# query parameters
|
|
13644
|
+
query_params = opts[:query_params] || {}
|
|
13645
|
+
|
|
13646
|
+
# header parameters
|
|
13647
|
+
header_params = opts[:header_params] || {}
|
|
13648
|
+
# HTTP header 'Accept' (if needed)
|
|
13649
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
13650
|
+
# HTTP header 'Content-Type'
|
|
13651
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13652
|
+
if !content_type.nil?
|
|
13653
|
+
header_params['Content-Type'] = content_type
|
|
13654
|
+
end
|
|
13655
|
+
|
|
13656
|
+
# form parameters
|
|
13657
|
+
form_params = opts[:form_params] || {}
|
|
13658
|
+
|
|
13659
|
+
# http body (model)
|
|
13660
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13661
|
+
|
|
13662
|
+
# return_type
|
|
13663
|
+
return_type = opts[:debug_return_type] || 'UpdateSalesforceTargetOutput'
|
|
13664
|
+
|
|
13665
|
+
# auth_names
|
|
13666
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13667
|
+
|
|
13668
|
+
new_options = opts.merge(
|
|
13669
|
+
:operation => :"V2Api.update_salesforce_target",
|
|
13670
|
+
:header_params => header_params,
|
|
13671
|
+
:query_params => query_params,
|
|
13672
|
+
:form_params => form_params,
|
|
13673
|
+
:body => post_body,
|
|
13674
|
+
:auth_names => auth_names,
|
|
13675
|
+
:return_type => return_type
|
|
13676
|
+
)
|
|
13677
|
+
|
|
13678
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13679
|
+
if @api_client.config.debugging
|
|
13680
|
+
@api_client.config.logger.debug "API called: V2Api#update_salesforce_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13681
|
+
end
|
|
13682
|
+
return data, status_code, headers
|
|
13683
|
+
end
|
|
13684
|
+
|
|
12981
13685
|
# @param body [UpdateSecretVal]
|
|
12982
13686
|
# @param [Hash] opts the optional parameters
|
|
12983
13687
|
# @return [UpdateSecretValOutput]
|
|
@@ -13362,6 +14066,70 @@ module Akeyless
|
|
|
13362
14066
|
return data, status_code, headers
|
|
13363
14067
|
end
|
|
13364
14068
|
|
|
14069
|
+
# @param body [UpdateTokenizer]
|
|
14070
|
+
# @param [Hash] opts the optional parameters
|
|
14071
|
+
# @return [UpdateTokenizerOutput]
|
|
14072
|
+
def update_tokenizer(body, opts = {})
|
|
14073
|
+
data, _status_code, _headers = update_tokenizer_with_http_info(body, opts)
|
|
14074
|
+
data
|
|
14075
|
+
end
|
|
14076
|
+
|
|
14077
|
+
# @param body [UpdateTokenizer]
|
|
14078
|
+
# @param [Hash] opts the optional parameters
|
|
14079
|
+
# @return [Array<(UpdateTokenizerOutput, Integer, Hash)>] UpdateTokenizerOutput data, response status code and response headers
|
|
14080
|
+
def update_tokenizer_with_http_info(body, opts = {})
|
|
14081
|
+
if @api_client.config.debugging
|
|
14082
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_tokenizer ...'
|
|
14083
|
+
end
|
|
14084
|
+
# verify the required parameter 'body' is set
|
|
14085
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
14086
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_tokenizer"
|
|
14087
|
+
end
|
|
14088
|
+
# resource path
|
|
14089
|
+
local_var_path = '/update-tokenizer'
|
|
14090
|
+
|
|
14091
|
+
# query parameters
|
|
14092
|
+
query_params = opts[:query_params] || {}
|
|
14093
|
+
|
|
14094
|
+
# header parameters
|
|
14095
|
+
header_params = opts[:header_params] || {}
|
|
14096
|
+
# HTTP header 'Accept' (if needed)
|
|
14097
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
14098
|
+
# HTTP header 'Content-Type'
|
|
14099
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
14100
|
+
if !content_type.nil?
|
|
14101
|
+
header_params['Content-Type'] = content_type
|
|
14102
|
+
end
|
|
14103
|
+
|
|
14104
|
+
# form parameters
|
|
14105
|
+
form_params = opts[:form_params] || {}
|
|
14106
|
+
|
|
14107
|
+
# http body (model)
|
|
14108
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
14109
|
+
|
|
14110
|
+
# return_type
|
|
14111
|
+
return_type = opts[:debug_return_type] || 'UpdateTokenizerOutput'
|
|
14112
|
+
|
|
14113
|
+
# auth_names
|
|
14114
|
+
auth_names = opts[:debug_auth_names] || []
|
|
14115
|
+
|
|
14116
|
+
new_options = opts.merge(
|
|
14117
|
+
:operation => :"V2Api.update_tokenizer",
|
|
14118
|
+
:header_params => header_params,
|
|
14119
|
+
:query_params => query_params,
|
|
14120
|
+
:form_params => form_params,
|
|
14121
|
+
:body => post_body,
|
|
14122
|
+
:auth_names => auth_names,
|
|
14123
|
+
:return_type => return_type
|
|
14124
|
+
)
|
|
14125
|
+
|
|
14126
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14127
|
+
if @api_client.config.debugging
|
|
14128
|
+
@api_client.config.logger.debug "API called: V2Api#update_tokenizer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14129
|
+
end
|
|
14130
|
+
return data, status_code, headers
|
|
14131
|
+
end
|
|
14132
|
+
|
|
13365
14133
|
# @param body [UpdateWebTarget]
|
|
13366
14134
|
# @param [Hash] opts the optional parameters
|
|
13367
14135
|
# @return [UpdateWebTargetOutput]
|