akeyless 2.16.4 → 2.16.7
Sign up to get free protection for your applications and to get access to all the features.
- 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/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 | |
|
@@ -200,6 +210,8 @@ All URIs are relative to *https://api.akeyless.io*
|
|
200
210
|
| [**update_github_target**](V2Api.md#update_github_target) | **POST** /update-github-target | |
|
201
211
|
| [**update_gke_target**](V2Api.md#update_gke_target) | **POST** /update-gke-target | |
|
202
212
|
| [**update_item**](V2Api.md#update_item) | **POST** /update-item | |
|
213
|
+
| [**update_ldap_target**](V2Api.md#update_ldap_target) | **POST** /update-ldap-target | |
|
214
|
+
| [**update_ldap_target_details**](V2Api.md#update_ldap_target_details) | **POST** /update-ldap-target-details | |
|
203
215
|
| [**update_native_k8_s_target**](V2Api.md#update_native_k8_s_target) | **POST** /update-k8s-target | |
|
204
216
|
| [**update_pki_cert_issuer**](V2Api.md#update_pki_cert_issuer) | **POST** /update-pki-cert-issuer | |
|
205
217
|
| [**update_rabbit_mq_target**](V2Api.md#update_rabbit_mq_target) | **POST** /update-rabbitmq-target | |
|
@@ -208,12 +220,14 @@ All URIs are relative to *https://api.akeyless.io*
|
|
208
220
|
| [**update_role**](V2Api.md#update_role) | **POST** /update-role | |
|
209
221
|
| [**update_rotated_secret**](V2Api.md#update_rotated_secret) | **POST** /update-rotated-secret | |
|
210
222
|
| [**update_rotation_settings**](V2Api.md#update_rotation_settings) | **POST** /update-rotation-settingsrotate-key | |
|
223
|
+
| [**update_salesforce_target**](V2Api.md#update_salesforce_target) | **POST** /update-salesforce-target | |
|
211
224
|
| [**update_secret_val**](V2Api.md#update_secret_val) | **POST** /update-secret-val | |
|
212
225
|
| [**update_ssh_cert_issuer**](V2Api.md#update_ssh_cert_issuer) | **POST** /update-ssh-cert-issuer | |
|
213
226
|
| [**update_ssh_target**](V2Api.md#update_ssh_target) | **POST** /update-ssh-target | |
|
214
227
|
| [**update_ssh_target_details**](V2Api.md#update_ssh_target_details) | **POST** /update-ssh-target-details | |
|
215
228
|
| [**update_target**](V2Api.md#update_target) | **POST** /update-target | |
|
216
229
|
| [**update_target_details**](V2Api.md#update_target_details) | **POST** /update-target-details | |
|
230
|
+
| [**update_tokenizer**](V2Api.md#update_tokenizer) | **POST** /update-tokenizer | |
|
217
231
|
| [**update_web_target**](V2Api.md#update_web_target) | **POST** /update-web-target | |
|
218
232
|
| [**update_web_target_details**](V2Api.md#update_web_target_details) | **POST** /update-web-target-details | |
|
219
233
|
| [**upload_rsa**](V2Api.md#upload_rsa) | **POST** /upload-rsa | |
|
@@ -2393,6 +2407,68 @@ No authorization required
|
|
2393
2407
|
- **Accept**: application/json
|
2394
2408
|
|
2395
2409
|
|
2410
|
+
## create_salesforce_target
|
2411
|
+
|
2412
|
+
> <CreateSalesforceTargetOutput> create_salesforce_target(body)
|
2413
|
+
|
2414
|
+
|
2415
|
+
|
2416
|
+
### Examples
|
2417
|
+
|
2418
|
+
```ruby
|
2419
|
+
require 'time'
|
2420
|
+
require 'akeyless'
|
2421
|
+
|
2422
|
+
api_instance = Akeyless::V2Api.new
|
2423
|
+
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 |
|
2424
|
+
|
2425
|
+
begin
|
2426
|
+
|
2427
|
+
result = api_instance.create_salesforce_target(body)
|
2428
|
+
p result
|
2429
|
+
rescue Akeyless::ApiError => e
|
2430
|
+
puts "Error when calling V2Api->create_salesforce_target: #{e}"
|
2431
|
+
end
|
2432
|
+
```
|
2433
|
+
|
2434
|
+
#### Using the create_salesforce_target_with_http_info variant
|
2435
|
+
|
2436
|
+
This returns an Array which contains the response data, status code and headers.
|
2437
|
+
|
2438
|
+
> <Array(<CreateSalesforceTargetOutput>, Integer, Hash)> create_salesforce_target_with_http_info(body)
|
2439
|
+
|
2440
|
+
```ruby
|
2441
|
+
begin
|
2442
|
+
|
2443
|
+
data, status_code, headers = api_instance.create_salesforce_target_with_http_info(body)
|
2444
|
+
p status_code # => 2xx
|
2445
|
+
p headers # => { ... }
|
2446
|
+
p data # => <CreateSalesforceTargetOutput>
|
2447
|
+
rescue Akeyless::ApiError => e
|
2448
|
+
puts "Error when calling V2Api->create_salesforce_target_with_http_info: #{e}"
|
2449
|
+
end
|
2450
|
+
```
|
2451
|
+
|
2452
|
+
### Parameters
|
2453
|
+
|
2454
|
+
| Name | Type | Description | Notes |
|
2455
|
+
| ---- | ---- | ----------- | ----- |
|
2456
|
+
| **body** | [**CreateSalesforceTarget**](CreateSalesforceTarget.md) | | |
|
2457
|
+
|
2458
|
+
### Return type
|
2459
|
+
|
2460
|
+
[**CreateSalesforceTargetOutput**](CreateSalesforceTargetOutput.md)
|
2461
|
+
|
2462
|
+
### Authorization
|
2463
|
+
|
2464
|
+
No authorization required
|
2465
|
+
|
2466
|
+
### HTTP request headers
|
2467
|
+
|
2468
|
+
- **Content-Type**: application/json
|
2469
|
+
- **Accept**: application/json
|
2470
|
+
|
2471
|
+
|
2396
2472
|
## create_secret
|
2397
2473
|
|
2398
2474
|
> <CreateSecretOutput> create_secret(body)
|
@@ -2579,6 +2655,68 @@ No authorization required
|
|
2579
2655
|
- **Accept**: application/json
|
2580
2656
|
|
2581
2657
|
|
2658
|
+
## create_tokenizer
|
2659
|
+
|
2660
|
+
> <CreateTokenizerOutput> create_tokenizer(body)
|
2661
|
+
|
2662
|
+
|
2663
|
+
|
2664
|
+
### Examples
|
2665
|
+
|
2666
|
+
```ruby
|
2667
|
+
require 'time'
|
2668
|
+
require 'akeyless'
|
2669
|
+
|
2670
|
+
api_instance = Akeyless::V2Api.new
|
2671
|
+
body = Akeyless::CreateTokenizer.new({name: 'name_example', template_type: 'template_type_example', tokenizer_type: 'tokenizer_type_example'}) # CreateTokenizer |
|
2672
|
+
|
2673
|
+
begin
|
2674
|
+
|
2675
|
+
result = api_instance.create_tokenizer(body)
|
2676
|
+
p result
|
2677
|
+
rescue Akeyless::ApiError => e
|
2678
|
+
puts "Error when calling V2Api->create_tokenizer: #{e}"
|
2679
|
+
end
|
2680
|
+
```
|
2681
|
+
|
2682
|
+
#### Using the create_tokenizer_with_http_info variant
|
2683
|
+
|
2684
|
+
This returns an Array which contains the response data, status code and headers.
|
2685
|
+
|
2686
|
+
> <Array(<CreateTokenizerOutput>, Integer, Hash)> create_tokenizer_with_http_info(body)
|
2687
|
+
|
2688
|
+
```ruby
|
2689
|
+
begin
|
2690
|
+
|
2691
|
+
data, status_code, headers = api_instance.create_tokenizer_with_http_info(body)
|
2692
|
+
p status_code # => 2xx
|
2693
|
+
p headers # => { ... }
|
2694
|
+
p data # => <CreateTokenizerOutput>
|
2695
|
+
rescue Akeyless::ApiError => e
|
2696
|
+
puts "Error when calling V2Api->create_tokenizer_with_http_info: #{e}"
|
2697
|
+
end
|
2698
|
+
```
|
2699
|
+
|
2700
|
+
### Parameters
|
2701
|
+
|
2702
|
+
| Name | Type | Description | Notes |
|
2703
|
+
| ---- | ---- | ----------- | ----- |
|
2704
|
+
| **body** | [**CreateTokenizer**](CreateTokenizer.md) | | |
|
2705
|
+
|
2706
|
+
### Return type
|
2707
|
+
|
2708
|
+
[**CreateTokenizerOutput**](CreateTokenizerOutput.md)
|
2709
|
+
|
2710
|
+
### Authorization
|
2711
|
+
|
2712
|
+
No authorization required
|
2713
|
+
|
2714
|
+
### HTTP request headers
|
2715
|
+
|
2716
|
+
- **Content-Type**: application/json
|
2717
|
+
- **Accept**: application/json
|
2718
|
+
|
2719
|
+
|
2582
2720
|
## create_web_target
|
2583
2721
|
|
2584
2722
|
> <CreateWebTargetOutput> create_web_target(body)
|
@@ -3695,6 +3833,68 @@ No authorization required
|
|
3695
3833
|
- **Accept**: application/json
|
3696
3834
|
|
3697
3835
|
|
3836
|
+
## detokenize
|
3837
|
+
|
3838
|
+
> <DetokenizeOutput> detokenize(body)
|
3839
|
+
|
3840
|
+
|
3841
|
+
|
3842
|
+
### Examples
|
3843
|
+
|
3844
|
+
```ruby
|
3845
|
+
require 'time'
|
3846
|
+
require 'akeyless'
|
3847
|
+
|
3848
|
+
api_instance = Akeyless::V2Api.new
|
3849
|
+
body = Akeyless::Detokenize.new({ciphertext: 'ciphertext_example', tokenizer_name: 'tokenizer_name_example'}) # Detokenize |
|
3850
|
+
|
3851
|
+
begin
|
3852
|
+
|
3853
|
+
result = api_instance.detokenize(body)
|
3854
|
+
p result
|
3855
|
+
rescue Akeyless::ApiError => e
|
3856
|
+
puts "Error when calling V2Api->detokenize: #{e}"
|
3857
|
+
end
|
3858
|
+
```
|
3859
|
+
|
3860
|
+
#### Using the detokenize_with_http_info variant
|
3861
|
+
|
3862
|
+
This returns an Array which contains the response data, status code and headers.
|
3863
|
+
|
3864
|
+
> <Array(<DetokenizeOutput>, Integer, Hash)> detokenize_with_http_info(body)
|
3865
|
+
|
3866
|
+
```ruby
|
3867
|
+
begin
|
3868
|
+
|
3869
|
+
data, status_code, headers = api_instance.detokenize_with_http_info(body)
|
3870
|
+
p status_code # => 2xx
|
3871
|
+
p headers # => { ... }
|
3872
|
+
p data # => <DetokenizeOutput>
|
3873
|
+
rescue Akeyless::ApiError => e
|
3874
|
+
puts "Error when calling V2Api->detokenize_with_http_info: #{e}"
|
3875
|
+
end
|
3876
|
+
```
|
3877
|
+
|
3878
|
+
### Parameters
|
3879
|
+
|
3880
|
+
| Name | Type | Description | Notes |
|
3881
|
+
| ---- | ---- | ----------- | ----- |
|
3882
|
+
| **body** | [**Detokenize**](Detokenize.md) | | |
|
3883
|
+
|
3884
|
+
### Return type
|
3885
|
+
|
3886
|
+
[**DetokenizeOutput**](DetokenizeOutput.md)
|
3887
|
+
|
3888
|
+
### Authorization
|
3889
|
+
|
3890
|
+
No authorization required
|
3891
|
+
|
3892
|
+
### HTTP request headers
|
3893
|
+
|
3894
|
+
- **Content-Type**: application/json
|
3895
|
+
- **Accept**: application/json
|
3896
|
+
|
3897
|
+
|
3698
3898
|
## encrypt
|
3699
3899
|
|
3700
3900
|
> <EncryptOutput> encrypt(body)
|
@@ -3943,6 +4143,68 @@ No authorization required
|
|
3943
4143
|
- **Accept**: application/json
|
3944
4144
|
|
3945
4145
|
|
4146
|
+
## gateway_create_migration
|
4147
|
+
|
4148
|
+
> <GatewayMigrationCreateOutput> gateway_create_migration(body)
|
4149
|
+
|
4150
|
+
|
4151
|
+
|
4152
|
+
### Examples
|
4153
|
+
|
4154
|
+
```ruby
|
4155
|
+
require 'time'
|
4156
|
+
require 'akeyless'
|
4157
|
+
|
4158
|
+
api_instance = Akeyless::V2Api.new
|
4159
|
+
body = Akeyless::GatewayCreateMigration.new({name: 'name_example'}) # GatewayCreateMigration |
|
4160
|
+
|
4161
|
+
begin
|
4162
|
+
|
4163
|
+
result = api_instance.gateway_create_migration(body)
|
4164
|
+
p result
|
4165
|
+
rescue Akeyless::ApiError => e
|
4166
|
+
puts "Error when calling V2Api->gateway_create_migration: #{e}"
|
4167
|
+
end
|
4168
|
+
```
|
4169
|
+
|
4170
|
+
#### Using the gateway_create_migration_with_http_info variant
|
4171
|
+
|
4172
|
+
This returns an Array which contains the response data, status code and headers.
|
4173
|
+
|
4174
|
+
> <Array(<GatewayMigrationCreateOutput>, Integer, Hash)> gateway_create_migration_with_http_info(body)
|
4175
|
+
|
4176
|
+
```ruby
|
4177
|
+
begin
|
4178
|
+
|
4179
|
+
data, status_code, headers = api_instance.gateway_create_migration_with_http_info(body)
|
4180
|
+
p status_code # => 2xx
|
4181
|
+
p headers # => { ... }
|
4182
|
+
p data # => <GatewayMigrationCreateOutput>
|
4183
|
+
rescue Akeyless::ApiError => e
|
4184
|
+
puts "Error when calling V2Api->gateway_create_migration_with_http_info: #{e}"
|
4185
|
+
end
|
4186
|
+
```
|
4187
|
+
|
4188
|
+
### Parameters
|
4189
|
+
|
4190
|
+
| Name | Type | Description | Notes |
|
4191
|
+
| ---- | ---- | ----------- | ----- |
|
4192
|
+
| **body** | [**GatewayCreateMigration**](GatewayCreateMigration.md) | | |
|
4193
|
+
|
4194
|
+
### Return type
|
4195
|
+
|
4196
|
+
[**GatewayMigrationCreateOutput**](GatewayMigrationCreateOutput.md)
|
4197
|
+
|
4198
|
+
### Authorization
|
4199
|
+
|
4200
|
+
No authorization required
|
4201
|
+
|
4202
|
+
### HTTP request headers
|
4203
|
+
|
4204
|
+
- **Content-Type**: application/json
|
4205
|
+
- **Accept**: application/json
|
4206
|
+
|
4207
|
+
|
3946
4208
|
## gateway_create_producer_artifactory
|
3947
4209
|
|
3948
4210
|
> <GatewayCreateProducerArtifactoryOutput> gateway_create_producer_artifactory(body)
|
@@ -5495,6 +5757,68 @@ No authorization required
|
|
5495
5757
|
- **Accept**: application/json
|
5496
5758
|
|
5497
5759
|
|
5760
|
+
## gateway_delete_migration
|
5761
|
+
|
5762
|
+
> <GatewayMigrationDeleteOutput> gateway_delete_migration(body)
|
5763
|
+
|
5764
|
+
|
5765
|
+
|
5766
|
+
### Examples
|
5767
|
+
|
5768
|
+
```ruby
|
5769
|
+
require 'time'
|
5770
|
+
require 'akeyless'
|
5771
|
+
|
5772
|
+
api_instance = Akeyless::V2Api.new
|
5773
|
+
body = Akeyless::GatewayDeleteMigration.new({id: 'id_example'}) # GatewayDeleteMigration |
|
5774
|
+
|
5775
|
+
begin
|
5776
|
+
|
5777
|
+
result = api_instance.gateway_delete_migration(body)
|
5778
|
+
p result
|
5779
|
+
rescue Akeyless::ApiError => e
|
5780
|
+
puts "Error when calling V2Api->gateway_delete_migration: #{e}"
|
5781
|
+
end
|
5782
|
+
```
|
5783
|
+
|
5784
|
+
#### Using the gateway_delete_migration_with_http_info variant
|
5785
|
+
|
5786
|
+
This returns an Array which contains the response data, status code and headers.
|
5787
|
+
|
5788
|
+
> <Array(<GatewayMigrationDeleteOutput>, Integer, Hash)> gateway_delete_migration_with_http_info(body)
|
5789
|
+
|
5790
|
+
```ruby
|
5791
|
+
begin
|
5792
|
+
|
5793
|
+
data, status_code, headers = api_instance.gateway_delete_migration_with_http_info(body)
|
5794
|
+
p status_code # => 2xx
|
5795
|
+
p headers # => { ... }
|
5796
|
+
p data # => <GatewayMigrationDeleteOutput>
|
5797
|
+
rescue Akeyless::ApiError => e
|
5798
|
+
puts "Error when calling V2Api->gateway_delete_migration_with_http_info: #{e}"
|
5799
|
+
end
|
5800
|
+
```
|
5801
|
+
|
5802
|
+
### Parameters
|
5803
|
+
|
5804
|
+
| Name | Type | Description | Notes |
|
5805
|
+
| ---- | ---- | ----------- | ----- |
|
5806
|
+
| **body** | [**GatewayDeleteMigration**](GatewayDeleteMigration.md) | | |
|
5807
|
+
|
5808
|
+
### Return type
|
5809
|
+
|
5810
|
+
[**GatewayMigrationDeleteOutput**](GatewayMigrationDeleteOutput.md)
|
5811
|
+
|
5812
|
+
### Authorization
|
5813
|
+
|
5814
|
+
No authorization required
|
5815
|
+
|
5816
|
+
### HTTP request headers
|
5817
|
+
|
5818
|
+
- **Content-Type**: application/json
|
5819
|
+
- **Accept**: application/json
|
5820
|
+
|
5821
|
+
|
5498
5822
|
## gateway_delete_producer
|
5499
5823
|
|
5500
5824
|
> <GatewayDeleteProducerOutput> gateway_delete_producer(body)
|
@@ -5681,9 +6005,9 @@ No authorization required
|
|
5681
6005
|
- **Accept**: application/json
|
5682
6006
|
|
5683
6007
|
|
5684
|
-
##
|
6008
|
+
## gateway_get_migration
|
5685
6009
|
|
5686
|
-
> <
|
6010
|
+
> <GatewayMigrationGetOutput> gateway_get_migration(body)
|
5687
6011
|
|
5688
6012
|
|
5689
6013
|
|
@@ -5694,18 +6018,80 @@ require 'time'
|
|
5694
6018
|
require 'akeyless'
|
5695
6019
|
|
5696
6020
|
api_instance = Akeyless::V2Api.new
|
5697
|
-
body = Akeyless::
|
6021
|
+
body = Akeyless::GatewayGetMigration.new # GatewayGetMigration |
|
5698
6022
|
|
5699
6023
|
begin
|
5700
6024
|
|
5701
|
-
result = api_instance.
|
6025
|
+
result = api_instance.gateway_get_migration(body)
|
5702
6026
|
p result
|
5703
6027
|
rescue Akeyless::ApiError => e
|
5704
|
-
puts "Error when calling V2Api->
|
6028
|
+
puts "Error when calling V2Api->gateway_get_migration: #{e}"
|
5705
6029
|
end
|
5706
6030
|
```
|
5707
6031
|
|
5708
|
-
#### Using the
|
6032
|
+
#### Using the gateway_get_migration_with_http_info variant
|
6033
|
+
|
6034
|
+
This returns an Array which contains the response data, status code and headers.
|
6035
|
+
|
6036
|
+
> <Array(<GatewayMigrationGetOutput>, Integer, Hash)> gateway_get_migration_with_http_info(body)
|
6037
|
+
|
6038
|
+
```ruby
|
6039
|
+
begin
|
6040
|
+
|
6041
|
+
data, status_code, headers = api_instance.gateway_get_migration_with_http_info(body)
|
6042
|
+
p status_code # => 2xx
|
6043
|
+
p headers # => { ... }
|
6044
|
+
p data # => <GatewayMigrationGetOutput>
|
6045
|
+
rescue Akeyless::ApiError => e
|
6046
|
+
puts "Error when calling V2Api->gateway_get_migration_with_http_info: #{e}"
|
6047
|
+
end
|
6048
|
+
```
|
6049
|
+
|
6050
|
+
### Parameters
|
6051
|
+
|
6052
|
+
| Name | Type | Description | Notes |
|
6053
|
+
| ---- | ---- | ----------- | ----- |
|
6054
|
+
| **body** | [**GatewayGetMigration**](GatewayGetMigration.md) | | |
|
6055
|
+
|
6056
|
+
### Return type
|
6057
|
+
|
6058
|
+
[**GatewayMigrationGetOutput**](GatewayMigrationGetOutput.md)
|
6059
|
+
|
6060
|
+
### Authorization
|
6061
|
+
|
6062
|
+
No authorization required
|
6063
|
+
|
6064
|
+
### HTTP request headers
|
6065
|
+
|
6066
|
+
- **Content-Type**: application/json
|
6067
|
+
- **Accept**: application/json
|
6068
|
+
|
6069
|
+
|
6070
|
+
## gateway_get_producer
|
6071
|
+
|
6072
|
+
> <DSProducerDetails> gateway_get_producer(body)
|
6073
|
+
|
6074
|
+
|
6075
|
+
|
6076
|
+
### Examples
|
6077
|
+
|
6078
|
+
```ruby
|
6079
|
+
require 'time'
|
6080
|
+
require 'akeyless'
|
6081
|
+
|
6082
|
+
api_instance = Akeyless::V2Api.new
|
6083
|
+
body = Akeyless::GatewayGetProducer.new({name: 'name_example'}) # GatewayGetProducer |
|
6084
|
+
|
6085
|
+
begin
|
6086
|
+
|
6087
|
+
result = api_instance.gateway_get_producer(body)
|
6088
|
+
p result
|
6089
|
+
rescue Akeyless::ApiError => e
|
6090
|
+
puts "Error when calling V2Api->gateway_get_producer: #{e}"
|
6091
|
+
end
|
6092
|
+
```
|
6093
|
+
|
6094
|
+
#### Using the gateway_get_producer_with_http_info variant
|
5709
6095
|
|
5710
6096
|
This returns an Array which contains the response data, status code and headers.
|
5711
6097
|
|
@@ -6362,6 +6748,68 @@ No authorization required
|
|
6362
6748
|
- **Accept**: application/json
|
6363
6749
|
|
6364
6750
|
|
6751
|
+
## gateway_update_migration
|
6752
|
+
|
6753
|
+
> <GatewayMigrationUpdateOutput> gateway_update_migration(body)
|
6754
|
+
|
6755
|
+
|
6756
|
+
|
6757
|
+
### Examples
|
6758
|
+
|
6759
|
+
```ruby
|
6760
|
+
require 'time'
|
6761
|
+
require 'akeyless'
|
6762
|
+
|
6763
|
+
api_instance = Akeyless::V2Api.new
|
6764
|
+
body = Akeyless::GatewayUpdateMigration.new({name: 'name_example'}) # GatewayUpdateMigration |
|
6765
|
+
|
6766
|
+
begin
|
6767
|
+
|
6768
|
+
result = api_instance.gateway_update_migration(body)
|
6769
|
+
p result
|
6770
|
+
rescue Akeyless::ApiError => e
|
6771
|
+
puts "Error when calling V2Api->gateway_update_migration: #{e}"
|
6772
|
+
end
|
6773
|
+
```
|
6774
|
+
|
6775
|
+
#### Using the gateway_update_migration_with_http_info variant
|
6776
|
+
|
6777
|
+
This returns an Array which contains the response data, status code and headers.
|
6778
|
+
|
6779
|
+
> <Array(<GatewayMigrationUpdateOutput>, Integer, Hash)> gateway_update_migration_with_http_info(body)
|
6780
|
+
|
6781
|
+
```ruby
|
6782
|
+
begin
|
6783
|
+
|
6784
|
+
data, status_code, headers = api_instance.gateway_update_migration_with_http_info(body)
|
6785
|
+
p status_code # => 2xx
|
6786
|
+
p headers # => { ... }
|
6787
|
+
p data # => <GatewayMigrationUpdateOutput>
|
6788
|
+
rescue Akeyless::ApiError => e
|
6789
|
+
puts "Error when calling V2Api->gateway_update_migration_with_http_info: #{e}"
|
6790
|
+
end
|
6791
|
+
```
|
6792
|
+
|
6793
|
+
### Parameters
|
6794
|
+
|
6795
|
+
| Name | Type | Description | Notes |
|
6796
|
+
| ---- | ---- | ----------- | ----- |
|
6797
|
+
| **body** | [**GatewayUpdateMigration**](GatewayUpdateMigration.md) | | |
|
6798
|
+
|
6799
|
+
### Return type
|
6800
|
+
|
6801
|
+
[**GatewayMigrationUpdateOutput**](GatewayMigrationUpdateOutput.md)
|
6802
|
+
|
6803
|
+
### Authorization
|
6804
|
+
|
6805
|
+
No authorization required
|
6806
|
+
|
6807
|
+
### HTTP request headers
|
6808
|
+
|
6809
|
+
- **Content-Type**: application/json
|
6810
|
+
- **Accept**: application/json
|
6811
|
+
|
6812
|
+
|
6365
6813
|
## gateway_update_producer_artifactory
|
6366
6814
|
|
6367
6815
|
> <GatewayUpdateProducerArtifactoryOutput> gateway_update_producer_artifactory(body)
|
@@ -7046,6 +7494,68 @@ No authorization required
|
|
7046
7494
|
- **Accept**: application/json
|
7047
7495
|
|
7048
7496
|
|
7497
|
+
## gateway_update_producer_hana_db
|
7498
|
+
|
7499
|
+
> <GatewayUpdateProducerHanaDbOutput> gateway_update_producer_hana_db(body)
|
7500
|
+
|
7501
|
+
|
7502
|
+
|
7503
|
+
### Examples
|
7504
|
+
|
7505
|
+
```ruby
|
7506
|
+
require 'time'
|
7507
|
+
require 'akeyless'
|
7508
|
+
|
7509
|
+
api_instance = Akeyless::V2Api.new
|
7510
|
+
body = Akeyless::GatewayUpdateProducerHanaDb.new({name: 'name_example'}) # GatewayUpdateProducerHanaDb |
|
7511
|
+
|
7512
|
+
begin
|
7513
|
+
|
7514
|
+
result = api_instance.gateway_update_producer_hana_db(body)
|
7515
|
+
p result
|
7516
|
+
rescue Akeyless::ApiError => e
|
7517
|
+
puts "Error when calling V2Api->gateway_update_producer_hana_db: #{e}"
|
7518
|
+
end
|
7519
|
+
```
|
7520
|
+
|
7521
|
+
#### Using the gateway_update_producer_hana_db_with_http_info variant
|
7522
|
+
|
7523
|
+
This returns an Array which contains the response data, status code and headers.
|
7524
|
+
|
7525
|
+
> <Array(<GatewayUpdateProducerHanaDbOutput>, Integer, Hash)> gateway_update_producer_hana_db_with_http_info(body)
|
7526
|
+
|
7527
|
+
```ruby
|
7528
|
+
begin
|
7529
|
+
|
7530
|
+
data, status_code, headers = api_instance.gateway_update_producer_hana_db_with_http_info(body)
|
7531
|
+
p status_code # => 2xx
|
7532
|
+
p headers # => { ... }
|
7533
|
+
p data # => <GatewayUpdateProducerHanaDbOutput>
|
7534
|
+
rescue Akeyless::ApiError => e
|
7535
|
+
puts "Error when calling V2Api->gateway_update_producer_hana_db_with_http_info: #{e}"
|
7536
|
+
end
|
7537
|
+
```
|
7538
|
+
|
7539
|
+
### Parameters
|
7540
|
+
|
7541
|
+
| Name | Type | Description | Notes |
|
7542
|
+
| ---- | ---- | ----------- | ----- |
|
7543
|
+
| **body** | [**GatewayUpdateProducerHanaDb**](GatewayUpdateProducerHanaDb.md) | | |
|
7544
|
+
|
7545
|
+
### Return type
|
7546
|
+
|
7547
|
+
[**GatewayUpdateProducerHanaDbOutput**](GatewayUpdateProducerHanaDbOutput.md)
|
7548
|
+
|
7549
|
+
### Authorization
|
7550
|
+
|
7551
|
+
No authorization required
|
7552
|
+
|
7553
|
+
### HTTP request headers
|
7554
|
+
|
7555
|
+
- **Content-Type**: application/json
|
7556
|
+
- **Accept**: application/json
|
7557
|
+
|
7558
|
+
|
7049
7559
|
## gateway_update_producer_ldap
|
7050
7560
|
|
7051
7561
|
> <GatewayUpdateProducerLdapOutput> gateway_update_producer_ldap(body)
|
@@ -10167,6 +10677,68 @@ No authorization required
|
|
10167
10677
|
- **Accept**: application/json
|
10168
10678
|
|
10169
10679
|
|
10680
|
+
## rotate_secret
|
10681
|
+
|
10682
|
+
> <RotatedSecretOutput> rotate_secret(body)
|
10683
|
+
|
10684
|
+
|
10685
|
+
|
10686
|
+
### Examples
|
10687
|
+
|
10688
|
+
```ruby
|
10689
|
+
require 'time'
|
10690
|
+
require 'akeyless'
|
10691
|
+
|
10692
|
+
api_instance = Akeyless::V2Api.new
|
10693
|
+
body = Akeyless::RotateSecret.new({name: 'name_example'}) # RotateSecret |
|
10694
|
+
|
10695
|
+
begin
|
10696
|
+
|
10697
|
+
result = api_instance.rotate_secret(body)
|
10698
|
+
p result
|
10699
|
+
rescue Akeyless::ApiError => e
|
10700
|
+
puts "Error when calling V2Api->rotate_secret: #{e}"
|
10701
|
+
end
|
10702
|
+
```
|
10703
|
+
|
10704
|
+
#### Using the rotate_secret_with_http_info variant
|
10705
|
+
|
10706
|
+
This returns an Array which contains the response data, status code and headers.
|
10707
|
+
|
10708
|
+
> <Array(<RotatedSecretOutput>, Integer, Hash)> rotate_secret_with_http_info(body)
|
10709
|
+
|
10710
|
+
```ruby
|
10711
|
+
begin
|
10712
|
+
|
10713
|
+
data, status_code, headers = api_instance.rotate_secret_with_http_info(body)
|
10714
|
+
p status_code # => 2xx
|
10715
|
+
p headers # => { ... }
|
10716
|
+
p data # => <RotatedSecretOutput>
|
10717
|
+
rescue Akeyless::ApiError => e
|
10718
|
+
puts "Error when calling V2Api->rotate_secret_with_http_info: #{e}"
|
10719
|
+
end
|
10720
|
+
```
|
10721
|
+
|
10722
|
+
### Parameters
|
10723
|
+
|
10724
|
+
| Name | Type | Description | Notes |
|
10725
|
+
| ---- | ---- | ----------- | ----- |
|
10726
|
+
| **body** | [**RotateSecret**](RotateSecret.md) | | |
|
10727
|
+
|
10728
|
+
### Return type
|
10729
|
+
|
10730
|
+
[**RotatedSecretOutput**](RotatedSecretOutput.md)
|
10731
|
+
|
10732
|
+
### Authorization
|
10733
|
+
|
10734
|
+
No authorization required
|
10735
|
+
|
10736
|
+
### HTTP request headers
|
10737
|
+
|
10738
|
+
- **Content-Type**: application/json
|
10739
|
+
- **Accept**: application/json
|
10740
|
+
|
10741
|
+
|
10170
10742
|
## set_item_state
|
10171
10743
|
|
10172
10744
|
> Object set_item_state(body)
|
@@ -10539,6 +11111,68 @@ No authorization required
|
|
10539
11111
|
- **Accept**: application/json
|
10540
11112
|
|
10541
11113
|
|
11114
|
+
## tokenize
|
11115
|
+
|
11116
|
+
> <TokenizeOutput> tokenize(body)
|
11117
|
+
|
11118
|
+
|
11119
|
+
|
11120
|
+
### Examples
|
11121
|
+
|
11122
|
+
```ruby
|
11123
|
+
require 'time'
|
11124
|
+
require 'akeyless'
|
11125
|
+
|
11126
|
+
api_instance = Akeyless::V2Api.new
|
11127
|
+
body = Akeyless::Tokenize.new({plaintext: 'plaintext_example', tokenizer_name: 'tokenizer_name_example'}) # Tokenize |
|
11128
|
+
|
11129
|
+
begin
|
11130
|
+
|
11131
|
+
result = api_instance.tokenize(body)
|
11132
|
+
p result
|
11133
|
+
rescue Akeyless::ApiError => e
|
11134
|
+
puts "Error when calling V2Api->tokenize: #{e}"
|
11135
|
+
end
|
11136
|
+
```
|
11137
|
+
|
11138
|
+
#### Using the tokenize_with_http_info variant
|
11139
|
+
|
11140
|
+
This returns an Array which contains the response data, status code and headers.
|
11141
|
+
|
11142
|
+
> <Array(<TokenizeOutput>, Integer, Hash)> tokenize_with_http_info(body)
|
11143
|
+
|
11144
|
+
```ruby
|
11145
|
+
begin
|
11146
|
+
|
11147
|
+
data, status_code, headers = api_instance.tokenize_with_http_info(body)
|
11148
|
+
p status_code # => 2xx
|
11149
|
+
p headers # => { ... }
|
11150
|
+
p data # => <TokenizeOutput>
|
11151
|
+
rescue Akeyless::ApiError => e
|
11152
|
+
puts "Error when calling V2Api->tokenize_with_http_info: #{e}"
|
11153
|
+
end
|
11154
|
+
```
|
11155
|
+
|
11156
|
+
### Parameters
|
11157
|
+
|
11158
|
+
| Name | Type | Description | Notes |
|
11159
|
+
| ---- | ---- | ----------- | ----- |
|
11160
|
+
| **body** | [**Tokenize**](Tokenize.md) | | |
|
11161
|
+
|
11162
|
+
### Return type
|
11163
|
+
|
11164
|
+
[**TokenizeOutput**](TokenizeOutput.md)
|
11165
|
+
|
11166
|
+
### Authorization
|
11167
|
+
|
11168
|
+
No authorization required
|
11169
|
+
|
11170
|
+
### HTTP request headers
|
11171
|
+
|
11172
|
+
- **Content-Type**: application/json
|
11173
|
+
- **Accept**: application/json
|
11174
|
+
|
11175
|
+
|
10542
11176
|
## uid_create_child_token
|
10543
11177
|
|
10544
11178
|
> <UidCreateChildTokenOutput> uid_create_child_token(body)
|
@@ -12399,6 +13033,130 @@ No authorization required
|
|
12399
13033
|
- **Accept**: application/json
|
12400
13034
|
|
12401
13035
|
|
13036
|
+
## update_ldap_target
|
13037
|
+
|
13038
|
+
> <UpdateLdapTargetOutput> update_ldap_target(body)
|
13039
|
+
|
13040
|
+
|
13041
|
+
|
13042
|
+
### Examples
|
13043
|
+
|
13044
|
+
```ruby
|
13045
|
+
require 'time'
|
13046
|
+
require 'akeyless'
|
13047
|
+
|
13048
|
+
api_instance = Akeyless::V2Api.new
|
13049
|
+
body = Akeyless::UpdateLdapTarget.new({name: 'name_example'}) # UpdateLdapTarget |
|
13050
|
+
|
13051
|
+
begin
|
13052
|
+
|
13053
|
+
result = api_instance.update_ldap_target(body)
|
13054
|
+
p result
|
13055
|
+
rescue Akeyless::ApiError => e
|
13056
|
+
puts "Error when calling V2Api->update_ldap_target: #{e}"
|
13057
|
+
end
|
13058
|
+
```
|
13059
|
+
|
13060
|
+
#### Using the update_ldap_target_with_http_info variant
|
13061
|
+
|
13062
|
+
This returns an Array which contains the response data, status code and headers.
|
13063
|
+
|
13064
|
+
> <Array(<UpdateLdapTargetOutput>, Integer, Hash)> update_ldap_target_with_http_info(body)
|
13065
|
+
|
13066
|
+
```ruby
|
13067
|
+
begin
|
13068
|
+
|
13069
|
+
data, status_code, headers = api_instance.update_ldap_target_with_http_info(body)
|
13070
|
+
p status_code # => 2xx
|
13071
|
+
p headers # => { ... }
|
13072
|
+
p data # => <UpdateLdapTargetOutput>
|
13073
|
+
rescue Akeyless::ApiError => e
|
13074
|
+
puts "Error when calling V2Api->update_ldap_target_with_http_info: #{e}"
|
13075
|
+
end
|
13076
|
+
```
|
13077
|
+
|
13078
|
+
### Parameters
|
13079
|
+
|
13080
|
+
| Name | Type | Description | Notes |
|
13081
|
+
| ---- | ---- | ----------- | ----- |
|
13082
|
+
| **body** | [**UpdateLdapTarget**](UpdateLdapTarget.md) | | |
|
13083
|
+
|
13084
|
+
### Return type
|
13085
|
+
|
13086
|
+
[**UpdateLdapTargetOutput**](UpdateLdapTargetOutput.md)
|
13087
|
+
|
13088
|
+
### Authorization
|
13089
|
+
|
13090
|
+
No authorization required
|
13091
|
+
|
13092
|
+
### HTTP request headers
|
13093
|
+
|
13094
|
+
- **Content-Type**: application/json
|
13095
|
+
- **Accept**: application/json
|
13096
|
+
|
13097
|
+
|
13098
|
+
## update_ldap_target_details
|
13099
|
+
|
13100
|
+
> <UpdateTargetOutput> update_ldap_target_details(body)
|
13101
|
+
|
13102
|
+
|
13103
|
+
|
13104
|
+
### Examples
|
13105
|
+
|
13106
|
+
```ruby
|
13107
|
+
require 'time'
|
13108
|
+
require 'akeyless'
|
13109
|
+
|
13110
|
+
api_instance = Akeyless::V2Api.new
|
13111
|
+
body = Akeyless::UpdateLdapTargetDetails.new({name: 'name_example'}) # UpdateLdapTargetDetails |
|
13112
|
+
|
13113
|
+
begin
|
13114
|
+
|
13115
|
+
result = api_instance.update_ldap_target_details(body)
|
13116
|
+
p result
|
13117
|
+
rescue Akeyless::ApiError => e
|
13118
|
+
puts "Error when calling V2Api->update_ldap_target_details: #{e}"
|
13119
|
+
end
|
13120
|
+
```
|
13121
|
+
|
13122
|
+
#### Using the update_ldap_target_details_with_http_info variant
|
13123
|
+
|
13124
|
+
This returns an Array which contains the response data, status code and headers.
|
13125
|
+
|
13126
|
+
> <Array(<UpdateTargetOutput>, Integer, Hash)> update_ldap_target_details_with_http_info(body)
|
13127
|
+
|
13128
|
+
```ruby
|
13129
|
+
begin
|
13130
|
+
|
13131
|
+
data, status_code, headers = api_instance.update_ldap_target_details_with_http_info(body)
|
13132
|
+
p status_code # => 2xx
|
13133
|
+
p headers # => { ... }
|
13134
|
+
p data # => <UpdateTargetOutput>
|
13135
|
+
rescue Akeyless::ApiError => e
|
13136
|
+
puts "Error when calling V2Api->update_ldap_target_details_with_http_info: #{e}"
|
13137
|
+
end
|
13138
|
+
```
|
13139
|
+
|
13140
|
+
### Parameters
|
13141
|
+
|
13142
|
+
| Name | Type | Description | Notes |
|
13143
|
+
| ---- | ---- | ----------- | ----- |
|
13144
|
+
| **body** | [**UpdateLdapTargetDetails**](UpdateLdapTargetDetails.md) | | |
|
13145
|
+
|
13146
|
+
### Return type
|
13147
|
+
|
13148
|
+
[**UpdateTargetOutput**](UpdateTargetOutput.md)
|
13149
|
+
|
13150
|
+
### Authorization
|
13151
|
+
|
13152
|
+
No authorization required
|
13153
|
+
|
13154
|
+
### HTTP request headers
|
13155
|
+
|
13156
|
+
- **Content-Type**: application/json
|
13157
|
+
- **Accept**: application/json
|
13158
|
+
|
13159
|
+
|
12402
13160
|
## update_native_k8_s_target
|
12403
13161
|
|
12404
13162
|
> <UpdateNativeK8STarget> update_native_k8_s_target(body)
|
@@ -12892,6 +13650,68 @@ No authorization required
|
|
12892
13650
|
- **Accept**: application/json
|
12893
13651
|
|
12894
13652
|
|
13653
|
+
## update_salesforce_target
|
13654
|
+
|
13655
|
+
> <UpdateSalesforceTargetOutput> update_salesforce_target(body)
|
13656
|
+
|
13657
|
+
|
13658
|
+
|
13659
|
+
### Examples
|
13660
|
+
|
13661
|
+
```ruby
|
13662
|
+
require 'time'
|
13663
|
+
require 'akeyless'
|
13664
|
+
|
13665
|
+
api_instance = Akeyless::V2Api.new
|
13666
|
+
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 |
|
13667
|
+
|
13668
|
+
begin
|
13669
|
+
|
13670
|
+
result = api_instance.update_salesforce_target(body)
|
13671
|
+
p result
|
13672
|
+
rescue Akeyless::ApiError => e
|
13673
|
+
puts "Error when calling V2Api->update_salesforce_target: #{e}"
|
13674
|
+
end
|
13675
|
+
```
|
13676
|
+
|
13677
|
+
#### Using the update_salesforce_target_with_http_info variant
|
13678
|
+
|
13679
|
+
This returns an Array which contains the response data, status code and headers.
|
13680
|
+
|
13681
|
+
> <Array(<UpdateSalesforceTargetOutput>, Integer, Hash)> update_salesforce_target_with_http_info(body)
|
13682
|
+
|
13683
|
+
```ruby
|
13684
|
+
begin
|
13685
|
+
|
13686
|
+
data, status_code, headers = api_instance.update_salesforce_target_with_http_info(body)
|
13687
|
+
p status_code # => 2xx
|
13688
|
+
p headers # => { ... }
|
13689
|
+
p data # => <UpdateSalesforceTargetOutput>
|
13690
|
+
rescue Akeyless::ApiError => e
|
13691
|
+
puts "Error when calling V2Api->update_salesforce_target_with_http_info: #{e}"
|
13692
|
+
end
|
13693
|
+
```
|
13694
|
+
|
13695
|
+
### Parameters
|
13696
|
+
|
13697
|
+
| Name | Type | Description | Notes |
|
13698
|
+
| ---- | ---- | ----------- | ----- |
|
13699
|
+
| **body** | [**UpdateSalesforceTarget**](UpdateSalesforceTarget.md) | | |
|
13700
|
+
|
13701
|
+
### Return type
|
13702
|
+
|
13703
|
+
[**UpdateSalesforceTargetOutput**](UpdateSalesforceTargetOutput.md)
|
13704
|
+
|
13705
|
+
### Authorization
|
13706
|
+
|
13707
|
+
No authorization required
|
13708
|
+
|
13709
|
+
### HTTP request headers
|
13710
|
+
|
13711
|
+
- **Content-Type**: application/json
|
13712
|
+
- **Accept**: application/json
|
13713
|
+
|
13714
|
+
|
12895
13715
|
## update_secret_val
|
12896
13716
|
|
12897
13717
|
> <UpdateSecretValOutput> update_secret_val(body)
|
@@ -13264,6 +14084,68 @@ No authorization required
|
|
13264
14084
|
- **Accept**: application/json
|
13265
14085
|
|
13266
14086
|
|
14087
|
+
## update_tokenizer
|
14088
|
+
|
14089
|
+
> <UpdateTokenizerOutput> update_tokenizer(body)
|
14090
|
+
|
14091
|
+
|
14092
|
+
|
14093
|
+
### Examples
|
14094
|
+
|
14095
|
+
```ruby
|
14096
|
+
require 'time'
|
14097
|
+
require 'akeyless'
|
14098
|
+
|
14099
|
+
api_instance = Akeyless::V2Api.new
|
14100
|
+
body = Akeyless::UpdateTokenizer.new({name: 'name_example', template_type: 'template_type_example', tokenizer_type: 'tokenizer_type_example'}) # UpdateTokenizer |
|
14101
|
+
|
14102
|
+
begin
|
14103
|
+
|
14104
|
+
result = api_instance.update_tokenizer(body)
|
14105
|
+
p result
|
14106
|
+
rescue Akeyless::ApiError => e
|
14107
|
+
puts "Error when calling V2Api->update_tokenizer: #{e}"
|
14108
|
+
end
|
14109
|
+
```
|
14110
|
+
|
14111
|
+
#### Using the update_tokenizer_with_http_info variant
|
14112
|
+
|
14113
|
+
This returns an Array which contains the response data, status code and headers.
|
14114
|
+
|
14115
|
+
> <Array(<UpdateTokenizerOutput>, Integer, Hash)> update_tokenizer_with_http_info(body)
|
14116
|
+
|
14117
|
+
```ruby
|
14118
|
+
begin
|
14119
|
+
|
14120
|
+
data, status_code, headers = api_instance.update_tokenizer_with_http_info(body)
|
14121
|
+
p status_code # => 2xx
|
14122
|
+
p headers # => { ... }
|
14123
|
+
p data # => <UpdateTokenizerOutput>
|
14124
|
+
rescue Akeyless::ApiError => e
|
14125
|
+
puts "Error when calling V2Api->update_tokenizer_with_http_info: #{e}"
|
14126
|
+
end
|
14127
|
+
```
|
14128
|
+
|
14129
|
+
### Parameters
|
14130
|
+
|
14131
|
+
| Name | Type | Description | Notes |
|
14132
|
+
| ---- | ---- | ----------- | ----- |
|
14133
|
+
| **body** | [**UpdateTokenizer**](UpdateTokenizer.md) | | |
|
14134
|
+
|
14135
|
+
### Return type
|
14136
|
+
|
14137
|
+
[**UpdateTokenizerOutput**](UpdateTokenizerOutput.md)
|
14138
|
+
|
14139
|
+
### Authorization
|
14140
|
+
|
14141
|
+
No authorization required
|
14142
|
+
|
14143
|
+
### HTTP request headers
|
14144
|
+
|
14145
|
+
- **Content-Type**: application/json
|
14146
|
+
- **Accept**: application/json
|
14147
|
+
|
14148
|
+
|
13267
14149
|
## update_web_target
|
13268
14150
|
|
13269
14151
|
> <UpdateWebTargetOutput> update_web_target(body)
|