akeyless 2.16.4 → 2.16.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -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/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/TargetTypeDetailsInput.md +12 -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/V2Api.md +441 -0
- data/lib/akeyless/api/v2_api.rb +448 -0
- 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/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/target_type_details_input.rb +59 -1
- 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/version.rb +1 -1
- data/lib/akeyless.rb +12 -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/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/update_salesforce_target_output_spec.rb +34 -0
- data/spec/models/update_salesforce_target_spec.rb +124 -0
- metadata +512 -464
data/docs/V2Api.md
CHANGED
@@ -39,6 +39,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
39
39
|
| [**create_rabbit_mq_target**](V2Api.md#create_rabbit_mq_target) | **POST** /create-rabbitmq-target | |
|
40
40
|
| [**create_role**](V2Api.md#create_role) | **POST** /create-role | |
|
41
41
|
| [**create_rotated_secret**](V2Api.md#create_rotated_secret) | **POST** /create-rotated-secret | |
|
42
|
+
| [**create_salesforce_target**](V2Api.md#create_salesforce_target) | **POST** /create-salesforce-target | |
|
42
43
|
| [**create_secret**](V2Api.md#create_secret) | **POST** /create-secret | |
|
43
44
|
| [**create_ssh_cert_issuer**](V2Api.md#create_ssh_cert_issuer) | **POST** /create-ssh-cert-issuer | |
|
44
45
|
| [**create_ssh_target**](V2Api.md#create_ssh_target) | **POST** /create-ssh-target | |
|
@@ -64,6 +65,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
64
65
|
| [**encrypt_pkcs1**](V2Api.md#encrypt_pkcs1) | **POST** /encrypt-pkcs1 | |
|
65
66
|
| [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
|
66
67
|
| [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
|
68
|
+
| [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
|
67
69
|
| [**gateway_create_producer_artifactory**](V2Api.md#gateway_create_producer_artifactory) | **POST** /gateway-create-producer-artifactory | |
|
68
70
|
| [**gateway_create_producer_aws**](V2Api.md#gateway_create_producer_aws) | **POST** /gateway-create-producer-aws | |
|
69
71
|
| [**gateway_create_producer_azure**](V2Api.md#gateway_create_producer_azure) | **POST** /gateway-create-producer-azure | |
|
@@ -89,9 +91,11 @@ All URIs are relative to *https://api.akeyless.io*
|
|
89
91
|
| [**gateway_create_producer_snowflake**](V2Api.md#gateway_create_producer_snowflake) | **POST** /gateway-create-producer-snowflake | |
|
90
92
|
| [**gateway_delete_allowed_management_access**](V2Api.md#gateway_delete_allowed_management_access) | **POST** /gateway-delete-allowed-management-access | |
|
91
93
|
| [**gateway_delete_k8_s_auth_config**](V2Api.md#gateway_delete_k8_s_auth_config) | **POST** /gateway-delete-k8s-auth-config | |
|
94
|
+
| [**gateway_delete_migration**](V2Api.md#gateway_delete_migration) | **POST** /gateway-delete-migration | |
|
92
95
|
| [**gateway_delete_producer**](V2Api.md#gateway_delete_producer) | **POST** /gateway-delete-producer | |
|
93
96
|
| [**gateway_get_config**](V2Api.md#gateway_get_config) | **POST** /gateway-get-config | |
|
94
97
|
| [**gateway_get_k8_s_auth_config**](V2Api.md#gateway_get_k8_s_auth_config) | **POST** /gateway-get-k8s-auth-config | |
|
98
|
+
| [**gateway_get_migration**](V2Api.md#gateway_get_migration) | **POST** /gateway-get-migration | |
|
95
99
|
| [**gateway_get_producer**](V2Api.md#gateway_get_producer) | **POST** /gateway-get-producer | |
|
96
100
|
| [**gateway_get_tmp_users**](V2Api.md#gateway_get_tmp_users) | **POST** /gateway-get-producer-tmp-creds | |
|
97
101
|
| [**gateway_list_allowed_management_access**](V2Api.md#gateway_list_allowed_management_access) | **POST** /gateway-list-allowed-management-access | |
|
@@ -103,6 +107,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
103
107
|
| [**gateway_sync_migration**](V2Api.md#gateway_sync_migration) | **POST** /gateway-sync-migration | |
|
104
108
|
| [**gateway_update_item**](V2Api.md#gateway_update_item) | **POST** /gateway-update-item | |
|
105
109
|
| [**gateway_update_k8_s_auth_config**](V2Api.md#gateway_update_k8_s_auth_config) | **POST** /gateway-update-k8s-auth-config | |
|
110
|
+
| [**gateway_update_migration**](V2Api.md#gateway_update_migration) | **POST** /gateway-update-migration | |
|
106
111
|
| [**gateway_update_producer_artifactory**](V2Api.md#gateway_update_producer_artifactory) | **POST** /gateway-update-producer-artifactory | |
|
107
112
|
| [**gateway_update_producer_aws**](V2Api.md#gateway_update_producer_aws) | **POST** /gateway-update-producer-aws | |
|
108
113
|
| [**gateway_update_producer_azure**](V2Api.md#gateway_update_producer_azure) | **POST** /gateway-update-producer-azure | |
|
@@ -114,6 +119,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
114
119
|
| [**gateway_update_producer_gcp**](V2Api.md#gateway_update_producer_gcp) | **POST** /gateway-update-producer-gcp | |
|
115
120
|
| [**gateway_update_producer_github**](V2Api.md#gateway_update_producer_github) | **POST** /gateway-update-producer-github | |
|
116
121
|
| [**gateway_update_producer_gke**](V2Api.md#gateway_update_producer_gke) | **POST** /gateway-update-producer-gke | |
|
122
|
+
| [**gateway_update_producer_hana_db**](V2Api.md#gateway_update_producer_hana_db) | **POST** /gateway-update-producer-hana | |
|
117
123
|
| [**gateway_update_producer_ldap**](V2Api.md#gateway_update_producer_ldap) | **POST** /gateway-update-producer-ldap | |
|
118
124
|
| [**gateway_update_producer_mongo**](V2Api.md#gateway_update_producer_mongo) | **POST** /gateway-update-producer-mongo | |
|
119
125
|
| [**gateway_update_producer_mssql**](V2Api.md#gateway_update_producer_mssql) | **POST** /gateway-update-producer-mssql | |
|
@@ -208,6 +214,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
208
214
|
| [**update_role**](V2Api.md#update_role) | **POST** /update-role | |
|
209
215
|
| [**update_rotated_secret**](V2Api.md#update_rotated_secret) | **POST** /update-rotated-secret | |
|
210
216
|
| [**update_rotation_settings**](V2Api.md#update_rotation_settings) | **POST** /update-rotation-settingsrotate-key | |
|
217
|
+
| [**update_salesforce_target**](V2Api.md#update_salesforce_target) | **POST** /update-salesforce-target | |
|
211
218
|
| [**update_secret_val**](V2Api.md#update_secret_val) | **POST** /update-secret-val | |
|
212
219
|
| [**update_ssh_cert_issuer**](V2Api.md#update_ssh_cert_issuer) | **POST** /update-ssh-cert-issuer | |
|
213
220
|
| [**update_ssh_target**](V2Api.md#update_ssh_target) | **POST** /update-ssh-target | |
|
@@ -2393,6 +2400,68 @@ No authorization required
|
|
2393
2400
|
- **Accept**: application/json
|
2394
2401
|
|
2395
2402
|
|
2403
|
+
## create_salesforce_target
|
2404
|
+
|
2405
|
+
> <CreateSalesforceTargetOutput> create_salesforce_target(body)
|
2406
|
+
|
2407
|
+
|
2408
|
+
|
2409
|
+
### Examples
|
2410
|
+
|
2411
|
+
```ruby
|
2412
|
+
require 'time'
|
2413
|
+
require 'akeyless'
|
2414
|
+
|
2415
|
+
api_instance = Akeyless::V2Api.new
|
2416
|
+
body = Akeyless::CreateSalesforceTarget.new({client_id: 'client_id_example', client_secret: 'client_secret_example', email: 'email_example', name: 'name_example', password: 'password_example', security_token: 'security_token_example', tenant_url: 'tenant_url_example'}) # CreateSalesforceTarget |
|
2417
|
+
|
2418
|
+
begin
|
2419
|
+
|
2420
|
+
result = api_instance.create_salesforce_target(body)
|
2421
|
+
p result
|
2422
|
+
rescue Akeyless::ApiError => e
|
2423
|
+
puts "Error when calling V2Api->create_salesforce_target: #{e}"
|
2424
|
+
end
|
2425
|
+
```
|
2426
|
+
|
2427
|
+
#### Using the create_salesforce_target_with_http_info variant
|
2428
|
+
|
2429
|
+
This returns an Array which contains the response data, status code and headers.
|
2430
|
+
|
2431
|
+
> <Array(<CreateSalesforceTargetOutput>, Integer, Hash)> create_salesforce_target_with_http_info(body)
|
2432
|
+
|
2433
|
+
```ruby
|
2434
|
+
begin
|
2435
|
+
|
2436
|
+
data, status_code, headers = api_instance.create_salesforce_target_with_http_info(body)
|
2437
|
+
p status_code # => 2xx
|
2438
|
+
p headers # => { ... }
|
2439
|
+
p data # => <CreateSalesforceTargetOutput>
|
2440
|
+
rescue Akeyless::ApiError => e
|
2441
|
+
puts "Error when calling V2Api->create_salesforce_target_with_http_info: #{e}"
|
2442
|
+
end
|
2443
|
+
```
|
2444
|
+
|
2445
|
+
### Parameters
|
2446
|
+
|
2447
|
+
| Name | Type | Description | Notes |
|
2448
|
+
| ---- | ---- | ----------- | ----- |
|
2449
|
+
| **body** | [**CreateSalesforceTarget**](CreateSalesforceTarget.md) | | |
|
2450
|
+
|
2451
|
+
### Return type
|
2452
|
+
|
2453
|
+
[**CreateSalesforceTargetOutput**](CreateSalesforceTargetOutput.md)
|
2454
|
+
|
2455
|
+
### Authorization
|
2456
|
+
|
2457
|
+
No authorization required
|
2458
|
+
|
2459
|
+
### HTTP request headers
|
2460
|
+
|
2461
|
+
- **Content-Type**: application/json
|
2462
|
+
- **Accept**: application/json
|
2463
|
+
|
2464
|
+
|
2396
2465
|
## create_secret
|
2397
2466
|
|
2398
2467
|
> <CreateSecretOutput> create_secret(body)
|
@@ -3943,6 +4012,68 @@ No authorization required
|
|
3943
4012
|
- **Accept**: application/json
|
3944
4013
|
|
3945
4014
|
|
4015
|
+
## gateway_create_migration
|
4016
|
+
|
4017
|
+
> <GatewayMigrationCreateOutput> gateway_create_migration(body)
|
4018
|
+
|
4019
|
+
|
4020
|
+
|
4021
|
+
### Examples
|
4022
|
+
|
4023
|
+
```ruby
|
4024
|
+
require 'time'
|
4025
|
+
require 'akeyless'
|
4026
|
+
|
4027
|
+
api_instance = Akeyless::V2Api.new
|
4028
|
+
body = Akeyless::GatewayCreateMigration.new({name: 'name_example'}) # GatewayCreateMigration |
|
4029
|
+
|
4030
|
+
begin
|
4031
|
+
|
4032
|
+
result = api_instance.gateway_create_migration(body)
|
4033
|
+
p result
|
4034
|
+
rescue Akeyless::ApiError => e
|
4035
|
+
puts "Error when calling V2Api->gateway_create_migration: #{e}"
|
4036
|
+
end
|
4037
|
+
```
|
4038
|
+
|
4039
|
+
#### Using the gateway_create_migration_with_http_info variant
|
4040
|
+
|
4041
|
+
This returns an Array which contains the response data, status code and headers.
|
4042
|
+
|
4043
|
+
> <Array(<GatewayMigrationCreateOutput>, Integer, Hash)> gateway_create_migration_with_http_info(body)
|
4044
|
+
|
4045
|
+
```ruby
|
4046
|
+
begin
|
4047
|
+
|
4048
|
+
data, status_code, headers = api_instance.gateway_create_migration_with_http_info(body)
|
4049
|
+
p status_code # => 2xx
|
4050
|
+
p headers # => { ... }
|
4051
|
+
p data # => <GatewayMigrationCreateOutput>
|
4052
|
+
rescue Akeyless::ApiError => e
|
4053
|
+
puts "Error when calling V2Api->gateway_create_migration_with_http_info: #{e}"
|
4054
|
+
end
|
4055
|
+
```
|
4056
|
+
|
4057
|
+
### Parameters
|
4058
|
+
|
4059
|
+
| Name | Type | Description | Notes |
|
4060
|
+
| ---- | ---- | ----------- | ----- |
|
4061
|
+
| **body** | [**GatewayCreateMigration**](GatewayCreateMigration.md) | | |
|
4062
|
+
|
4063
|
+
### Return type
|
4064
|
+
|
4065
|
+
[**GatewayMigrationCreateOutput**](GatewayMigrationCreateOutput.md)
|
4066
|
+
|
4067
|
+
### Authorization
|
4068
|
+
|
4069
|
+
No authorization required
|
4070
|
+
|
4071
|
+
### HTTP request headers
|
4072
|
+
|
4073
|
+
- **Content-Type**: application/json
|
4074
|
+
- **Accept**: application/json
|
4075
|
+
|
4076
|
+
|
3946
4077
|
## gateway_create_producer_artifactory
|
3947
4078
|
|
3948
4079
|
> <GatewayCreateProducerArtifactoryOutput> gateway_create_producer_artifactory(body)
|
@@ -5495,6 +5626,68 @@ No authorization required
|
|
5495
5626
|
- **Accept**: application/json
|
5496
5627
|
|
5497
5628
|
|
5629
|
+
## gateway_delete_migration
|
5630
|
+
|
5631
|
+
> <GatewayMigrationDeleteOutput> gateway_delete_migration(body)
|
5632
|
+
|
5633
|
+
|
5634
|
+
|
5635
|
+
### Examples
|
5636
|
+
|
5637
|
+
```ruby
|
5638
|
+
require 'time'
|
5639
|
+
require 'akeyless'
|
5640
|
+
|
5641
|
+
api_instance = Akeyless::V2Api.new
|
5642
|
+
body = Akeyless::GatewayDeleteMigration.new({id: 'id_example'}) # GatewayDeleteMigration |
|
5643
|
+
|
5644
|
+
begin
|
5645
|
+
|
5646
|
+
result = api_instance.gateway_delete_migration(body)
|
5647
|
+
p result
|
5648
|
+
rescue Akeyless::ApiError => e
|
5649
|
+
puts "Error when calling V2Api->gateway_delete_migration: #{e}"
|
5650
|
+
end
|
5651
|
+
```
|
5652
|
+
|
5653
|
+
#### Using the gateway_delete_migration_with_http_info variant
|
5654
|
+
|
5655
|
+
This returns an Array which contains the response data, status code and headers.
|
5656
|
+
|
5657
|
+
> <Array(<GatewayMigrationDeleteOutput>, Integer, Hash)> gateway_delete_migration_with_http_info(body)
|
5658
|
+
|
5659
|
+
```ruby
|
5660
|
+
begin
|
5661
|
+
|
5662
|
+
data, status_code, headers = api_instance.gateway_delete_migration_with_http_info(body)
|
5663
|
+
p status_code # => 2xx
|
5664
|
+
p headers # => { ... }
|
5665
|
+
p data # => <GatewayMigrationDeleteOutput>
|
5666
|
+
rescue Akeyless::ApiError => e
|
5667
|
+
puts "Error when calling V2Api->gateway_delete_migration_with_http_info: #{e}"
|
5668
|
+
end
|
5669
|
+
```
|
5670
|
+
|
5671
|
+
### Parameters
|
5672
|
+
|
5673
|
+
| Name | Type | Description | Notes |
|
5674
|
+
| ---- | ---- | ----------- | ----- |
|
5675
|
+
| **body** | [**GatewayDeleteMigration**](GatewayDeleteMigration.md) | | |
|
5676
|
+
|
5677
|
+
### Return type
|
5678
|
+
|
5679
|
+
[**GatewayMigrationDeleteOutput**](GatewayMigrationDeleteOutput.md)
|
5680
|
+
|
5681
|
+
### Authorization
|
5682
|
+
|
5683
|
+
No authorization required
|
5684
|
+
|
5685
|
+
### HTTP request headers
|
5686
|
+
|
5687
|
+
- **Content-Type**: application/json
|
5688
|
+
- **Accept**: application/json
|
5689
|
+
|
5690
|
+
|
5498
5691
|
## gateway_delete_producer
|
5499
5692
|
|
5500
5693
|
> <GatewayDeleteProducerOutput> gateway_delete_producer(body)
|
@@ -5681,6 +5874,68 @@ No authorization required
|
|
5681
5874
|
- **Accept**: application/json
|
5682
5875
|
|
5683
5876
|
|
5877
|
+
## gateway_get_migration
|
5878
|
+
|
5879
|
+
> <GatewayMigrationGetOutput> gateway_get_migration(body)
|
5880
|
+
|
5881
|
+
|
5882
|
+
|
5883
|
+
### Examples
|
5884
|
+
|
5885
|
+
```ruby
|
5886
|
+
require 'time'
|
5887
|
+
require 'akeyless'
|
5888
|
+
|
5889
|
+
api_instance = Akeyless::V2Api.new
|
5890
|
+
body = Akeyless::GatewayGetMigration.new # GatewayGetMigration |
|
5891
|
+
|
5892
|
+
begin
|
5893
|
+
|
5894
|
+
result = api_instance.gateway_get_migration(body)
|
5895
|
+
p result
|
5896
|
+
rescue Akeyless::ApiError => e
|
5897
|
+
puts "Error when calling V2Api->gateway_get_migration: #{e}"
|
5898
|
+
end
|
5899
|
+
```
|
5900
|
+
|
5901
|
+
#### Using the gateway_get_migration_with_http_info variant
|
5902
|
+
|
5903
|
+
This returns an Array which contains the response data, status code and headers.
|
5904
|
+
|
5905
|
+
> <Array(<GatewayMigrationGetOutput>, Integer, Hash)> gateway_get_migration_with_http_info(body)
|
5906
|
+
|
5907
|
+
```ruby
|
5908
|
+
begin
|
5909
|
+
|
5910
|
+
data, status_code, headers = api_instance.gateway_get_migration_with_http_info(body)
|
5911
|
+
p status_code # => 2xx
|
5912
|
+
p headers # => { ... }
|
5913
|
+
p data # => <GatewayMigrationGetOutput>
|
5914
|
+
rescue Akeyless::ApiError => e
|
5915
|
+
puts "Error when calling V2Api->gateway_get_migration_with_http_info: #{e}"
|
5916
|
+
end
|
5917
|
+
```
|
5918
|
+
|
5919
|
+
### Parameters
|
5920
|
+
|
5921
|
+
| Name | Type | Description | Notes |
|
5922
|
+
| ---- | ---- | ----------- | ----- |
|
5923
|
+
| **body** | [**GatewayGetMigration**](GatewayGetMigration.md) | | |
|
5924
|
+
|
5925
|
+
### Return type
|
5926
|
+
|
5927
|
+
[**GatewayMigrationGetOutput**](GatewayMigrationGetOutput.md)
|
5928
|
+
|
5929
|
+
### Authorization
|
5930
|
+
|
5931
|
+
No authorization required
|
5932
|
+
|
5933
|
+
### HTTP request headers
|
5934
|
+
|
5935
|
+
- **Content-Type**: application/json
|
5936
|
+
- **Accept**: application/json
|
5937
|
+
|
5938
|
+
|
5684
5939
|
## gateway_get_producer
|
5685
5940
|
|
5686
5941
|
> <DSProducerDetails> gateway_get_producer(body)
|
@@ -6362,6 +6617,68 @@ No authorization required
|
|
6362
6617
|
- **Accept**: application/json
|
6363
6618
|
|
6364
6619
|
|
6620
|
+
## gateway_update_migration
|
6621
|
+
|
6622
|
+
> <GatewayMigrationUpdateOutput> gateway_update_migration(body)
|
6623
|
+
|
6624
|
+
|
6625
|
+
|
6626
|
+
### Examples
|
6627
|
+
|
6628
|
+
```ruby
|
6629
|
+
require 'time'
|
6630
|
+
require 'akeyless'
|
6631
|
+
|
6632
|
+
api_instance = Akeyless::V2Api.new
|
6633
|
+
body = Akeyless::GatewayUpdateMigration.new({name: 'name_example'}) # GatewayUpdateMigration |
|
6634
|
+
|
6635
|
+
begin
|
6636
|
+
|
6637
|
+
result = api_instance.gateway_update_migration(body)
|
6638
|
+
p result
|
6639
|
+
rescue Akeyless::ApiError => e
|
6640
|
+
puts "Error when calling V2Api->gateway_update_migration: #{e}"
|
6641
|
+
end
|
6642
|
+
```
|
6643
|
+
|
6644
|
+
#### Using the gateway_update_migration_with_http_info variant
|
6645
|
+
|
6646
|
+
This returns an Array which contains the response data, status code and headers.
|
6647
|
+
|
6648
|
+
> <Array(<GatewayMigrationUpdateOutput>, Integer, Hash)> gateway_update_migration_with_http_info(body)
|
6649
|
+
|
6650
|
+
```ruby
|
6651
|
+
begin
|
6652
|
+
|
6653
|
+
data, status_code, headers = api_instance.gateway_update_migration_with_http_info(body)
|
6654
|
+
p status_code # => 2xx
|
6655
|
+
p headers # => { ... }
|
6656
|
+
p data # => <GatewayMigrationUpdateOutput>
|
6657
|
+
rescue Akeyless::ApiError => e
|
6658
|
+
puts "Error when calling V2Api->gateway_update_migration_with_http_info: #{e}"
|
6659
|
+
end
|
6660
|
+
```
|
6661
|
+
|
6662
|
+
### Parameters
|
6663
|
+
|
6664
|
+
| Name | Type | Description | Notes |
|
6665
|
+
| ---- | ---- | ----------- | ----- |
|
6666
|
+
| **body** | [**GatewayUpdateMigration**](GatewayUpdateMigration.md) | | |
|
6667
|
+
|
6668
|
+
### Return type
|
6669
|
+
|
6670
|
+
[**GatewayMigrationUpdateOutput**](GatewayMigrationUpdateOutput.md)
|
6671
|
+
|
6672
|
+
### Authorization
|
6673
|
+
|
6674
|
+
No authorization required
|
6675
|
+
|
6676
|
+
### HTTP request headers
|
6677
|
+
|
6678
|
+
- **Content-Type**: application/json
|
6679
|
+
- **Accept**: application/json
|
6680
|
+
|
6681
|
+
|
6365
6682
|
## gateway_update_producer_artifactory
|
6366
6683
|
|
6367
6684
|
> <GatewayUpdateProducerArtifactoryOutput> gateway_update_producer_artifactory(body)
|
@@ -7046,6 +7363,68 @@ No authorization required
|
|
7046
7363
|
- **Accept**: application/json
|
7047
7364
|
|
7048
7365
|
|
7366
|
+
## gateway_update_producer_hana_db
|
7367
|
+
|
7368
|
+
> <GatewayUpdateProducerHanaDbOutput> gateway_update_producer_hana_db(body)
|
7369
|
+
|
7370
|
+
|
7371
|
+
|
7372
|
+
### Examples
|
7373
|
+
|
7374
|
+
```ruby
|
7375
|
+
require 'time'
|
7376
|
+
require 'akeyless'
|
7377
|
+
|
7378
|
+
api_instance = Akeyless::V2Api.new
|
7379
|
+
body = Akeyless::GatewayUpdateProducerHanaDb.new({name: 'name_example'}) # GatewayUpdateProducerHanaDb |
|
7380
|
+
|
7381
|
+
begin
|
7382
|
+
|
7383
|
+
result = api_instance.gateway_update_producer_hana_db(body)
|
7384
|
+
p result
|
7385
|
+
rescue Akeyless::ApiError => e
|
7386
|
+
puts "Error when calling V2Api->gateway_update_producer_hana_db: #{e}"
|
7387
|
+
end
|
7388
|
+
```
|
7389
|
+
|
7390
|
+
#### Using the gateway_update_producer_hana_db_with_http_info variant
|
7391
|
+
|
7392
|
+
This returns an Array which contains the response data, status code and headers.
|
7393
|
+
|
7394
|
+
> <Array(<GatewayUpdateProducerHanaDbOutput>, Integer, Hash)> gateway_update_producer_hana_db_with_http_info(body)
|
7395
|
+
|
7396
|
+
```ruby
|
7397
|
+
begin
|
7398
|
+
|
7399
|
+
data, status_code, headers = api_instance.gateway_update_producer_hana_db_with_http_info(body)
|
7400
|
+
p status_code # => 2xx
|
7401
|
+
p headers # => { ... }
|
7402
|
+
p data # => <GatewayUpdateProducerHanaDbOutput>
|
7403
|
+
rescue Akeyless::ApiError => e
|
7404
|
+
puts "Error when calling V2Api->gateway_update_producer_hana_db_with_http_info: #{e}"
|
7405
|
+
end
|
7406
|
+
```
|
7407
|
+
|
7408
|
+
### Parameters
|
7409
|
+
|
7410
|
+
| Name | Type | Description | Notes |
|
7411
|
+
| ---- | ---- | ----------- | ----- |
|
7412
|
+
| **body** | [**GatewayUpdateProducerHanaDb**](GatewayUpdateProducerHanaDb.md) | | |
|
7413
|
+
|
7414
|
+
### Return type
|
7415
|
+
|
7416
|
+
[**GatewayUpdateProducerHanaDbOutput**](GatewayUpdateProducerHanaDbOutput.md)
|
7417
|
+
|
7418
|
+
### Authorization
|
7419
|
+
|
7420
|
+
No authorization required
|
7421
|
+
|
7422
|
+
### HTTP request headers
|
7423
|
+
|
7424
|
+
- **Content-Type**: application/json
|
7425
|
+
- **Accept**: application/json
|
7426
|
+
|
7427
|
+
|
7049
7428
|
## gateway_update_producer_ldap
|
7050
7429
|
|
7051
7430
|
> <GatewayUpdateProducerLdapOutput> gateway_update_producer_ldap(body)
|
@@ -12892,6 +13271,68 @@ No authorization required
|
|
12892
13271
|
- **Accept**: application/json
|
12893
13272
|
|
12894
13273
|
|
13274
|
+
## update_salesforce_target
|
13275
|
+
|
13276
|
+
> <UpdateSalesforceTargetOutput> update_salesforce_target(body)
|
13277
|
+
|
13278
|
+
|
13279
|
+
|
13280
|
+
### Examples
|
13281
|
+
|
13282
|
+
```ruby
|
13283
|
+
require 'time'
|
13284
|
+
require 'akeyless'
|
13285
|
+
|
13286
|
+
api_instance = Akeyless::V2Api.new
|
13287
|
+
body = Akeyless::UpdateSalesforceTarget.new({client_id: 'client_id_example', client_secret: 'client_secret_example', email: 'email_example', name: 'name_example', password: 'password_example', security_token: 'security_token_example', tenant_url: 'tenant_url_example'}) # UpdateSalesforceTarget |
|
13288
|
+
|
13289
|
+
begin
|
13290
|
+
|
13291
|
+
result = api_instance.update_salesforce_target(body)
|
13292
|
+
p result
|
13293
|
+
rescue Akeyless::ApiError => e
|
13294
|
+
puts "Error when calling V2Api->update_salesforce_target: #{e}"
|
13295
|
+
end
|
13296
|
+
```
|
13297
|
+
|
13298
|
+
#### Using the update_salesforce_target_with_http_info variant
|
13299
|
+
|
13300
|
+
This returns an Array which contains the response data, status code and headers.
|
13301
|
+
|
13302
|
+
> <Array(<UpdateSalesforceTargetOutput>, Integer, Hash)> update_salesforce_target_with_http_info(body)
|
13303
|
+
|
13304
|
+
```ruby
|
13305
|
+
begin
|
13306
|
+
|
13307
|
+
data, status_code, headers = api_instance.update_salesforce_target_with_http_info(body)
|
13308
|
+
p status_code # => 2xx
|
13309
|
+
p headers # => { ... }
|
13310
|
+
p data # => <UpdateSalesforceTargetOutput>
|
13311
|
+
rescue Akeyless::ApiError => e
|
13312
|
+
puts "Error when calling V2Api->update_salesforce_target_with_http_info: #{e}"
|
13313
|
+
end
|
13314
|
+
```
|
13315
|
+
|
13316
|
+
### Parameters
|
13317
|
+
|
13318
|
+
| Name | Type | Description | Notes |
|
13319
|
+
| ---- | ---- | ----------- | ----- |
|
13320
|
+
| **body** | [**UpdateSalesforceTarget**](UpdateSalesforceTarget.md) | | |
|
13321
|
+
|
13322
|
+
### Return type
|
13323
|
+
|
13324
|
+
[**UpdateSalesforceTargetOutput**](UpdateSalesforceTargetOutput.md)
|
13325
|
+
|
13326
|
+
### Authorization
|
13327
|
+
|
13328
|
+
No authorization required
|
13329
|
+
|
13330
|
+
### HTTP request headers
|
13331
|
+
|
13332
|
+
- **Content-Type**: application/json
|
13333
|
+
- **Accept**: application/json
|
13334
|
+
|
13335
|
+
|
12895
13336
|
## update_secret_val
|
12896
13337
|
|
12897
13338
|
> <UpdateSecretValOutput> update_secret_val(body)
|