akeyless 2.16.4 → 2.16.7
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 +44 -1
- data/docs/AwsS3LogForwardingConfig.md +2 -0
- data/docs/CertAccessRules.md +1 -1
- 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/CreateAzureTarget.md +6 -0
- data/docs/CreateClassicKey.md +12 -0
- data/docs/CreateRotatedSecret.md +30 -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/DSProducerDetails.md +6 -0
- data/docs/DeleteRoleRule.md +1 -1
- 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/GatewayCreateProducerRabbitMQ.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -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/GatewayUpdateProducerRabbitMQ.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GetRSAPublicOutput.md +1 -1
- 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/ListItems.md +2 -0
- 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/SetRoleRule.md +1 -1
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +2 -0
- data/docs/TargetTypeDetailsInput.md +18 -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/UpdateAzureTarget.md +6 -0
- data/docs/UpdateLdapTarget.md +42 -0
- data/docs/UpdateLdapTargetDetails.md +40 -0
- data/docs/UpdateLdapTargetOutput.md +18 -0
- data/docs/UpdateRotatedSecret.md +30 -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 +888 -6
- data/docs/VaultlessTokenizerInfo.md +28 -0
- data/lib/akeyless/api/v2_api.rb +897 -1
- data/lib/akeyless/models/aws_s3_log_forwarding_config.rb +10 -1
- data/lib/akeyless/models/cert_access_rules.rb +2 -4
- 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_azure_target.rb +31 -1
- data/lib/akeyless/models/create_classic_key.rb +61 -1
- data/lib/akeyless/models/create_rotated_secret.rb +163 -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/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/detokenize.rb +271 -0
- data/lib/akeyless/models/detokenize_output.rb +219 -0
- data/lib/akeyless/models/ds_producer_details.rb +28 -1
- 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_create_producer_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
- 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/gateway_update_producer_rabbit_mq.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
- data/lib/akeyless/models/get_rsa_public_output.rb +2 -4
- 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_items.rb +10 -1
- 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/set_role_rule.rb +1 -1
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +13 -1
- data/lib/akeyless/models/target_type_details_input.rb +86 -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_azure_target.rb +31 -1
- data/lib/akeyless/models/update_ldap_target.rb +339 -0
- data/lib/akeyless/models/update_ldap_target_details.rb +328 -0
- data/lib/akeyless/models/update_ldap_target_output.rb +219 -0
- data/lib/akeyless/models/update_rotated_secret.rb +163 -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 +29 -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_ldap_target_details_spec.rb +100 -0
- data/spec/models/update_ldap_target_output_spec.rb +34 -0
- data/spec/models/update_ldap_target_spec.rb +106 -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 +575 -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,7 +5967,71 @@ module Akeyless
|
|
|
5647
5967
|
return data, status_code, headers
|
|
5648
5968
|
end
|
|
5649
5969
|
|
|
5650
|
-
# @param body [
|
|
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
|
+
|
|
6034
|
+
# @param body [GatewayGetProducer]
|
|
5651
6035
|
# @param [Hash] opts the optional parameters
|
|
5652
6036
|
# @return [DSProducerDetails]
|
|
5653
6037
|
def gateway_get_producer(body, opts = {})
|
|
@@ -6351,6 +6735,70 @@ module Akeyless
|
|
|
6351
6735
|
return data, status_code, headers
|
|
6352
6736
|
end
|
|
6353
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}"
|
|
6798
|
+
end
|
|
6799
|
+
return data, status_code, headers
|
|
6800
|
+
end
|
|
6801
|
+
|
|
6354
6802
|
# @param body [GatewayUpdateProducerArtifactory]
|
|
6355
6803
|
# @param [Hash] opts the optional parameters
|
|
6356
6804
|
# @return [GatewayUpdateProducerArtifactoryOutput]
|
|
@@ -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]
|
|
@@ -12477,6 +13117,134 @@ module Akeyless
|
|
|
12477
13117
|
return data, status_code, headers
|
|
12478
13118
|
end
|
|
12479
13119
|
|
|
13120
|
+
# @param body [UpdateLdapTarget]
|
|
13121
|
+
# @param [Hash] opts the optional parameters
|
|
13122
|
+
# @return [UpdateLdapTargetOutput]
|
|
13123
|
+
def update_ldap_target(body, opts = {})
|
|
13124
|
+
data, _status_code, _headers = update_ldap_target_with_http_info(body, opts)
|
|
13125
|
+
data
|
|
13126
|
+
end
|
|
13127
|
+
|
|
13128
|
+
# @param body [UpdateLdapTarget]
|
|
13129
|
+
# @param [Hash] opts the optional parameters
|
|
13130
|
+
# @return [Array<(UpdateLdapTargetOutput, Integer, Hash)>] UpdateLdapTargetOutput data, response status code and response headers
|
|
13131
|
+
def update_ldap_target_with_http_info(body, opts = {})
|
|
13132
|
+
if @api_client.config.debugging
|
|
13133
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_ldap_target ...'
|
|
13134
|
+
end
|
|
13135
|
+
# verify the required parameter 'body' is set
|
|
13136
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
13137
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_ldap_target"
|
|
13138
|
+
end
|
|
13139
|
+
# resource path
|
|
13140
|
+
local_var_path = '/update-ldap-target'
|
|
13141
|
+
|
|
13142
|
+
# query parameters
|
|
13143
|
+
query_params = opts[:query_params] || {}
|
|
13144
|
+
|
|
13145
|
+
# header parameters
|
|
13146
|
+
header_params = opts[:header_params] || {}
|
|
13147
|
+
# HTTP header 'Accept' (if needed)
|
|
13148
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
13149
|
+
# HTTP header 'Content-Type'
|
|
13150
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13151
|
+
if !content_type.nil?
|
|
13152
|
+
header_params['Content-Type'] = content_type
|
|
13153
|
+
end
|
|
13154
|
+
|
|
13155
|
+
# form parameters
|
|
13156
|
+
form_params = opts[:form_params] || {}
|
|
13157
|
+
|
|
13158
|
+
# http body (model)
|
|
13159
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13160
|
+
|
|
13161
|
+
# return_type
|
|
13162
|
+
return_type = opts[:debug_return_type] || 'UpdateLdapTargetOutput'
|
|
13163
|
+
|
|
13164
|
+
# auth_names
|
|
13165
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13166
|
+
|
|
13167
|
+
new_options = opts.merge(
|
|
13168
|
+
:operation => :"V2Api.update_ldap_target",
|
|
13169
|
+
:header_params => header_params,
|
|
13170
|
+
:query_params => query_params,
|
|
13171
|
+
:form_params => form_params,
|
|
13172
|
+
:body => post_body,
|
|
13173
|
+
:auth_names => auth_names,
|
|
13174
|
+
:return_type => return_type
|
|
13175
|
+
)
|
|
13176
|
+
|
|
13177
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13178
|
+
if @api_client.config.debugging
|
|
13179
|
+
@api_client.config.logger.debug "API called: V2Api#update_ldap_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13180
|
+
end
|
|
13181
|
+
return data, status_code, headers
|
|
13182
|
+
end
|
|
13183
|
+
|
|
13184
|
+
# @param body [UpdateLdapTargetDetails]
|
|
13185
|
+
# @param [Hash] opts the optional parameters
|
|
13186
|
+
# @return [UpdateTargetOutput]
|
|
13187
|
+
def update_ldap_target_details(body, opts = {})
|
|
13188
|
+
data, _status_code, _headers = update_ldap_target_details_with_http_info(body, opts)
|
|
13189
|
+
data
|
|
13190
|
+
end
|
|
13191
|
+
|
|
13192
|
+
# @param body [UpdateLdapTargetDetails]
|
|
13193
|
+
# @param [Hash] opts the optional parameters
|
|
13194
|
+
# @return [Array<(UpdateTargetOutput, Integer, Hash)>] UpdateTargetOutput data, response status code and response headers
|
|
13195
|
+
def update_ldap_target_details_with_http_info(body, opts = {})
|
|
13196
|
+
if @api_client.config.debugging
|
|
13197
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_ldap_target_details ...'
|
|
13198
|
+
end
|
|
13199
|
+
# verify the required parameter 'body' is set
|
|
13200
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
13201
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_ldap_target_details"
|
|
13202
|
+
end
|
|
13203
|
+
# resource path
|
|
13204
|
+
local_var_path = '/update-ldap-target-details'
|
|
13205
|
+
|
|
13206
|
+
# query parameters
|
|
13207
|
+
query_params = opts[:query_params] || {}
|
|
13208
|
+
|
|
13209
|
+
# header parameters
|
|
13210
|
+
header_params = opts[:header_params] || {}
|
|
13211
|
+
# HTTP header 'Accept' (if needed)
|
|
13212
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
13213
|
+
# HTTP header 'Content-Type'
|
|
13214
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13215
|
+
if !content_type.nil?
|
|
13216
|
+
header_params['Content-Type'] = content_type
|
|
13217
|
+
end
|
|
13218
|
+
|
|
13219
|
+
# form parameters
|
|
13220
|
+
form_params = opts[:form_params] || {}
|
|
13221
|
+
|
|
13222
|
+
# http body (model)
|
|
13223
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13224
|
+
|
|
13225
|
+
# return_type
|
|
13226
|
+
return_type = opts[:debug_return_type] || 'UpdateTargetOutput'
|
|
13227
|
+
|
|
13228
|
+
# auth_names
|
|
13229
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13230
|
+
|
|
13231
|
+
new_options = opts.merge(
|
|
13232
|
+
:operation => :"V2Api.update_ldap_target_details",
|
|
13233
|
+
:header_params => header_params,
|
|
13234
|
+
:query_params => query_params,
|
|
13235
|
+
:form_params => form_params,
|
|
13236
|
+
:body => post_body,
|
|
13237
|
+
:auth_names => auth_names,
|
|
13238
|
+
:return_type => return_type
|
|
13239
|
+
)
|
|
13240
|
+
|
|
13241
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13242
|
+
if @api_client.config.debugging
|
|
13243
|
+
@api_client.config.logger.debug "API called: V2Api#update_ldap_target_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13244
|
+
end
|
|
13245
|
+
return data, status_code, headers
|
|
13246
|
+
end
|
|
13247
|
+
|
|
12480
13248
|
# @param body [UpdateNativeK8STarget]
|
|
12481
13249
|
# @param [Hash] opts the optional parameters
|
|
12482
13250
|
# @return [UpdateNativeK8STarget]
|
|
@@ -12978,6 +13746,70 @@ module Akeyless
|
|
|
12978
13746
|
return data, status_code, headers
|
|
12979
13747
|
end
|
|
12980
13748
|
|
|
13749
|
+
# @param body [UpdateSalesforceTarget]
|
|
13750
|
+
# @param [Hash] opts the optional parameters
|
|
13751
|
+
# @return [UpdateSalesforceTargetOutput]
|
|
13752
|
+
def update_salesforce_target(body, opts = {})
|
|
13753
|
+
data, _status_code, _headers = update_salesforce_target_with_http_info(body, opts)
|
|
13754
|
+
data
|
|
13755
|
+
end
|
|
13756
|
+
|
|
13757
|
+
# @param body [UpdateSalesforceTarget]
|
|
13758
|
+
# @param [Hash] opts the optional parameters
|
|
13759
|
+
# @return [Array<(UpdateSalesforceTargetOutput, Integer, Hash)>] UpdateSalesforceTargetOutput data, response status code and response headers
|
|
13760
|
+
def update_salesforce_target_with_http_info(body, opts = {})
|
|
13761
|
+
if @api_client.config.debugging
|
|
13762
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_salesforce_target ...'
|
|
13763
|
+
end
|
|
13764
|
+
# verify the required parameter 'body' is set
|
|
13765
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
13766
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_salesforce_target"
|
|
13767
|
+
end
|
|
13768
|
+
# resource path
|
|
13769
|
+
local_var_path = '/update-salesforce-target'
|
|
13770
|
+
|
|
13771
|
+
# query parameters
|
|
13772
|
+
query_params = opts[:query_params] || {}
|
|
13773
|
+
|
|
13774
|
+
# header parameters
|
|
13775
|
+
header_params = opts[:header_params] || {}
|
|
13776
|
+
# HTTP header 'Accept' (if needed)
|
|
13777
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
13778
|
+
# HTTP header 'Content-Type'
|
|
13779
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
13780
|
+
if !content_type.nil?
|
|
13781
|
+
header_params['Content-Type'] = content_type
|
|
13782
|
+
end
|
|
13783
|
+
|
|
13784
|
+
# form parameters
|
|
13785
|
+
form_params = opts[:form_params] || {}
|
|
13786
|
+
|
|
13787
|
+
# http body (model)
|
|
13788
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
13789
|
+
|
|
13790
|
+
# return_type
|
|
13791
|
+
return_type = opts[:debug_return_type] || 'UpdateSalesforceTargetOutput'
|
|
13792
|
+
|
|
13793
|
+
# auth_names
|
|
13794
|
+
auth_names = opts[:debug_auth_names] || []
|
|
13795
|
+
|
|
13796
|
+
new_options = opts.merge(
|
|
13797
|
+
:operation => :"V2Api.update_salesforce_target",
|
|
13798
|
+
:header_params => header_params,
|
|
13799
|
+
:query_params => query_params,
|
|
13800
|
+
:form_params => form_params,
|
|
13801
|
+
:body => post_body,
|
|
13802
|
+
:auth_names => auth_names,
|
|
13803
|
+
:return_type => return_type
|
|
13804
|
+
)
|
|
13805
|
+
|
|
13806
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
13807
|
+
if @api_client.config.debugging
|
|
13808
|
+
@api_client.config.logger.debug "API called: V2Api#update_salesforce_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
13809
|
+
end
|
|
13810
|
+
return data, status_code, headers
|
|
13811
|
+
end
|
|
13812
|
+
|
|
12981
13813
|
# @param body [UpdateSecretVal]
|
|
12982
13814
|
# @param [Hash] opts the optional parameters
|
|
12983
13815
|
# @return [UpdateSecretValOutput]
|
|
@@ -13362,6 +14194,70 @@ module Akeyless
|
|
|
13362
14194
|
return data, status_code, headers
|
|
13363
14195
|
end
|
|
13364
14196
|
|
|
14197
|
+
# @param body [UpdateTokenizer]
|
|
14198
|
+
# @param [Hash] opts the optional parameters
|
|
14199
|
+
# @return [UpdateTokenizerOutput]
|
|
14200
|
+
def update_tokenizer(body, opts = {})
|
|
14201
|
+
data, _status_code, _headers = update_tokenizer_with_http_info(body, opts)
|
|
14202
|
+
data
|
|
14203
|
+
end
|
|
14204
|
+
|
|
14205
|
+
# @param body [UpdateTokenizer]
|
|
14206
|
+
# @param [Hash] opts the optional parameters
|
|
14207
|
+
# @return [Array<(UpdateTokenizerOutput, Integer, Hash)>] UpdateTokenizerOutput data, response status code and response headers
|
|
14208
|
+
def update_tokenizer_with_http_info(body, opts = {})
|
|
14209
|
+
if @api_client.config.debugging
|
|
14210
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_tokenizer ...'
|
|
14211
|
+
end
|
|
14212
|
+
# verify the required parameter 'body' is set
|
|
14213
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
14214
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_tokenizer"
|
|
14215
|
+
end
|
|
14216
|
+
# resource path
|
|
14217
|
+
local_var_path = '/update-tokenizer'
|
|
14218
|
+
|
|
14219
|
+
# query parameters
|
|
14220
|
+
query_params = opts[:query_params] || {}
|
|
14221
|
+
|
|
14222
|
+
# header parameters
|
|
14223
|
+
header_params = opts[:header_params] || {}
|
|
14224
|
+
# HTTP header 'Accept' (if needed)
|
|
14225
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
14226
|
+
# HTTP header 'Content-Type'
|
|
14227
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
14228
|
+
if !content_type.nil?
|
|
14229
|
+
header_params['Content-Type'] = content_type
|
|
14230
|
+
end
|
|
14231
|
+
|
|
14232
|
+
# form parameters
|
|
14233
|
+
form_params = opts[:form_params] || {}
|
|
14234
|
+
|
|
14235
|
+
# http body (model)
|
|
14236
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
14237
|
+
|
|
14238
|
+
# return_type
|
|
14239
|
+
return_type = opts[:debug_return_type] || 'UpdateTokenizerOutput'
|
|
14240
|
+
|
|
14241
|
+
# auth_names
|
|
14242
|
+
auth_names = opts[:debug_auth_names] || []
|
|
14243
|
+
|
|
14244
|
+
new_options = opts.merge(
|
|
14245
|
+
:operation => :"V2Api.update_tokenizer",
|
|
14246
|
+
:header_params => header_params,
|
|
14247
|
+
:query_params => query_params,
|
|
14248
|
+
:form_params => form_params,
|
|
14249
|
+
:body => post_body,
|
|
14250
|
+
:auth_names => auth_names,
|
|
14251
|
+
:return_type => return_type
|
|
14252
|
+
)
|
|
14253
|
+
|
|
14254
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
14255
|
+
if @api_client.config.debugging
|
|
14256
|
+
@api_client.config.logger.debug "API called: V2Api#update_tokenizer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14257
|
+
end
|
|
14258
|
+
return data, status_code, headers
|
|
14259
|
+
end
|
|
14260
|
+
|
|
13365
14261
|
# @param body [UpdateWebTarget]
|
|
13366
14262
|
# @param [Hash] opts the optional parameters
|
|
13367
14263
|
# @return [UpdateWebTargetOutput]
|