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/docs/V2Api.md
CHANGED
|
@@ -39,9 +39,11 @@ 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 | |
|
|
46
|
+
| [**create_tokenizer**](V2Api.md#create_tokenizer) | **POST** /create-tokenizer | |
|
|
45
47
|
| [**create_web_target**](V2Api.md#create_web_target) | **POST** /create-web-target | |
|
|
46
48
|
| [**createldap_target**](V2Api.md#createldap_target) | **POST** /create-ldap-target | |
|
|
47
49
|
| [**decrypt**](V2Api.md#decrypt) | **POST** /decrypt | |
|
|
@@ -60,10 +62,12 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
60
62
|
| [**delete_targets**](V2Api.md#delete_targets) | **POST** /delete-targets | |
|
|
61
63
|
| [**describe_item**](V2Api.md#describe_item) | **POST** /describe-item | |
|
|
62
64
|
| [**describe_permissions**](V2Api.md#describe_permissions) | **POST** /describe-permissions | |
|
|
65
|
+
| [**detokenize**](V2Api.md#detokenize) | **POST** /detokenize | |
|
|
63
66
|
| [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
|
|
64
67
|
| [**encrypt_pkcs1**](V2Api.md#encrypt_pkcs1) | **POST** /encrypt-pkcs1 | |
|
|
65
68
|
| [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
|
|
66
69
|
| [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
|
|
70
|
+
| [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
|
|
67
71
|
| [**gateway_create_producer_artifactory**](V2Api.md#gateway_create_producer_artifactory) | **POST** /gateway-create-producer-artifactory | |
|
|
68
72
|
| [**gateway_create_producer_aws**](V2Api.md#gateway_create_producer_aws) | **POST** /gateway-create-producer-aws | |
|
|
69
73
|
| [**gateway_create_producer_azure**](V2Api.md#gateway_create_producer_azure) | **POST** /gateway-create-producer-azure | |
|
|
@@ -89,9 +93,11 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
89
93
|
| [**gateway_create_producer_snowflake**](V2Api.md#gateway_create_producer_snowflake) | **POST** /gateway-create-producer-snowflake | |
|
|
90
94
|
| [**gateway_delete_allowed_management_access**](V2Api.md#gateway_delete_allowed_management_access) | **POST** /gateway-delete-allowed-management-access | |
|
|
91
95
|
| [**gateway_delete_k8_s_auth_config**](V2Api.md#gateway_delete_k8_s_auth_config) | **POST** /gateway-delete-k8s-auth-config | |
|
|
96
|
+
| [**gateway_delete_migration**](V2Api.md#gateway_delete_migration) | **POST** /gateway-delete-migration | |
|
|
92
97
|
| [**gateway_delete_producer**](V2Api.md#gateway_delete_producer) | **POST** /gateway-delete-producer | |
|
|
93
98
|
| [**gateway_get_config**](V2Api.md#gateway_get_config) | **POST** /gateway-get-config | |
|
|
94
99
|
| [**gateway_get_k8_s_auth_config**](V2Api.md#gateway_get_k8_s_auth_config) | **POST** /gateway-get-k8s-auth-config | |
|
|
100
|
+
| [**gateway_get_migration**](V2Api.md#gateway_get_migration) | **POST** /gateway-get-migration | |
|
|
95
101
|
| [**gateway_get_producer**](V2Api.md#gateway_get_producer) | **POST** /gateway-get-producer | |
|
|
96
102
|
| [**gateway_get_tmp_users**](V2Api.md#gateway_get_tmp_users) | **POST** /gateway-get-producer-tmp-creds | |
|
|
97
103
|
| [**gateway_list_allowed_management_access**](V2Api.md#gateway_list_allowed_management_access) | **POST** /gateway-list-allowed-management-access | |
|
|
@@ -103,6 +109,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
103
109
|
| [**gateway_sync_migration**](V2Api.md#gateway_sync_migration) | **POST** /gateway-sync-migration | |
|
|
104
110
|
| [**gateway_update_item**](V2Api.md#gateway_update_item) | **POST** /gateway-update-item | |
|
|
105
111
|
| [**gateway_update_k8_s_auth_config**](V2Api.md#gateway_update_k8_s_auth_config) | **POST** /gateway-update-k8s-auth-config | |
|
|
112
|
+
| [**gateway_update_migration**](V2Api.md#gateway_update_migration) | **POST** /gateway-update-migration | |
|
|
106
113
|
| [**gateway_update_producer_artifactory**](V2Api.md#gateway_update_producer_artifactory) | **POST** /gateway-update-producer-artifactory | |
|
|
107
114
|
| [**gateway_update_producer_aws**](V2Api.md#gateway_update_producer_aws) | **POST** /gateway-update-producer-aws | |
|
|
108
115
|
| [**gateway_update_producer_azure**](V2Api.md#gateway_update_producer_azure) | **POST** /gateway-update-producer-azure | |
|
|
@@ -114,6 +121,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
114
121
|
| [**gateway_update_producer_gcp**](V2Api.md#gateway_update_producer_gcp) | **POST** /gateway-update-producer-gcp | |
|
|
115
122
|
| [**gateway_update_producer_github**](V2Api.md#gateway_update_producer_github) | **POST** /gateway-update-producer-github | |
|
|
116
123
|
| [**gateway_update_producer_gke**](V2Api.md#gateway_update_producer_gke) | **POST** /gateway-update-producer-gke | |
|
|
124
|
+
| [**gateway_update_producer_hana_db**](V2Api.md#gateway_update_producer_hana_db) | **POST** /gateway-update-producer-hana | |
|
|
117
125
|
| [**gateway_update_producer_ldap**](V2Api.md#gateway_update_producer_ldap) | **POST** /gateway-update-producer-ldap | |
|
|
118
126
|
| [**gateway_update_producer_mongo**](V2Api.md#gateway_update_producer_mongo) | **POST** /gateway-update-producer-mongo | |
|
|
119
127
|
| [**gateway_update_producer_mssql**](V2Api.md#gateway_update_producer_mssql) | **POST** /gateway-update-producer-mssql | |
|
|
@@ -164,12 +172,14 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
164
172
|
| [**revoke_creds**](V2Api.md#revoke_creds) | **POST** /revoke-creds | |
|
|
165
173
|
| [**rollback_secret**](V2Api.md#rollback_secret) | **POST** /rollback-secret | |
|
|
166
174
|
| [**rotate_key**](V2Api.md#rotate_key) | **POST** /rotate-key | |
|
|
175
|
+
| [**rotate_secret**](V2Api.md#rotate_secret) | **POST** /gateway-rotate-secret | |
|
|
167
176
|
| [**set_item_state**](V2Api.md#set_item_state) | **POST** /set-item-state | |
|
|
168
177
|
| [**set_role_rule**](V2Api.md#set_role_rule) | **POST** /set-role-rule | |
|
|
169
178
|
| [**sign_jwt_with_classic_key**](V2Api.md#sign_jwt_with_classic_key) | **POST** /sign-jwt-with-classic-key | |
|
|
170
179
|
| [**sign_pkcs1**](V2Api.md#sign_pkcs1) | **POST** /sign-pkcs1 | |
|
|
171
180
|
| [**sign_pki_cert_with_classic_key**](V2Api.md#sign_pki_cert_with_classic_key) | **POST** /sign-pki-cert-with-classic-key | |
|
|
172
181
|
| [**static_creds_auth**](V2Api.md#static_creds_auth) | **POST** /static-creds-auth | |
|
|
182
|
+
| [**tokenize**](V2Api.md#tokenize) | **POST** /tokenize | |
|
|
173
183
|
| [**uid_create_child_token**](V2Api.md#uid_create_child_token) | **POST** /uid-create-child-token | |
|
|
174
184
|
| [**uid_generate_token**](V2Api.md#uid_generate_token) | **POST** /uid-generate-token | |
|
|
175
185
|
| [**uid_list_children**](V2Api.md#uid_list_children) | **POST** /uid-list-children | |
|
|
@@ -208,12 +218,14 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
208
218
|
| [**update_role**](V2Api.md#update_role) | **POST** /update-role | |
|
|
209
219
|
| [**update_rotated_secret**](V2Api.md#update_rotated_secret) | **POST** /update-rotated-secret | |
|
|
210
220
|
| [**update_rotation_settings**](V2Api.md#update_rotation_settings) | **POST** /update-rotation-settingsrotate-key | |
|
|
221
|
+
| [**update_salesforce_target**](V2Api.md#update_salesforce_target) | **POST** /update-salesforce-target | |
|
|
211
222
|
| [**update_secret_val**](V2Api.md#update_secret_val) | **POST** /update-secret-val | |
|
|
212
223
|
| [**update_ssh_cert_issuer**](V2Api.md#update_ssh_cert_issuer) | **POST** /update-ssh-cert-issuer | |
|
|
213
224
|
| [**update_ssh_target**](V2Api.md#update_ssh_target) | **POST** /update-ssh-target | |
|
|
214
225
|
| [**update_ssh_target_details**](V2Api.md#update_ssh_target_details) | **POST** /update-ssh-target-details | |
|
|
215
226
|
| [**update_target**](V2Api.md#update_target) | **POST** /update-target | |
|
|
216
227
|
| [**update_target_details**](V2Api.md#update_target_details) | **POST** /update-target-details | |
|
|
228
|
+
| [**update_tokenizer**](V2Api.md#update_tokenizer) | **POST** /update-tokenizer | |
|
|
217
229
|
| [**update_web_target**](V2Api.md#update_web_target) | **POST** /update-web-target | |
|
|
218
230
|
| [**update_web_target_details**](V2Api.md#update_web_target_details) | **POST** /update-web-target-details | |
|
|
219
231
|
| [**upload_rsa**](V2Api.md#upload_rsa) | **POST** /upload-rsa | |
|
|
@@ -2393,6 +2405,68 @@ No authorization required
|
|
|
2393
2405
|
- **Accept**: application/json
|
|
2394
2406
|
|
|
2395
2407
|
|
|
2408
|
+
## create_salesforce_target
|
|
2409
|
+
|
|
2410
|
+
> <CreateSalesforceTargetOutput> create_salesforce_target(body)
|
|
2411
|
+
|
|
2412
|
+
|
|
2413
|
+
|
|
2414
|
+
### Examples
|
|
2415
|
+
|
|
2416
|
+
```ruby
|
|
2417
|
+
require 'time'
|
|
2418
|
+
require 'akeyless'
|
|
2419
|
+
|
|
2420
|
+
api_instance = Akeyless::V2Api.new
|
|
2421
|
+
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 |
|
|
2422
|
+
|
|
2423
|
+
begin
|
|
2424
|
+
|
|
2425
|
+
result = api_instance.create_salesforce_target(body)
|
|
2426
|
+
p result
|
|
2427
|
+
rescue Akeyless::ApiError => e
|
|
2428
|
+
puts "Error when calling V2Api->create_salesforce_target: #{e}"
|
|
2429
|
+
end
|
|
2430
|
+
```
|
|
2431
|
+
|
|
2432
|
+
#### Using the create_salesforce_target_with_http_info variant
|
|
2433
|
+
|
|
2434
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2435
|
+
|
|
2436
|
+
> <Array(<CreateSalesforceTargetOutput>, Integer, Hash)> create_salesforce_target_with_http_info(body)
|
|
2437
|
+
|
|
2438
|
+
```ruby
|
|
2439
|
+
begin
|
|
2440
|
+
|
|
2441
|
+
data, status_code, headers = api_instance.create_salesforce_target_with_http_info(body)
|
|
2442
|
+
p status_code # => 2xx
|
|
2443
|
+
p headers # => { ... }
|
|
2444
|
+
p data # => <CreateSalesforceTargetOutput>
|
|
2445
|
+
rescue Akeyless::ApiError => e
|
|
2446
|
+
puts "Error when calling V2Api->create_salesforce_target_with_http_info: #{e}"
|
|
2447
|
+
end
|
|
2448
|
+
```
|
|
2449
|
+
|
|
2450
|
+
### Parameters
|
|
2451
|
+
|
|
2452
|
+
| Name | Type | Description | Notes |
|
|
2453
|
+
| ---- | ---- | ----------- | ----- |
|
|
2454
|
+
| **body** | [**CreateSalesforceTarget**](CreateSalesforceTarget.md) | | |
|
|
2455
|
+
|
|
2456
|
+
### Return type
|
|
2457
|
+
|
|
2458
|
+
[**CreateSalesforceTargetOutput**](CreateSalesforceTargetOutput.md)
|
|
2459
|
+
|
|
2460
|
+
### Authorization
|
|
2461
|
+
|
|
2462
|
+
No authorization required
|
|
2463
|
+
|
|
2464
|
+
### HTTP request headers
|
|
2465
|
+
|
|
2466
|
+
- **Content-Type**: application/json
|
|
2467
|
+
- **Accept**: application/json
|
|
2468
|
+
|
|
2469
|
+
|
|
2396
2470
|
## create_secret
|
|
2397
2471
|
|
|
2398
2472
|
> <CreateSecretOutput> create_secret(body)
|
|
@@ -2579,6 +2653,68 @@ No authorization required
|
|
|
2579
2653
|
- **Accept**: application/json
|
|
2580
2654
|
|
|
2581
2655
|
|
|
2656
|
+
## create_tokenizer
|
|
2657
|
+
|
|
2658
|
+
> <CreateTokenizerOutput> create_tokenizer(body)
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
### Examples
|
|
2663
|
+
|
|
2664
|
+
```ruby
|
|
2665
|
+
require 'time'
|
|
2666
|
+
require 'akeyless'
|
|
2667
|
+
|
|
2668
|
+
api_instance = Akeyless::V2Api.new
|
|
2669
|
+
body = Akeyless::CreateTokenizer.new({name: 'name_example', template_type: 'template_type_example', tokenizer_type: 'tokenizer_type_example'}) # CreateTokenizer |
|
|
2670
|
+
|
|
2671
|
+
begin
|
|
2672
|
+
|
|
2673
|
+
result = api_instance.create_tokenizer(body)
|
|
2674
|
+
p result
|
|
2675
|
+
rescue Akeyless::ApiError => e
|
|
2676
|
+
puts "Error when calling V2Api->create_tokenizer: #{e}"
|
|
2677
|
+
end
|
|
2678
|
+
```
|
|
2679
|
+
|
|
2680
|
+
#### Using the create_tokenizer_with_http_info variant
|
|
2681
|
+
|
|
2682
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2683
|
+
|
|
2684
|
+
> <Array(<CreateTokenizerOutput>, Integer, Hash)> create_tokenizer_with_http_info(body)
|
|
2685
|
+
|
|
2686
|
+
```ruby
|
|
2687
|
+
begin
|
|
2688
|
+
|
|
2689
|
+
data, status_code, headers = api_instance.create_tokenizer_with_http_info(body)
|
|
2690
|
+
p status_code # => 2xx
|
|
2691
|
+
p headers # => { ... }
|
|
2692
|
+
p data # => <CreateTokenizerOutput>
|
|
2693
|
+
rescue Akeyless::ApiError => e
|
|
2694
|
+
puts "Error when calling V2Api->create_tokenizer_with_http_info: #{e}"
|
|
2695
|
+
end
|
|
2696
|
+
```
|
|
2697
|
+
|
|
2698
|
+
### Parameters
|
|
2699
|
+
|
|
2700
|
+
| Name | Type | Description | Notes |
|
|
2701
|
+
| ---- | ---- | ----------- | ----- |
|
|
2702
|
+
| **body** | [**CreateTokenizer**](CreateTokenizer.md) | | |
|
|
2703
|
+
|
|
2704
|
+
### Return type
|
|
2705
|
+
|
|
2706
|
+
[**CreateTokenizerOutput**](CreateTokenizerOutput.md)
|
|
2707
|
+
|
|
2708
|
+
### Authorization
|
|
2709
|
+
|
|
2710
|
+
No authorization required
|
|
2711
|
+
|
|
2712
|
+
### HTTP request headers
|
|
2713
|
+
|
|
2714
|
+
- **Content-Type**: application/json
|
|
2715
|
+
- **Accept**: application/json
|
|
2716
|
+
|
|
2717
|
+
|
|
2582
2718
|
## create_web_target
|
|
2583
2719
|
|
|
2584
2720
|
> <CreateWebTargetOutput> create_web_target(body)
|
|
@@ -3695,6 +3831,68 @@ No authorization required
|
|
|
3695
3831
|
- **Accept**: application/json
|
|
3696
3832
|
|
|
3697
3833
|
|
|
3834
|
+
## detokenize
|
|
3835
|
+
|
|
3836
|
+
> <DetokenizeOutput> detokenize(body)
|
|
3837
|
+
|
|
3838
|
+
|
|
3839
|
+
|
|
3840
|
+
### Examples
|
|
3841
|
+
|
|
3842
|
+
```ruby
|
|
3843
|
+
require 'time'
|
|
3844
|
+
require 'akeyless'
|
|
3845
|
+
|
|
3846
|
+
api_instance = Akeyless::V2Api.new
|
|
3847
|
+
body = Akeyless::Detokenize.new({ciphertext: 'ciphertext_example', tokenizer_name: 'tokenizer_name_example'}) # Detokenize |
|
|
3848
|
+
|
|
3849
|
+
begin
|
|
3850
|
+
|
|
3851
|
+
result = api_instance.detokenize(body)
|
|
3852
|
+
p result
|
|
3853
|
+
rescue Akeyless::ApiError => e
|
|
3854
|
+
puts "Error when calling V2Api->detokenize: #{e}"
|
|
3855
|
+
end
|
|
3856
|
+
```
|
|
3857
|
+
|
|
3858
|
+
#### Using the detokenize_with_http_info variant
|
|
3859
|
+
|
|
3860
|
+
This returns an Array which contains the response data, status code and headers.
|
|
3861
|
+
|
|
3862
|
+
> <Array(<DetokenizeOutput>, Integer, Hash)> detokenize_with_http_info(body)
|
|
3863
|
+
|
|
3864
|
+
```ruby
|
|
3865
|
+
begin
|
|
3866
|
+
|
|
3867
|
+
data, status_code, headers = api_instance.detokenize_with_http_info(body)
|
|
3868
|
+
p status_code # => 2xx
|
|
3869
|
+
p headers # => { ... }
|
|
3870
|
+
p data # => <DetokenizeOutput>
|
|
3871
|
+
rescue Akeyless::ApiError => e
|
|
3872
|
+
puts "Error when calling V2Api->detokenize_with_http_info: #{e}"
|
|
3873
|
+
end
|
|
3874
|
+
```
|
|
3875
|
+
|
|
3876
|
+
### Parameters
|
|
3877
|
+
|
|
3878
|
+
| Name | Type | Description | Notes |
|
|
3879
|
+
| ---- | ---- | ----------- | ----- |
|
|
3880
|
+
| **body** | [**Detokenize**](Detokenize.md) | | |
|
|
3881
|
+
|
|
3882
|
+
### Return type
|
|
3883
|
+
|
|
3884
|
+
[**DetokenizeOutput**](DetokenizeOutput.md)
|
|
3885
|
+
|
|
3886
|
+
### Authorization
|
|
3887
|
+
|
|
3888
|
+
No authorization required
|
|
3889
|
+
|
|
3890
|
+
### HTTP request headers
|
|
3891
|
+
|
|
3892
|
+
- **Content-Type**: application/json
|
|
3893
|
+
- **Accept**: application/json
|
|
3894
|
+
|
|
3895
|
+
|
|
3698
3896
|
## encrypt
|
|
3699
3897
|
|
|
3700
3898
|
> <EncryptOutput> encrypt(body)
|
|
@@ -3943,6 +4141,68 @@ No authorization required
|
|
|
3943
4141
|
- **Accept**: application/json
|
|
3944
4142
|
|
|
3945
4143
|
|
|
4144
|
+
## gateway_create_migration
|
|
4145
|
+
|
|
4146
|
+
> <GatewayMigrationCreateOutput> gateway_create_migration(body)
|
|
4147
|
+
|
|
4148
|
+
|
|
4149
|
+
|
|
4150
|
+
### Examples
|
|
4151
|
+
|
|
4152
|
+
```ruby
|
|
4153
|
+
require 'time'
|
|
4154
|
+
require 'akeyless'
|
|
4155
|
+
|
|
4156
|
+
api_instance = Akeyless::V2Api.new
|
|
4157
|
+
body = Akeyless::GatewayCreateMigration.new({name: 'name_example'}) # GatewayCreateMigration |
|
|
4158
|
+
|
|
4159
|
+
begin
|
|
4160
|
+
|
|
4161
|
+
result = api_instance.gateway_create_migration(body)
|
|
4162
|
+
p result
|
|
4163
|
+
rescue Akeyless::ApiError => e
|
|
4164
|
+
puts "Error when calling V2Api->gateway_create_migration: #{e}"
|
|
4165
|
+
end
|
|
4166
|
+
```
|
|
4167
|
+
|
|
4168
|
+
#### Using the gateway_create_migration_with_http_info variant
|
|
4169
|
+
|
|
4170
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4171
|
+
|
|
4172
|
+
> <Array(<GatewayMigrationCreateOutput>, Integer, Hash)> gateway_create_migration_with_http_info(body)
|
|
4173
|
+
|
|
4174
|
+
```ruby
|
|
4175
|
+
begin
|
|
4176
|
+
|
|
4177
|
+
data, status_code, headers = api_instance.gateway_create_migration_with_http_info(body)
|
|
4178
|
+
p status_code # => 2xx
|
|
4179
|
+
p headers # => { ... }
|
|
4180
|
+
p data # => <GatewayMigrationCreateOutput>
|
|
4181
|
+
rescue Akeyless::ApiError => e
|
|
4182
|
+
puts "Error when calling V2Api->gateway_create_migration_with_http_info: #{e}"
|
|
4183
|
+
end
|
|
4184
|
+
```
|
|
4185
|
+
|
|
4186
|
+
### Parameters
|
|
4187
|
+
|
|
4188
|
+
| Name | Type | Description | Notes |
|
|
4189
|
+
| ---- | ---- | ----------- | ----- |
|
|
4190
|
+
| **body** | [**GatewayCreateMigration**](GatewayCreateMigration.md) | | |
|
|
4191
|
+
|
|
4192
|
+
### Return type
|
|
4193
|
+
|
|
4194
|
+
[**GatewayMigrationCreateOutput**](GatewayMigrationCreateOutput.md)
|
|
4195
|
+
|
|
4196
|
+
### Authorization
|
|
4197
|
+
|
|
4198
|
+
No authorization required
|
|
4199
|
+
|
|
4200
|
+
### HTTP request headers
|
|
4201
|
+
|
|
4202
|
+
- **Content-Type**: application/json
|
|
4203
|
+
- **Accept**: application/json
|
|
4204
|
+
|
|
4205
|
+
|
|
3946
4206
|
## gateway_create_producer_artifactory
|
|
3947
4207
|
|
|
3948
4208
|
> <GatewayCreateProducerArtifactoryOutput> gateway_create_producer_artifactory(body)
|
|
@@ -5495,6 +5755,68 @@ No authorization required
|
|
|
5495
5755
|
- **Accept**: application/json
|
|
5496
5756
|
|
|
5497
5757
|
|
|
5758
|
+
## gateway_delete_migration
|
|
5759
|
+
|
|
5760
|
+
> <GatewayMigrationDeleteOutput> gateway_delete_migration(body)
|
|
5761
|
+
|
|
5762
|
+
|
|
5763
|
+
|
|
5764
|
+
### Examples
|
|
5765
|
+
|
|
5766
|
+
```ruby
|
|
5767
|
+
require 'time'
|
|
5768
|
+
require 'akeyless'
|
|
5769
|
+
|
|
5770
|
+
api_instance = Akeyless::V2Api.new
|
|
5771
|
+
body = Akeyless::GatewayDeleteMigration.new({id: 'id_example'}) # GatewayDeleteMigration |
|
|
5772
|
+
|
|
5773
|
+
begin
|
|
5774
|
+
|
|
5775
|
+
result = api_instance.gateway_delete_migration(body)
|
|
5776
|
+
p result
|
|
5777
|
+
rescue Akeyless::ApiError => e
|
|
5778
|
+
puts "Error when calling V2Api->gateway_delete_migration: #{e}"
|
|
5779
|
+
end
|
|
5780
|
+
```
|
|
5781
|
+
|
|
5782
|
+
#### Using the gateway_delete_migration_with_http_info variant
|
|
5783
|
+
|
|
5784
|
+
This returns an Array which contains the response data, status code and headers.
|
|
5785
|
+
|
|
5786
|
+
> <Array(<GatewayMigrationDeleteOutput>, Integer, Hash)> gateway_delete_migration_with_http_info(body)
|
|
5787
|
+
|
|
5788
|
+
```ruby
|
|
5789
|
+
begin
|
|
5790
|
+
|
|
5791
|
+
data, status_code, headers = api_instance.gateway_delete_migration_with_http_info(body)
|
|
5792
|
+
p status_code # => 2xx
|
|
5793
|
+
p headers # => { ... }
|
|
5794
|
+
p data # => <GatewayMigrationDeleteOutput>
|
|
5795
|
+
rescue Akeyless::ApiError => e
|
|
5796
|
+
puts "Error when calling V2Api->gateway_delete_migration_with_http_info: #{e}"
|
|
5797
|
+
end
|
|
5798
|
+
```
|
|
5799
|
+
|
|
5800
|
+
### Parameters
|
|
5801
|
+
|
|
5802
|
+
| Name | Type | Description | Notes |
|
|
5803
|
+
| ---- | ---- | ----------- | ----- |
|
|
5804
|
+
| **body** | [**GatewayDeleteMigration**](GatewayDeleteMigration.md) | | |
|
|
5805
|
+
|
|
5806
|
+
### Return type
|
|
5807
|
+
|
|
5808
|
+
[**GatewayMigrationDeleteOutput**](GatewayMigrationDeleteOutput.md)
|
|
5809
|
+
|
|
5810
|
+
### Authorization
|
|
5811
|
+
|
|
5812
|
+
No authorization required
|
|
5813
|
+
|
|
5814
|
+
### HTTP request headers
|
|
5815
|
+
|
|
5816
|
+
- **Content-Type**: application/json
|
|
5817
|
+
- **Accept**: application/json
|
|
5818
|
+
|
|
5819
|
+
|
|
5498
5820
|
## gateway_delete_producer
|
|
5499
5821
|
|
|
5500
5822
|
> <GatewayDeleteProducerOutput> gateway_delete_producer(body)
|
|
@@ -5681,6 +6003,68 @@ No authorization required
|
|
|
5681
6003
|
- **Accept**: application/json
|
|
5682
6004
|
|
|
5683
6005
|
|
|
6006
|
+
## gateway_get_migration
|
|
6007
|
+
|
|
6008
|
+
> <GatewayMigrationGetOutput> gateway_get_migration(body)
|
|
6009
|
+
|
|
6010
|
+
|
|
6011
|
+
|
|
6012
|
+
### Examples
|
|
6013
|
+
|
|
6014
|
+
```ruby
|
|
6015
|
+
require 'time'
|
|
6016
|
+
require 'akeyless'
|
|
6017
|
+
|
|
6018
|
+
api_instance = Akeyless::V2Api.new
|
|
6019
|
+
body = Akeyless::GatewayGetMigration.new # GatewayGetMigration |
|
|
6020
|
+
|
|
6021
|
+
begin
|
|
6022
|
+
|
|
6023
|
+
result = api_instance.gateway_get_migration(body)
|
|
6024
|
+
p result
|
|
6025
|
+
rescue Akeyless::ApiError => e
|
|
6026
|
+
puts "Error when calling V2Api->gateway_get_migration: #{e}"
|
|
6027
|
+
end
|
|
6028
|
+
```
|
|
6029
|
+
|
|
6030
|
+
#### Using the gateway_get_migration_with_http_info variant
|
|
6031
|
+
|
|
6032
|
+
This returns an Array which contains the response data, status code and headers.
|
|
6033
|
+
|
|
6034
|
+
> <Array(<GatewayMigrationGetOutput>, Integer, Hash)> gateway_get_migration_with_http_info(body)
|
|
6035
|
+
|
|
6036
|
+
```ruby
|
|
6037
|
+
begin
|
|
6038
|
+
|
|
6039
|
+
data, status_code, headers = api_instance.gateway_get_migration_with_http_info(body)
|
|
6040
|
+
p status_code # => 2xx
|
|
6041
|
+
p headers # => { ... }
|
|
6042
|
+
p data # => <GatewayMigrationGetOutput>
|
|
6043
|
+
rescue Akeyless::ApiError => e
|
|
6044
|
+
puts "Error when calling V2Api->gateway_get_migration_with_http_info: #{e}"
|
|
6045
|
+
end
|
|
6046
|
+
```
|
|
6047
|
+
|
|
6048
|
+
### Parameters
|
|
6049
|
+
|
|
6050
|
+
| Name | Type | Description | Notes |
|
|
6051
|
+
| ---- | ---- | ----------- | ----- |
|
|
6052
|
+
| **body** | [**GatewayGetMigration**](GatewayGetMigration.md) | | |
|
|
6053
|
+
|
|
6054
|
+
### Return type
|
|
6055
|
+
|
|
6056
|
+
[**GatewayMigrationGetOutput**](GatewayMigrationGetOutput.md)
|
|
6057
|
+
|
|
6058
|
+
### Authorization
|
|
6059
|
+
|
|
6060
|
+
No authorization required
|
|
6061
|
+
|
|
6062
|
+
### HTTP request headers
|
|
6063
|
+
|
|
6064
|
+
- **Content-Type**: application/json
|
|
6065
|
+
- **Accept**: application/json
|
|
6066
|
+
|
|
6067
|
+
|
|
5684
6068
|
## gateway_get_producer
|
|
5685
6069
|
|
|
5686
6070
|
> <DSProducerDetails> gateway_get_producer(body)
|
|
@@ -6328,17 +6712,79 @@ end
|
|
|
6328
6712
|
|
|
6329
6713
|
This returns an Array which contains the response data, status code and headers.
|
|
6330
6714
|
|
|
6331
|
-
> <Array(<GatewayUpdateK8SAuthConfigOutput>, Integer, Hash)> gateway_update_k8_s_auth_config_with_http_info(body)
|
|
6715
|
+
> <Array(<GatewayUpdateK8SAuthConfigOutput>, Integer, Hash)> gateway_update_k8_s_auth_config_with_http_info(body)
|
|
6716
|
+
|
|
6717
|
+
```ruby
|
|
6718
|
+
begin
|
|
6719
|
+
|
|
6720
|
+
data, status_code, headers = api_instance.gateway_update_k8_s_auth_config_with_http_info(body)
|
|
6721
|
+
p status_code # => 2xx
|
|
6722
|
+
p headers # => { ... }
|
|
6723
|
+
p data # => <GatewayUpdateK8SAuthConfigOutput>
|
|
6724
|
+
rescue Akeyless::ApiError => e
|
|
6725
|
+
puts "Error when calling V2Api->gateway_update_k8_s_auth_config_with_http_info: #{e}"
|
|
6726
|
+
end
|
|
6727
|
+
```
|
|
6728
|
+
|
|
6729
|
+
### Parameters
|
|
6730
|
+
|
|
6731
|
+
| Name | Type | Description | Notes |
|
|
6732
|
+
| ---- | ---- | ----------- | ----- |
|
|
6733
|
+
| **body** | [**GatewayUpdateK8SAuthConfig**](GatewayUpdateK8SAuthConfig.md) | | |
|
|
6734
|
+
|
|
6735
|
+
### Return type
|
|
6736
|
+
|
|
6737
|
+
[**GatewayUpdateK8SAuthConfigOutput**](GatewayUpdateK8SAuthConfigOutput.md)
|
|
6738
|
+
|
|
6739
|
+
### Authorization
|
|
6740
|
+
|
|
6741
|
+
No authorization required
|
|
6742
|
+
|
|
6743
|
+
### HTTP request headers
|
|
6744
|
+
|
|
6745
|
+
- **Content-Type**: application/json
|
|
6746
|
+
- **Accept**: application/json
|
|
6747
|
+
|
|
6748
|
+
|
|
6749
|
+
## gateway_update_migration
|
|
6750
|
+
|
|
6751
|
+
> <GatewayMigrationUpdateOutput> gateway_update_migration(body)
|
|
6752
|
+
|
|
6753
|
+
|
|
6754
|
+
|
|
6755
|
+
### Examples
|
|
6756
|
+
|
|
6757
|
+
```ruby
|
|
6758
|
+
require 'time'
|
|
6759
|
+
require 'akeyless'
|
|
6760
|
+
|
|
6761
|
+
api_instance = Akeyless::V2Api.new
|
|
6762
|
+
body = Akeyless::GatewayUpdateMigration.new({name: 'name_example'}) # GatewayUpdateMigration |
|
|
6763
|
+
|
|
6764
|
+
begin
|
|
6765
|
+
|
|
6766
|
+
result = api_instance.gateway_update_migration(body)
|
|
6767
|
+
p result
|
|
6768
|
+
rescue Akeyless::ApiError => e
|
|
6769
|
+
puts "Error when calling V2Api->gateway_update_migration: #{e}"
|
|
6770
|
+
end
|
|
6771
|
+
```
|
|
6772
|
+
|
|
6773
|
+
#### Using the gateway_update_migration_with_http_info variant
|
|
6774
|
+
|
|
6775
|
+
This returns an Array which contains the response data, status code and headers.
|
|
6776
|
+
|
|
6777
|
+
> <Array(<GatewayMigrationUpdateOutput>, Integer, Hash)> gateway_update_migration_with_http_info(body)
|
|
6332
6778
|
|
|
6333
6779
|
```ruby
|
|
6334
6780
|
begin
|
|
6335
6781
|
|
|
6336
|
-
data, status_code, headers = api_instance.
|
|
6782
|
+
data, status_code, headers = api_instance.gateway_update_migration_with_http_info(body)
|
|
6337
6783
|
p status_code # => 2xx
|
|
6338
6784
|
p headers # => { ... }
|
|
6339
|
-
p data # => <
|
|
6785
|
+
p data # => <GatewayMigrationUpdateOutput>
|
|
6340
6786
|
rescue Akeyless::ApiError => e
|
|
6341
|
-
puts "Error when calling V2Api->
|
|
6787
|
+
puts "Error when calling V2Api->gateway_update_migration_with_http_info: #{e}"
|
|
6342
6788
|
end
|
|
6343
6789
|
```
|
|
6344
6790
|
|
|
@@ -6346,11 +6792,11 @@ end
|
|
|
6346
6792
|
|
|
6347
6793
|
| Name | Type | Description | Notes |
|
|
6348
6794
|
| ---- | ---- | ----------- | ----- |
|
|
6349
|
-
| **body** | [**
|
|
6795
|
+
| **body** | [**GatewayUpdateMigration**](GatewayUpdateMigration.md) | | |
|
|
6350
6796
|
|
|
6351
6797
|
### Return type
|
|
6352
6798
|
|
|
6353
|
-
[**
|
|
6799
|
+
[**GatewayMigrationUpdateOutput**](GatewayMigrationUpdateOutput.md)
|
|
6354
6800
|
|
|
6355
6801
|
### Authorization
|
|
6356
6802
|
|
|
@@ -7046,6 +7492,68 @@ No authorization required
|
|
|
7046
7492
|
- **Accept**: application/json
|
|
7047
7493
|
|
|
7048
7494
|
|
|
7495
|
+
## gateway_update_producer_hana_db
|
|
7496
|
+
|
|
7497
|
+
> <GatewayUpdateProducerHanaDbOutput> gateway_update_producer_hana_db(body)
|
|
7498
|
+
|
|
7499
|
+
|
|
7500
|
+
|
|
7501
|
+
### Examples
|
|
7502
|
+
|
|
7503
|
+
```ruby
|
|
7504
|
+
require 'time'
|
|
7505
|
+
require 'akeyless'
|
|
7506
|
+
|
|
7507
|
+
api_instance = Akeyless::V2Api.new
|
|
7508
|
+
body = Akeyless::GatewayUpdateProducerHanaDb.new({name: 'name_example'}) # GatewayUpdateProducerHanaDb |
|
|
7509
|
+
|
|
7510
|
+
begin
|
|
7511
|
+
|
|
7512
|
+
result = api_instance.gateway_update_producer_hana_db(body)
|
|
7513
|
+
p result
|
|
7514
|
+
rescue Akeyless::ApiError => e
|
|
7515
|
+
puts "Error when calling V2Api->gateway_update_producer_hana_db: #{e}"
|
|
7516
|
+
end
|
|
7517
|
+
```
|
|
7518
|
+
|
|
7519
|
+
#### Using the gateway_update_producer_hana_db_with_http_info variant
|
|
7520
|
+
|
|
7521
|
+
This returns an Array which contains the response data, status code and headers.
|
|
7522
|
+
|
|
7523
|
+
> <Array(<GatewayUpdateProducerHanaDbOutput>, Integer, Hash)> gateway_update_producer_hana_db_with_http_info(body)
|
|
7524
|
+
|
|
7525
|
+
```ruby
|
|
7526
|
+
begin
|
|
7527
|
+
|
|
7528
|
+
data, status_code, headers = api_instance.gateway_update_producer_hana_db_with_http_info(body)
|
|
7529
|
+
p status_code # => 2xx
|
|
7530
|
+
p headers # => { ... }
|
|
7531
|
+
p data # => <GatewayUpdateProducerHanaDbOutput>
|
|
7532
|
+
rescue Akeyless::ApiError => e
|
|
7533
|
+
puts "Error when calling V2Api->gateway_update_producer_hana_db_with_http_info: #{e}"
|
|
7534
|
+
end
|
|
7535
|
+
```
|
|
7536
|
+
|
|
7537
|
+
### Parameters
|
|
7538
|
+
|
|
7539
|
+
| Name | Type | Description | Notes |
|
|
7540
|
+
| ---- | ---- | ----------- | ----- |
|
|
7541
|
+
| **body** | [**GatewayUpdateProducerHanaDb**](GatewayUpdateProducerHanaDb.md) | | |
|
|
7542
|
+
|
|
7543
|
+
### Return type
|
|
7544
|
+
|
|
7545
|
+
[**GatewayUpdateProducerHanaDbOutput**](GatewayUpdateProducerHanaDbOutput.md)
|
|
7546
|
+
|
|
7547
|
+
### Authorization
|
|
7548
|
+
|
|
7549
|
+
No authorization required
|
|
7550
|
+
|
|
7551
|
+
### HTTP request headers
|
|
7552
|
+
|
|
7553
|
+
- **Content-Type**: application/json
|
|
7554
|
+
- **Accept**: application/json
|
|
7555
|
+
|
|
7556
|
+
|
|
7049
7557
|
## gateway_update_producer_ldap
|
|
7050
7558
|
|
|
7051
7559
|
> <GatewayUpdateProducerLdapOutput> gateway_update_producer_ldap(body)
|
|
@@ -10167,6 +10675,68 @@ No authorization required
|
|
|
10167
10675
|
- **Accept**: application/json
|
|
10168
10676
|
|
|
10169
10677
|
|
|
10678
|
+
## rotate_secret
|
|
10679
|
+
|
|
10680
|
+
> <RotatedSecretOutput> rotate_secret(body)
|
|
10681
|
+
|
|
10682
|
+
|
|
10683
|
+
|
|
10684
|
+
### Examples
|
|
10685
|
+
|
|
10686
|
+
```ruby
|
|
10687
|
+
require 'time'
|
|
10688
|
+
require 'akeyless'
|
|
10689
|
+
|
|
10690
|
+
api_instance = Akeyless::V2Api.new
|
|
10691
|
+
body = Akeyless::RotateSecret.new({name: 'name_example'}) # RotateSecret |
|
|
10692
|
+
|
|
10693
|
+
begin
|
|
10694
|
+
|
|
10695
|
+
result = api_instance.rotate_secret(body)
|
|
10696
|
+
p result
|
|
10697
|
+
rescue Akeyless::ApiError => e
|
|
10698
|
+
puts "Error when calling V2Api->rotate_secret: #{e}"
|
|
10699
|
+
end
|
|
10700
|
+
```
|
|
10701
|
+
|
|
10702
|
+
#### Using the rotate_secret_with_http_info variant
|
|
10703
|
+
|
|
10704
|
+
This returns an Array which contains the response data, status code and headers.
|
|
10705
|
+
|
|
10706
|
+
> <Array(<RotatedSecretOutput>, Integer, Hash)> rotate_secret_with_http_info(body)
|
|
10707
|
+
|
|
10708
|
+
```ruby
|
|
10709
|
+
begin
|
|
10710
|
+
|
|
10711
|
+
data, status_code, headers = api_instance.rotate_secret_with_http_info(body)
|
|
10712
|
+
p status_code # => 2xx
|
|
10713
|
+
p headers # => { ... }
|
|
10714
|
+
p data # => <RotatedSecretOutput>
|
|
10715
|
+
rescue Akeyless::ApiError => e
|
|
10716
|
+
puts "Error when calling V2Api->rotate_secret_with_http_info: #{e}"
|
|
10717
|
+
end
|
|
10718
|
+
```
|
|
10719
|
+
|
|
10720
|
+
### Parameters
|
|
10721
|
+
|
|
10722
|
+
| Name | Type | Description | Notes |
|
|
10723
|
+
| ---- | ---- | ----------- | ----- |
|
|
10724
|
+
| **body** | [**RotateSecret**](RotateSecret.md) | | |
|
|
10725
|
+
|
|
10726
|
+
### Return type
|
|
10727
|
+
|
|
10728
|
+
[**RotatedSecretOutput**](RotatedSecretOutput.md)
|
|
10729
|
+
|
|
10730
|
+
### Authorization
|
|
10731
|
+
|
|
10732
|
+
No authorization required
|
|
10733
|
+
|
|
10734
|
+
### HTTP request headers
|
|
10735
|
+
|
|
10736
|
+
- **Content-Type**: application/json
|
|
10737
|
+
- **Accept**: application/json
|
|
10738
|
+
|
|
10739
|
+
|
|
10170
10740
|
## set_item_state
|
|
10171
10741
|
|
|
10172
10742
|
> Object set_item_state(body)
|
|
@@ -10539,6 +11109,68 @@ No authorization required
|
|
|
10539
11109
|
- **Accept**: application/json
|
|
10540
11110
|
|
|
10541
11111
|
|
|
11112
|
+
## tokenize
|
|
11113
|
+
|
|
11114
|
+
> <TokenizeOutput> tokenize(body)
|
|
11115
|
+
|
|
11116
|
+
|
|
11117
|
+
|
|
11118
|
+
### Examples
|
|
11119
|
+
|
|
11120
|
+
```ruby
|
|
11121
|
+
require 'time'
|
|
11122
|
+
require 'akeyless'
|
|
11123
|
+
|
|
11124
|
+
api_instance = Akeyless::V2Api.new
|
|
11125
|
+
body = Akeyless::Tokenize.new({plaintext: 'plaintext_example', tokenizer_name: 'tokenizer_name_example'}) # Tokenize |
|
|
11126
|
+
|
|
11127
|
+
begin
|
|
11128
|
+
|
|
11129
|
+
result = api_instance.tokenize(body)
|
|
11130
|
+
p result
|
|
11131
|
+
rescue Akeyless::ApiError => e
|
|
11132
|
+
puts "Error when calling V2Api->tokenize: #{e}"
|
|
11133
|
+
end
|
|
11134
|
+
```
|
|
11135
|
+
|
|
11136
|
+
#### Using the tokenize_with_http_info variant
|
|
11137
|
+
|
|
11138
|
+
This returns an Array which contains the response data, status code and headers.
|
|
11139
|
+
|
|
11140
|
+
> <Array(<TokenizeOutput>, Integer, Hash)> tokenize_with_http_info(body)
|
|
11141
|
+
|
|
11142
|
+
```ruby
|
|
11143
|
+
begin
|
|
11144
|
+
|
|
11145
|
+
data, status_code, headers = api_instance.tokenize_with_http_info(body)
|
|
11146
|
+
p status_code # => 2xx
|
|
11147
|
+
p headers # => { ... }
|
|
11148
|
+
p data # => <TokenizeOutput>
|
|
11149
|
+
rescue Akeyless::ApiError => e
|
|
11150
|
+
puts "Error when calling V2Api->tokenize_with_http_info: #{e}"
|
|
11151
|
+
end
|
|
11152
|
+
```
|
|
11153
|
+
|
|
11154
|
+
### Parameters
|
|
11155
|
+
|
|
11156
|
+
| Name | Type | Description | Notes |
|
|
11157
|
+
| ---- | ---- | ----------- | ----- |
|
|
11158
|
+
| **body** | [**Tokenize**](Tokenize.md) | | |
|
|
11159
|
+
|
|
11160
|
+
### Return type
|
|
11161
|
+
|
|
11162
|
+
[**TokenizeOutput**](TokenizeOutput.md)
|
|
11163
|
+
|
|
11164
|
+
### Authorization
|
|
11165
|
+
|
|
11166
|
+
No authorization required
|
|
11167
|
+
|
|
11168
|
+
### HTTP request headers
|
|
11169
|
+
|
|
11170
|
+
- **Content-Type**: application/json
|
|
11171
|
+
- **Accept**: application/json
|
|
11172
|
+
|
|
11173
|
+
|
|
10542
11174
|
## uid_create_child_token
|
|
10543
11175
|
|
|
10544
11176
|
> <UidCreateChildTokenOutput> uid_create_child_token(body)
|
|
@@ -12892,6 +13524,68 @@ No authorization required
|
|
|
12892
13524
|
- **Accept**: application/json
|
|
12893
13525
|
|
|
12894
13526
|
|
|
13527
|
+
## update_salesforce_target
|
|
13528
|
+
|
|
13529
|
+
> <UpdateSalesforceTargetOutput> update_salesforce_target(body)
|
|
13530
|
+
|
|
13531
|
+
|
|
13532
|
+
|
|
13533
|
+
### Examples
|
|
13534
|
+
|
|
13535
|
+
```ruby
|
|
13536
|
+
require 'time'
|
|
13537
|
+
require 'akeyless'
|
|
13538
|
+
|
|
13539
|
+
api_instance = Akeyless::V2Api.new
|
|
13540
|
+
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 |
|
|
13541
|
+
|
|
13542
|
+
begin
|
|
13543
|
+
|
|
13544
|
+
result = api_instance.update_salesforce_target(body)
|
|
13545
|
+
p result
|
|
13546
|
+
rescue Akeyless::ApiError => e
|
|
13547
|
+
puts "Error when calling V2Api->update_salesforce_target: #{e}"
|
|
13548
|
+
end
|
|
13549
|
+
```
|
|
13550
|
+
|
|
13551
|
+
#### Using the update_salesforce_target_with_http_info variant
|
|
13552
|
+
|
|
13553
|
+
This returns an Array which contains the response data, status code and headers.
|
|
13554
|
+
|
|
13555
|
+
> <Array(<UpdateSalesforceTargetOutput>, Integer, Hash)> update_salesforce_target_with_http_info(body)
|
|
13556
|
+
|
|
13557
|
+
```ruby
|
|
13558
|
+
begin
|
|
13559
|
+
|
|
13560
|
+
data, status_code, headers = api_instance.update_salesforce_target_with_http_info(body)
|
|
13561
|
+
p status_code # => 2xx
|
|
13562
|
+
p headers # => { ... }
|
|
13563
|
+
p data # => <UpdateSalesforceTargetOutput>
|
|
13564
|
+
rescue Akeyless::ApiError => e
|
|
13565
|
+
puts "Error when calling V2Api->update_salesforce_target_with_http_info: #{e}"
|
|
13566
|
+
end
|
|
13567
|
+
```
|
|
13568
|
+
|
|
13569
|
+
### Parameters
|
|
13570
|
+
|
|
13571
|
+
| Name | Type | Description | Notes |
|
|
13572
|
+
| ---- | ---- | ----------- | ----- |
|
|
13573
|
+
| **body** | [**UpdateSalesforceTarget**](UpdateSalesforceTarget.md) | | |
|
|
13574
|
+
|
|
13575
|
+
### Return type
|
|
13576
|
+
|
|
13577
|
+
[**UpdateSalesforceTargetOutput**](UpdateSalesforceTargetOutput.md)
|
|
13578
|
+
|
|
13579
|
+
### Authorization
|
|
13580
|
+
|
|
13581
|
+
No authorization required
|
|
13582
|
+
|
|
13583
|
+
### HTTP request headers
|
|
13584
|
+
|
|
13585
|
+
- **Content-Type**: application/json
|
|
13586
|
+
- **Accept**: application/json
|
|
13587
|
+
|
|
13588
|
+
|
|
12895
13589
|
## update_secret_val
|
|
12896
13590
|
|
|
12897
13591
|
> <UpdateSecretValOutput> update_secret_val(body)
|
|
@@ -13264,6 +13958,68 @@ No authorization required
|
|
|
13264
13958
|
- **Accept**: application/json
|
|
13265
13959
|
|
|
13266
13960
|
|
|
13961
|
+
## update_tokenizer
|
|
13962
|
+
|
|
13963
|
+
> <UpdateTokenizerOutput> update_tokenizer(body)
|
|
13964
|
+
|
|
13965
|
+
|
|
13966
|
+
|
|
13967
|
+
### Examples
|
|
13968
|
+
|
|
13969
|
+
```ruby
|
|
13970
|
+
require 'time'
|
|
13971
|
+
require 'akeyless'
|
|
13972
|
+
|
|
13973
|
+
api_instance = Akeyless::V2Api.new
|
|
13974
|
+
body = Akeyless::UpdateTokenizer.new({name: 'name_example', template_type: 'template_type_example', tokenizer_type: 'tokenizer_type_example'}) # UpdateTokenizer |
|
|
13975
|
+
|
|
13976
|
+
begin
|
|
13977
|
+
|
|
13978
|
+
result = api_instance.update_tokenizer(body)
|
|
13979
|
+
p result
|
|
13980
|
+
rescue Akeyless::ApiError => e
|
|
13981
|
+
puts "Error when calling V2Api->update_tokenizer: #{e}"
|
|
13982
|
+
end
|
|
13983
|
+
```
|
|
13984
|
+
|
|
13985
|
+
#### Using the update_tokenizer_with_http_info variant
|
|
13986
|
+
|
|
13987
|
+
This returns an Array which contains the response data, status code and headers.
|
|
13988
|
+
|
|
13989
|
+
> <Array(<UpdateTokenizerOutput>, Integer, Hash)> update_tokenizer_with_http_info(body)
|
|
13990
|
+
|
|
13991
|
+
```ruby
|
|
13992
|
+
begin
|
|
13993
|
+
|
|
13994
|
+
data, status_code, headers = api_instance.update_tokenizer_with_http_info(body)
|
|
13995
|
+
p status_code # => 2xx
|
|
13996
|
+
p headers # => { ... }
|
|
13997
|
+
p data # => <UpdateTokenizerOutput>
|
|
13998
|
+
rescue Akeyless::ApiError => e
|
|
13999
|
+
puts "Error when calling V2Api->update_tokenizer_with_http_info: #{e}"
|
|
14000
|
+
end
|
|
14001
|
+
```
|
|
14002
|
+
|
|
14003
|
+
### Parameters
|
|
14004
|
+
|
|
14005
|
+
| Name | Type | Description | Notes |
|
|
14006
|
+
| ---- | ---- | ----------- | ----- |
|
|
14007
|
+
| **body** | [**UpdateTokenizer**](UpdateTokenizer.md) | | |
|
|
14008
|
+
|
|
14009
|
+
### Return type
|
|
14010
|
+
|
|
14011
|
+
[**UpdateTokenizerOutput**](UpdateTokenizerOutput.md)
|
|
14012
|
+
|
|
14013
|
+
### Authorization
|
|
14014
|
+
|
|
14015
|
+
No authorization required
|
|
14016
|
+
|
|
14017
|
+
### HTTP request headers
|
|
14018
|
+
|
|
14019
|
+
- **Content-Type**: application/json
|
|
14020
|
+
- **Accept**: application/json
|
|
14021
|
+
|
|
14022
|
+
|
|
13267
14023
|
## update_web_target
|
|
13268
14024
|
|
|
13269
14025
|
> <UpdateWebTargetOutput> update_web_target(body)
|