akeyless 2.16.11 → 2.18.0
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 +9 -8
- data/docs/AccountGeneralSettings.md +20 -0
- data/docs/CreateArtifactoryTarget.md +1 -1
- data/docs/CreateAuthMethodK8S.md +2 -2
- data/docs/CreateAuthMethodLDAP.md +3 -1
- data/docs/CreateAuthMethodLDAPOutput.md +3 -1
- data/docs/CreateKeyOutput.md +5 -1
- data/docs/CreateLdapTarget.md +2 -0
- data/docs/CreatePKICertIssuer.md +5 -5
- data/docs/CreateSSHCertIssuer.md +1 -1
- data/docs/CreateSalesforceTarget.md +7 -3
- data/docs/CreateSecret.md +11 -19
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DataProtectionSection.md +18 -0
- data/docs/Decrypt.md +3 -1
- data/docs/DecryptFile.md +6 -0
- data/docs/DecryptPKCS1.md +5 -1
- data/docs/DeleteItem.md +2 -2
- data/docs/DescribeItem.md +4 -0
- data/docs/DescribeSubClaims.md +20 -0
- data/docs/DescribeSubClaimsOutput.md +18 -0
- data/docs/Encrypt.md +3 -1
- data/docs/EncryptFile.md +4 -0
- data/docs/EncryptPKCS1.md +5 -1
- data/docs/GatewayCreateK8SAuthConfig.md +10 -4
- data/docs/GatewayCreateProducerDockerhub.md +1 -1
- data/docs/GatewayGetK8SAuthConfigOutput.md +7 -1
- data/docs/GatewayRevokeTmpUsers.md +4 -2
- data/docs/GatewayUpdateK8SAuthConfig.md +10 -4
- data/docs/GatewayUpdateLdapAuthConfig.md +2 -2
- data/docs/GatewayUpdateProducerDockerhub.md +1 -1
- data/docs/GetAccountSettingsCommandOutput.md +2 -0
- data/docs/GetSecretValue.md +2 -2
- data/docs/Item.md +2 -0
- data/docs/K8SAuth.md +7 -1
- data/docs/KubernetesAccessRules.md +2 -0
- data/docs/LDAPAccessRules.md +2 -0
- data/docs/ListItems.md +2 -2
- data/docs/LogForwardingConfigPart.md +2 -0
- data/docs/RuleAssigner.md +20 -0
- data/docs/SignPKCS1.md +5 -1
- data/docs/TargetTypeDetailsInput.md +5 -1
- data/docs/UpdateAccountSettings.md +13 -1
- data/docs/UpdateAuthMethodK8S.md +2 -2
- data/docs/UpdateAuthMethodLDAP.md +3 -1
- data/docs/UpdateAuthMethodLDAPOutput.md +18 -0
- data/docs/UpdateItem.md +2 -2
- data/docs/UpdateLdapTarget.md +2 -0
- data/docs/UpdateSalesforceTarget.md +7 -3
- data/docs/UpdateSecretVal.md +11 -9
- data/docs/V2Api.md +46 -109
- data/docs/VerifyPKCS1.md +4 -0
- data/lib/akeyless/api/v2_api.rb +43 -107
- data/lib/akeyless/models/account_general_settings.rb +229 -0
- data/lib/akeyless/models/create_artifactory_target.rb +1 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +2 -2
- data/lib/akeyless/models/create_auth_method_ldap.rb +14 -2
- data/lib/akeyless/models/create_auth_method_ldap_output.rb +13 -4
- data/lib/akeyless/models/create_key_output.rb +22 -4
- data/lib/akeyless/models/create_ldap_target.rb +13 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +5 -5
- data/lib/akeyless/models/create_salesforce_target.rb +29 -19
- data/lib/akeyless/models/create_secret.rb +50 -90
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +1 -1
- data/lib/akeyless/models/data_protection_section.rb +220 -0
- data/lib/akeyless/models/decrypt.rb +16 -1
- data/lib/akeyless/models/decrypt_file.rb +36 -1
- data/lib/akeyless/models/decrypt_pkcs1.rb +22 -2
- data/lib/akeyless/models/delete_item.rb +11 -11
- data/lib/akeyless/models/describe_item.rb +21 -1
- data/lib/akeyless/models/describe_sub_claims.rb +231 -0
- data/lib/akeyless/models/describe_sub_claims_output.rb +221 -0
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/encrypt.rb +16 -1
- data/lib/akeyless/models/encrypt_file.rb +21 -1
- data/lib/akeyless/models/encrypt_pkcs1.rb +22 -2
- data/lib/akeyless/models/gateway_create_k8_s_auth_config.rb +38 -4
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +1 -1
- data/lib/akeyless/models/gateway_get_k8_s_auth_config_output.rb +32 -2
- data/lib/akeyless/models/gateway_revoke_tmp_users.rb +14 -2
- data/lib/akeyless/models/gateway_update_k8_s_auth_config.rb +38 -4
- data/lib/akeyless/models/gateway_update_ldap_auth_config.rb +2 -2
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +1 -1
- data/lib/akeyless/models/get_account_settings_command_output.rb +10 -1
- data/lib/akeyless/models/get_secret_value.rb +7 -7
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/k8_s_auth.rb +32 -2
- data/lib/akeyless/models/kubernetes_access_rules.rb +11 -1
- data/lib/akeyless/models/ldap_access_rules.rb +11 -1
- data/lib/akeyless/models/list_items.rb +11 -11
- data/lib/akeyless/models/log_forwarding_config_part.rb +10 -1
- data/lib/akeyless/models/rule_assigner.rb +228 -0
- data/lib/akeyless/models/sign_pkcs1.rb +21 -6
- data/lib/akeyless/models/target_type_details_input.rb +23 -1
- data/lib/akeyless/models/update_account_settings.rb +64 -4
- data/lib/akeyless/models/update_auth_method_k8_s.rb +2 -4
- data/lib/akeyless/models/update_auth_method_ldap.rb +12 -2
- data/lib/akeyless/models/update_auth_method_ldap_output.rb +219 -0
- data/lib/akeyless/models/update_item.rb +11 -11
- data/lib/akeyless/models/update_ldap_target.rb +11 -1
- data/lib/akeyless/models/update_salesforce_target.rb +29 -19
- data/lib/akeyless/models/update_secret_val.rb +52 -42
- data/lib/akeyless/models/verify_pkcs1.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +6 -4
- data/spec/models/account_general_settings_spec.rb +34 -0
- data/spec/models/data_protection_section_spec.rb +34 -0
- data/spec/models/describe_sub_claims_output_spec.rb +34 -0
- data/spec/models/describe_sub_claims_spec.rb +40 -0
- data/spec/models/rule_assigner_spec.rb +40 -0
- data/spec/models/update_auth_method_ldap_output_spec.rb +34 -0
- metadata +525 -501
data/docs/UpdateSecretVal.md
CHANGED
|
@@ -4,18 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **item_accessibility** | **String** | for personal password manager | [optional] |
|
|
7
|
+
| **accessibility** | **String** | for personal password manager | [optional] |
|
|
9
8
|
| **keep_prev_version** | **String** | | [optional] |
|
|
10
9
|
| **key** | **String** | The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
|
11
10
|
| **multiline** | **Boolean** | The provided value is a multiline value (separated by '\\n') | [optional] |
|
|
12
11
|
| **name** | **String** | Secret name | |
|
|
13
12
|
| **new_version** | **Boolean** | Deprecated | [optional] |
|
|
13
|
+
| **password_manager_custom_field** | **Hash<String, String>** | For Password Management use, additional fields | [optional] |
|
|
14
|
+
| **password_manager_inject_url** | **String** | For Password Management use, reflect the website context | [optional] |
|
|
15
|
+
| **password_manager_password** | **String** | For Password Management use, additional fields | [optional] |
|
|
16
|
+
| **password_manager_username** | **String** | For Password Management use | [optional] |
|
|
14
17
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
|
15
18
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
|
16
|
-
| **username** | **String** | For Password Management use | [optional] |
|
|
17
19
|
| **value** | **String** | The new secret value | |
|
|
18
|
-
| **website** | **String** | For Password Management use, reflect the website context | [optional] |
|
|
19
20
|
|
|
20
21
|
## Example
|
|
21
22
|
|
|
@@ -23,18 +24,19 @@
|
|
|
23
24
|
require 'akeyless'
|
|
24
25
|
|
|
25
26
|
instance = Akeyless::UpdateSecretVal.new(
|
|
26
|
-
|
|
27
|
-
item_accessibility: null,
|
|
27
|
+
accessibility: null,
|
|
28
28
|
keep_prev_version: null,
|
|
29
29
|
key: null,
|
|
30
30
|
multiline: null,
|
|
31
31
|
name: null,
|
|
32
32
|
new_version: null,
|
|
33
|
+
password_manager_custom_field: null,
|
|
34
|
+
password_manager_inject_url: null,
|
|
35
|
+
password_manager_password: null,
|
|
36
|
+
password_manager_username: null,
|
|
33
37
|
token: null,
|
|
34
38
|
uid_token: null,
|
|
35
|
-
|
|
36
|
-
value: null,
|
|
37
|
-
website: null
|
|
39
|
+
value: null
|
|
38
40
|
)
|
|
39
41
|
```
|
|
40
42
|
|
data/docs/V2Api.md
CHANGED
|
@@ -62,9 +62,9 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
62
62
|
| [**delete_targets**](V2Api.md#delete_targets) | **POST** /delete-targets | |
|
|
63
63
|
| [**describe_item**](V2Api.md#describe_item) | **POST** /describe-item | |
|
|
64
64
|
| [**describe_permissions**](V2Api.md#describe_permissions) | **POST** /describe-permissions | |
|
|
65
|
+
| [**describe_sub_claims**](V2Api.md#describe_sub_claims) | **POST** /describe-sub-claims | |
|
|
65
66
|
| [**detokenize**](V2Api.md#detokenize) | **POST** /detokenize | |
|
|
66
67
|
| [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
|
|
67
|
-
| [**encrypt_pkcs1**](V2Api.md#encrypt_pkcs1) | **POST** /encrypt-pkcs1 | |
|
|
68
68
|
| [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
|
|
69
69
|
| [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
|
|
70
70
|
| [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
|
|
@@ -84,7 +84,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
84
84
|
| [**gateway_create_producer_mongo**](V2Api.md#gateway_create_producer_mongo) | **POST** /gateway-create-producer-mongo | |
|
|
85
85
|
| [**gateway_create_producer_mssql**](V2Api.md#gateway_create_producer_mssql) | **POST** /gateway-create-producer-mssql | |
|
|
86
86
|
| [**gateway_create_producer_my_sql**](V2Api.md#gateway_create_producer_my_sql) | **POST** /gateway-create-producer-mysql | |
|
|
87
|
-
| [**gateway_create_producer_native_k8_s**](V2Api.md#gateway_create_producer_native_k8_s) | **POST** /gateway-create-producer-k8s
|
|
87
|
+
| [**gateway_create_producer_native_k8_s**](V2Api.md#gateway_create_producer_native_k8_s) | **POST** /gateway-create-producer-k8s | |
|
|
88
88
|
| [**gateway_create_producer_oracle_db**](V2Api.md#gateway_create_producer_oracle_db) | **POST** /gateway-create-producer-oracle | |
|
|
89
89
|
| [**gateway_create_producer_postgre_sql**](V2Api.md#gateway_create_producer_postgre_sql) | **POST** /gateway-create-producer-postgresql | |
|
|
90
90
|
| [**gateway_create_producer_rabbit_mq**](V2Api.md#gateway_create_producer_rabbit_mq) | **POST** /gateway-create-producer-rabbitmq | |
|
|
@@ -230,7 +230,6 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
230
230
|
| [**update_ssh_target_details**](V2Api.md#update_ssh_target_details) | **POST** /update-ssh-target-details | |
|
|
231
231
|
| [**update_target**](V2Api.md#update_target) | **POST** /update-target | |
|
|
232
232
|
| [**update_target_details**](V2Api.md#update_target_details) | **POST** /update-target-details | |
|
|
233
|
-
| [**update_tokenizer**](V2Api.md#update_tokenizer) | **POST** /update-tokenizer | |
|
|
234
233
|
| [**update_web_target**](V2Api.md#update_web_target) | **POST** /update-web-target | |
|
|
235
234
|
| [**update_web_target_details**](V2Api.md#update_web_target_details) | **POST** /update-web-target-details | |
|
|
236
235
|
| [**upload_rsa**](V2Api.md#upload_rsa) | **POST** /upload-rsa | |
|
|
@@ -2423,7 +2422,7 @@ require 'time'
|
|
|
2423
2422
|
require 'akeyless'
|
|
2424
2423
|
|
|
2425
2424
|
api_instance = Akeyless::V2Api.new
|
|
2426
|
-
body = Akeyless::CreateSalesforceTarget.new({
|
|
2425
|
+
body = Akeyless::CreateSalesforceTarget.new({auth_flow: 'auth_flow_example', client_id: 'client_id_example', email: 'email_example', name: 'name_example', tenant_url: 'tenant_url_example'}) # CreateSalesforceTarget |
|
|
2427
2426
|
|
|
2428
2427
|
begin
|
|
2429
2428
|
|
|
@@ -2857,7 +2856,7 @@ require 'time'
|
|
|
2857
2856
|
require 'akeyless'
|
|
2858
2857
|
|
|
2859
2858
|
api_instance = Akeyless::V2Api.new
|
|
2860
|
-
body = Akeyless::Decrypt.new # Decrypt |
|
|
2859
|
+
body = Akeyless::Decrypt.new({key_name: 'key_name_example'}) # Decrypt |
|
|
2861
2860
|
|
|
2862
2861
|
begin
|
|
2863
2862
|
|
|
@@ -3836,9 +3835,9 @@ No authorization required
|
|
|
3836
3835
|
- **Accept**: application/json
|
|
3837
3836
|
|
|
3838
3837
|
|
|
3839
|
-
##
|
|
3838
|
+
## describe_sub_claims
|
|
3840
3839
|
|
|
3841
|
-
> <
|
|
3840
|
+
> <DescribeSubClaimsOutput> describe_sub_claims(body)
|
|
3842
3841
|
|
|
3843
3842
|
|
|
3844
3843
|
|
|
@@ -3849,32 +3848,32 @@ require 'time'
|
|
|
3849
3848
|
require 'akeyless'
|
|
3850
3849
|
|
|
3851
3850
|
api_instance = Akeyless::V2Api.new
|
|
3852
|
-
body = Akeyless::
|
|
3851
|
+
body = Akeyless::DescribeSubClaims.new # DescribeSubClaims |
|
|
3853
3852
|
|
|
3854
3853
|
begin
|
|
3855
3854
|
|
|
3856
|
-
result = api_instance.
|
|
3855
|
+
result = api_instance.describe_sub_claims(body)
|
|
3857
3856
|
p result
|
|
3858
3857
|
rescue Akeyless::ApiError => e
|
|
3859
|
-
puts "Error when calling V2Api->
|
|
3858
|
+
puts "Error when calling V2Api->describe_sub_claims: #{e}"
|
|
3860
3859
|
end
|
|
3861
3860
|
```
|
|
3862
3861
|
|
|
3863
|
-
#### Using the
|
|
3862
|
+
#### Using the describe_sub_claims_with_http_info variant
|
|
3864
3863
|
|
|
3865
3864
|
This returns an Array which contains the response data, status code and headers.
|
|
3866
3865
|
|
|
3867
|
-
> <Array(<
|
|
3866
|
+
> <Array(<DescribeSubClaimsOutput>, Integer, Hash)> describe_sub_claims_with_http_info(body)
|
|
3868
3867
|
|
|
3869
3868
|
```ruby
|
|
3870
3869
|
begin
|
|
3871
3870
|
|
|
3872
|
-
data, status_code, headers = api_instance.
|
|
3871
|
+
data, status_code, headers = api_instance.describe_sub_claims_with_http_info(body)
|
|
3873
3872
|
p status_code # => 2xx
|
|
3874
3873
|
p headers # => { ... }
|
|
3875
|
-
p data # => <
|
|
3874
|
+
p data # => <DescribeSubClaimsOutput>
|
|
3876
3875
|
rescue Akeyless::ApiError => e
|
|
3877
|
-
puts "Error when calling V2Api->
|
|
3876
|
+
puts "Error when calling V2Api->describe_sub_claims_with_http_info: #{e}"
|
|
3878
3877
|
end
|
|
3879
3878
|
```
|
|
3880
3879
|
|
|
@@ -3882,11 +3881,11 @@ end
|
|
|
3882
3881
|
|
|
3883
3882
|
| Name | Type | Description | Notes |
|
|
3884
3883
|
| ---- | ---- | ----------- | ----- |
|
|
3885
|
-
| **body** | [**
|
|
3884
|
+
| **body** | [**DescribeSubClaims**](DescribeSubClaims.md) | | |
|
|
3886
3885
|
|
|
3887
3886
|
### Return type
|
|
3888
3887
|
|
|
3889
|
-
[**
|
|
3888
|
+
[**DescribeSubClaimsOutput**](DescribeSubClaimsOutput.md)
|
|
3890
3889
|
|
|
3891
3890
|
### Authorization
|
|
3892
3891
|
|
|
@@ -3898,9 +3897,9 @@ No authorization required
|
|
|
3898
3897
|
- **Accept**: application/json
|
|
3899
3898
|
|
|
3900
3899
|
|
|
3901
|
-
##
|
|
3900
|
+
## detokenize
|
|
3902
3901
|
|
|
3903
|
-
> <
|
|
3902
|
+
> <DetokenizeOutput> detokenize(body)
|
|
3904
3903
|
|
|
3905
3904
|
|
|
3906
3905
|
|
|
@@ -3911,32 +3910,32 @@ require 'time'
|
|
|
3911
3910
|
require 'akeyless'
|
|
3912
3911
|
|
|
3913
3912
|
api_instance = Akeyless::V2Api.new
|
|
3914
|
-
body = Akeyless::
|
|
3913
|
+
body = Akeyless::Detokenize.new({ciphertext: 'ciphertext_example', tokenizer_name: 'tokenizer_name_example'}) # Detokenize |
|
|
3915
3914
|
|
|
3916
3915
|
begin
|
|
3917
3916
|
|
|
3918
|
-
result = api_instance.
|
|
3917
|
+
result = api_instance.detokenize(body)
|
|
3919
3918
|
p result
|
|
3920
3919
|
rescue Akeyless::ApiError => e
|
|
3921
|
-
puts "Error when calling V2Api->
|
|
3920
|
+
puts "Error when calling V2Api->detokenize: #{e}"
|
|
3922
3921
|
end
|
|
3923
3922
|
```
|
|
3924
3923
|
|
|
3925
|
-
#### Using the
|
|
3924
|
+
#### Using the detokenize_with_http_info variant
|
|
3926
3925
|
|
|
3927
3926
|
This returns an Array which contains the response data, status code and headers.
|
|
3928
3927
|
|
|
3929
|
-
> <Array(<
|
|
3928
|
+
> <Array(<DetokenizeOutput>, Integer, Hash)> detokenize_with_http_info(body)
|
|
3930
3929
|
|
|
3931
3930
|
```ruby
|
|
3932
3931
|
begin
|
|
3933
3932
|
|
|
3934
|
-
data, status_code, headers = api_instance.
|
|
3933
|
+
data, status_code, headers = api_instance.detokenize_with_http_info(body)
|
|
3935
3934
|
p status_code # => 2xx
|
|
3936
3935
|
p headers # => { ... }
|
|
3937
|
-
p data # => <
|
|
3936
|
+
p data # => <DetokenizeOutput>
|
|
3938
3937
|
rescue Akeyless::ApiError => e
|
|
3939
|
-
puts "Error when calling V2Api->
|
|
3938
|
+
puts "Error when calling V2Api->detokenize_with_http_info: #{e}"
|
|
3940
3939
|
end
|
|
3941
3940
|
```
|
|
3942
3941
|
|
|
@@ -3944,11 +3943,11 @@ end
|
|
|
3944
3943
|
|
|
3945
3944
|
| Name | Type | Description | Notes |
|
|
3946
3945
|
| ---- | ---- | ----------- | ----- |
|
|
3947
|
-
| **body** | [**
|
|
3946
|
+
| **body** | [**Detokenize**](Detokenize.md) | | |
|
|
3948
3947
|
|
|
3949
3948
|
### Return type
|
|
3950
3949
|
|
|
3951
|
-
[**
|
|
3950
|
+
[**DetokenizeOutput**](DetokenizeOutput.md)
|
|
3952
3951
|
|
|
3953
3952
|
### Authorization
|
|
3954
3953
|
|
|
@@ -3960,9 +3959,9 @@ No authorization required
|
|
|
3960
3959
|
- **Accept**: application/json
|
|
3961
3960
|
|
|
3962
3961
|
|
|
3963
|
-
##
|
|
3962
|
+
## encrypt
|
|
3964
3963
|
|
|
3965
|
-
> <
|
|
3964
|
+
> <EncryptOutput> encrypt(body)
|
|
3966
3965
|
|
|
3967
3966
|
|
|
3968
3967
|
|
|
@@ -3973,32 +3972,32 @@ require 'time'
|
|
|
3973
3972
|
require 'akeyless'
|
|
3974
3973
|
|
|
3975
3974
|
api_instance = Akeyless::V2Api.new
|
|
3976
|
-
body = Akeyless::
|
|
3975
|
+
body = Akeyless::Encrypt.new({key_name: 'key_name_example'}) # Encrypt |
|
|
3977
3976
|
|
|
3978
3977
|
begin
|
|
3979
3978
|
|
|
3980
|
-
result = api_instance.
|
|
3979
|
+
result = api_instance.encrypt(body)
|
|
3981
3980
|
p result
|
|
3982
3981
|
rescue Akeyless::ApiError => e
|
|
3983
|
-
puts "Error when calling V2Api->
|
|
3982
|
+
puts "Error when calling V2Api->encrypt: #{e}"
|
|
3984
3983
|
end
|
|
3985
3984
|
```
|
|
3986
3985
|
|
|
3987
|
-
#### Using the
|
|
3986
|
+
#### Using the encrypt_with_http_info variant
|
|
3988
3987
|
|
|
3989
3988
|
This returns an Array which contains the response data, status code and headers.
|
|
3990
3989
|
|
|
3991
|
-
> <Array(<
|
|
3990
|
+
> <Array(<EncryptOutput>, Integer, Hash)> encrypt_with_http_info(body)
|
|
3992
3991
|
|
|
3993
3992
|
```ruby
|
|
3994
3993
|
begin
|
|
3995
3994
|
|
|
3996
|
-
data, status_code, headers = api_instance.
|
|
3995
|
+
data, status_code, headers = api_instance.encrypt_with_http_info(body)
|
|
3997
3996
|
p status_code # => 2xx
|
|
3998
3997
|
p headers # => { ... }
|
|
3999
|
-
p data # => <
|
|
3998
|
+
p data # => <EncryptOutput>
|
|
4000
3999
|
rescue Akeyless::ApiError => e
|
|
4001
|
-
puts "Error when calling V2Api->
|
|
4000
|
+
puts "Error when calling V2Api->encrypt_with_http_info: #{e}"
|
|
4002
4001
|
end
|
|
4003
4002
|
```
|
|
4004
4003
|
|
|
@@ -4006,11 +4005,11 @@ end
|
|
|
4006
4005
|
|
|
4007
4006
|
| Name | Type | Description | Notes |
|
|
4008
4007
|
| ---- | ---- | ----------- | ----- |
|
|
4009
|
-
| **body** | [**
|
|
4008
|
+
| **body** | [**Encrypt**](Encrypt.md) | | |
|
|
4010
4009
|
|
|
4011
4010
|
### Return type
|
|
4012
4011
|
|
|
4013
|
-
[**
|
|
4012
|
+
[**EncryptOutput**](EncryptOutput.md)
|
|
4014
4013
|
|
|
4015
4014
|
### Authorization
|
|
4016
4015
|
|
|
@@ -11127,7 +11126,7 @@ require 'time'
|
|
|
11127
11126
|
require 'akeyless'
|
|
11128
11127
|
|
|
11129
11128
|
api_instance = Akeyless::V2Api.new
|
|
11130
|
-
body = Akeyless::SignPKCS1.new({
|
|
11129
|
+
body = Akeyless::SignPKCS1.new({message: 'message_example'}) # SignPKCS1 |
|
|
11131
11130
|
|
|
11132
11131
|
begin
|
|
11133
11132
|
|
|
@@ -12232,7 +12231,7 @@ No authorization required
|
|
|
12232
12231
|
|
|
12233
12232
|
## update_auth_method_ldap
|
|
12234
12233
|
|
|
12235
|
-
>
|
|
12234
|
+
> <UpdateAuthMethodLDAPOutput> update_auth_method_ldap(body)
|
|
12236
12235
|
|
|
12237
12236
|
|
|
12238
12237
|
|
|
@@ -12258,7 +12257,7 @@ end
|
|
|
12258
12257
|
|
|
12259
12258
|
This returns an Array which contains the response data, status code and headers.
|
|
12260
12259
|
|
|
12261
|
-
> <Array(
|
|
12260
|
+
> <Array(<UpdateAuthMethodLDAPOutput>, Integer, Hash)> update_auth_method_ldap_with_http_info(body)
|
|
12262
12261
|
|
|
12263
12262
|
```ruby
|
|
12264
12263
|
begin
|
|
@@ -12266,7 +12265,7 @@ begin
|
|
|
12266
12265
|
data, status_code, headers = api_instance.update_auth_method_ldap_with_http_info(body)
|
|
12267
12266
|
p status_code # => 2xx
|
|
12268
12267
|
p headers # => { ... }
|
|
12269
|
-
p data # =>
|
|
12268
|
+
p data # => <UpdateAuthMethodLDAPOutput>
|
|
12270
12269
|
rescue Akeyless::ApiError => e
|
|
12271
12270
|
puts "Error when calling V2Api->update_auth_method_ldap_with_http_info: #{e}"
|
|
12272
12271
|
end
|
|
@@ -12280,7 +12279,7 @@ end
|
|
|
12280
12279
|
|
|
12281
12280
|
### Return type
|
|
12282
12281
|
|
|
12283
|
-
**
|
|
12282
|
+
[**UpdateAuthMethodLDAPOutput**](UpdateAuthMethodLDAPOutput.md)
|
|
12284
12283
|
|
|
12285
12284
|
### Authorization
|
|
12286
12285
|
|
|
@@ -13852,7 +13851,7 @@ require 'time'
|
|
|
13852
13851
|
require 'akeyless'
|
|
13853
13852
|
|
|
13854
13853
|
api_instance = Akeyless::V2Api.new
|
|
13855
|
-
body = Akeyless::UpdateSalesforceTarget.new({
|
|
13854
|
+
body = Akeyless::UpdateSalesforceTarget.new({auth_flow: 'auth_flow_example', client_id: 'client_id_example', email: 'email_example', name: 'name_example', tenant_url: 'tenant_url_example'}) # UpdateSalesforceTarget |
|
|
13856
13855
|
|
|
13857
13856
|
begin
|
|
13858
13857
|
|
|
@@ -14273,68 +14272,6 @@ No authorization required
|
|
|
14273
14272
|
- **Accept**: application/json
|
|
14274
14273
|
|
|
14275
14274
|
|
|
14276
|
-
## update_tokenizer
|
|
14277
|
-
|
|
14278
|
-
> <UpdateTokenizerOutput> update_tokenizer(body)
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14282
|
-
### Examples
|
|
14283
|
-
|
|
14284
|
-
```ruby
|
|
14285
|
-
require 'time'
|
|
14286
|
-
require 'akeyless'
|
|
14287
|
-
|
|
14288
|
-
api_instance = Akeyless::V2Api.new
|
|
14289
|
-
body = Akeyless::UpdateTokenizer.new({name: 'name_example', template_type: 'template_type_example', tokenizer_type: 'tokenizer_type_example'}) # UpdateTokenizer |
|
|
14290
|
-
|
|
14291
|
-
begin
|
|
14292
|
-
|
|
14293
|
-
result = api_instance.update_tokenizer(body)
|
|
14294
|
-
p result
|
|
14295
|
-
rescue Akeyless::ApiError => e
|
|
14296
|
-
puts "Error when calling V2Api->update_tokenizer: #{e}"
|
|
14297
|
-
end
|
|
14298
|
-
```
|
|
14299
|
-
|
|
14300
|
-
#### Using the update_tokenizer_with_http_info variant
|
|
14301
|
-
|
|
14302
|
-
This returns an Array which contains the response data, status code and headers.
|
|
14303
|
-
|
|
14304
|
-
> <Array(<UpdateTokenizerOutput>, Integer, Hash)> update_tokenizer_with_http_info(body)
|
|
14305
|
-
|
|
14306
|
-
```ruby
|
|
14307
|
-
begin
|
|
14308
|
-
|
|
14309
|
-
data, status_code, headers = api_instance.update_tokenizer_with_http_info(body)
|
|
14310
|
-
p status_code # => 2xx
|
|
14311
|
-
p headers # => { ... }
|
|
14312
|
-
p data # => <UpdateTokenizerOutput>
|
|
14313
|
-
rescue Akeyless::ApiError => e
|
|
14314
|
-
puts "Error when calling V2Api->update_tokenizer_with_http_info: #{e}"
|
|
14315
|
-
end
|
|
14316
|
-
```
|
|
14317
|
-
|
|
14318
|
-
### Parameters
|
|
14319
|
-
|
|
14320
|
-
| Name | Type | Description | Notes |
|
|
14321
|
-
| ---- | ---- | ----------- | ----- |
|
|
14322
|
-
| **body** | [**UpdateTokenizer**](UpdateTokenizer.md) | | |
|
|
14323
|
-
|
|
14324
|
-
### Return type
|
|
14325
|
-
|
|
14326
|
-
[**UpdateTokenizerOutput**](UpdateTokenizerOutput.md)
|
|
14327
|
-
|
|
14328
|
-
### Authorization
|
|
14329
|
-
|
|
14330
|
-
No authorization required
|
|
14331
|
-
|
|
14332
|
-
### HTTP request headers
|
|
14333
|
-
|
|
14334
|
-
- **Content-Type**: application/json
|
|
14335
|
-
- **Accept**: application/json
|
|
14336
|
-
|
|
14337
|
-
|
|
14338
14275
|
## update_web_target
|
|
14339
14276
|
|
|
14340
14277
|
> <UpdateWebTargetOutput> update_web_target(body)
|
data/docs/VerifyPKCS1.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **display_id** | **String** | The display id of the key to use in the verification process | [optional] |
|
|
8
|
+
| **item_id** | **Integer** | The item id of the key to use in the verification process | [optional] |
|
|
7
9
|
| **key_name** | **String** | The name of the RSA key to use in the verification process | |
|
|
8
10
|
| **message** | **String** | The message to be verified | |
|
|
9
11
|
| **signature** | **String** | The message's signature | |
|
|
@@ -16,6 +18,8 @@
|
|
|
16
18
|
require 'akeyless'
|
|
17
19
|
|
|
18
20
|
instance = Akeyless::VerifyPKCS1.new(
|
|
21
|
+
display_id: null,
|
|
22
|
+
item_id: null,
|
|
19
23
|
key_name: null,
|
|
20
24
|
message: null,
|
|
21
25
|
signature: null,
|