akeyless 2.16.6 → 2.16.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/docs/CertAccessRules.md +1 -1
- data/docs/CreateAzureTarget.md +6 -0
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/DSProducerDetails.md +6 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GetRSAPublicOutput.md +1 -1
- data/docs/ListItems.md +2 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/Target.md +2 -0
- data/docs/TargetTypeDetailsInput.md +6 -0
- 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 +2 -0
- data/docs/V2Api.md +126 -0
- data/lib/akeyless/api/v2_api.rb +128 -0
- data/lib/akeyless/models/cert_access_rules.rb +2 -4
- data/lib/akeyless/models/create_azure_target.rb +31 -1
- data/lib/akeyless/models/create_rotated_secret.rb +11 -1
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/ds_producer_details.rb +28 -1
- 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_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/list_items.rb +10 -1
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/target.rb +13 -1
- data/lib/akeyless/models/target_type_details_input.rb +28 -1
- 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 +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +3 -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
- metadata +14 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4c0d98bf5e17c8cd24c1620d89ab5e0e90aa6122a9b5728b0e28a12d88f10fb
|
4
|
+
data.tar.gz: eb74cb66f6be946c1a13460db68d1fc798e4973bd8aec183de83070c91ab863d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7a08d979217aad8d0f3a0263d5ef62f63c2edf92d5f2ed7e5e2594a1d78634417475832594aaa6d4ce65f57fc3cc747e9ce7d7488b50b1c6953e7d71e8be34a
|
7
|
+
data.tar.gz: f61264b9e30a037e858356ccf752e300e36a3c5535286dcc9be39b4c31201dc68be211e6d462c59dfadbd422ed3811acc272550718927f9c2f870f85b432a23e
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The purpose of this application is to provide access to Akeyless API.
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0
|
10
|
-
- Package version: 2.16.
|
10
|
+
- Package version: 2.16.7
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://akeyless.io](http://akeyless.io)
|
13
13
|
|
@@ -265,6 +265,8 @@ Class | Method | HTTP request | Description
|
|
265
265
|
*Akeyless::V2Api* | [**update_github_target**](docs/V2Api.md#update_github_target) | **POST** /update-github-target |
|
266
266
|
*Akeyless::V2Api* | [**update_gke_target**](docs/V2Api.md#update_gke_target) | **POST** /update-gke-target |
|
267
267
|
*Akeyless::V2Api* | [**update_item**](docs/V2Api.md#update_item) | **POST** /update-item |
|
268
|
+
*Akeyless::V2Api* | [**update_ldap_target**](docs/V2Api.md#update_ldap_target) | **POST** /update-ldap-target |
|
269
|
+
*Akeyless::V2Api* | [**update_ldap_target_details**](docs/V2Api.md#update_ldap_target_details) | **POST** /update-ldap-target-details |
|
268
270
|
*Akeyless::V2Api* | [**update_native_k8_s_target**](docs/V2Api.md#update_native_k8_s_target) | **POST** /update-k8s-target |
|
269
271
|
*Akeyless::V2Api* | [**update_pki_cert_issuer**](docs/V2Api.md#update_pki_cert_issuer) | **POST** /update-pki-cert-issuer |
|
270
272
|
*Akeyless::V2Api* | [**update_rabbit_mq_target**](docs/V2Api.md#update_rabbit_mq_target) | **POST** /update-rabbitmq-target |
|
@@ -779,6 +781,9 @@ Class | Method | HTTP request | Description
|
|
779
781
|
- [Akeyless::UpdateGithubTargetOutput](docs/UpdateGithubTargetOutput.md)
|
780
782
|
- [Akeyless::UpdateItem](docs/UpdateItem.md)
|
781
783
|
- [Akeyless::UpdateItemOutput](docs/UpdateItemOutput.md)
|
784
|
+
- [Akeyless::UpdateLdapTarget](docs/UpdateLdapTarget.md)
|
785
|
+
- [Akeyless::UpdateLdapTargetDetails](docs/UpdateLdapTargetDetails.md)
|
786
|
+
- [Akeyless::UpdateLdapTargetOutput](docs/UpdateLdapTargetOutput.md)
|
782
787
|
- [Akeyless::UpdateNativeK8STarget](docs/UpdateNativeK8STarget.md)
|
783
788
|
- [Akeyless::UpdateNativeK8STargetOutput](docs/UpdateNativeK8STargetOutput.md)
|
784
789
|
- [Akeyless::UpdateOutput](docs/UpdateOutput.md)
|
data/docs/CertAccessRules.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
| **bound_extensions** | **Array<String>** | A list of extensions formatted as \"oid:value\". Expects the extension value to be some type of ASN1 encoded string. All values must match. Supports globbing on \"value\". | [optional] |
|
11
11
|
| **bound_organizational_units** | **Array<String>** | A list of Organizational Units names. At least one must exist in the OU field. | [optional] |
|
12
12
|
| **bound_uri_sans** | **Array<String>** | A list of URIs. At least one must exist in the SANs. Supports globbing. | [optional] |
|
13
|
-
| **certificate** | **
|
13
|
+
| **certificate** | **String** | Base64 encdoed PEM certificate | [optional] |
|
14
14
|
| **revoked_cert_ids** | **Array<String>** | A list of revoked cert ids | [optional] |
|
15
15
|
| **unique_identifier** | **String** | A unique identifier to distinguish different users | [optional] |
|
16
16
|
|
data/docs/CreateAzureTarget.md
CHANGED
@@ -9,6 +9,9 @@
|
|
9
9
|
| **comment** | **String** | Comment about the target | [optional] |
|
10
10
|
| **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
11
11
|
| **name** | **String** | Target name | |
|
12
|
+
| **resource_group_name** | **String** | The Resource Group name in your Azure subscription | [optional] |
|
13
|
+
| **resource_name** | **String** | The name of the relevant Resource | [optional] |
|
14
|
+
| **subscription_id** | **String** | Azure Subscription Id | [optional] |
|
12
15
|
| **tenant_id** | **String** | | [optional] |
|
13
16
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
14
17
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
@@ -25,6 +28,9 @@ instance = Akeyless::CreateAzureTarget.new(
|
|
25
28
|
comment: null,
|
26
29
|
key: null,
|
27
30
|
name: null,
|
31
|
+
resource_group_name: null,
|
32
|
+
resource_name: null,
|
33
|
+
subscription_id: null,
|
28
34
|
tenant_id: null,
|
29
35
|
token: null,
|
30
36
|
uid_token: null,
|
data/docs/CreateRotatedSecret.md
CHANGED
@@ -36,6 +36,7 @@
|
|
36
36
|
| **secure_access_web_proxy** | **Boolean** | Secure Access Web Proxy (used in aws, azure) | [optional][default to false] |
|
37
37
|
| **ssh_password** | **String** | Deprecated: use RotatedPassword | [optional] |
|
38
38
|
| **ssh_username** | **String** | Deprecated: use RotatedUser | [optional] |
|
39
|
+
| **storage_account_key_name** | **String** | The name of the storage account key to rotate [key1/key2/kerb1/kerb2] (relevat to azure-storage-account) | [optional] |
|
39
40
|
| **tags** | **Array<String>** | List of the tags attached to this secret | [optional] |
|
40
41
|
| **target_name** | **String** | Target name | |
|
41
42
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
@@ -81,6 +82,7 @@ instance = Akeyless::CreateRotatedSecret.new(
|
|
81
82
|
secure_access_web_proxy: null,
|
82
83
|
ssh_password: null,
|
83
84
|
ssh_username: null,
|
85
|
+
storage_account_key_name: null,
|
84
86
|
tags: null,
|
85
87
|
target_name: null,
|
86
88
|
token: null,
|
data/docs/DSProducerDetails.md
CHANGED
@@ -28,6 +28,9 @@
|
|
28
28
|
| **azure_client_secret** | **String** | | [optional] |
|
29
29
|
| **azure_fixed_user_name_sub_claim_key** | **String** | | [optional] |
|
30
30
|
| **azure_fixed_user_only** | **Boolean** | | [optional] |
|
31
|
+
| **azure_resource_group_name** | **String** | | [optional] |
|
32
|
+
| **azure_resource_name** | **String** | | [optional] |
|
33
|
+
| **azure_subscription_id** | **String** | | [optional] |
|
31
34
|
| **azure_tenant_id** | **String** | | [optional] |
|
32
35
|
| **azure_user_groups_obj_id** | **String** | | [optional] |
|
33
36
|
| **azure_user_portal_access** | **Boolean** | | [optional] |
|
@@ -204,6 +207,9 @@ instance = Akeyless::DSProducerDetails.new(
|
|
204
207
|
azure_client_secret: null,
|
205
208
|
azure_fixed_user_name_sub_claim_key: null,
|
206
209
|
azure_fixed_user_only: null,
|
210
|
+
azure_resource_group_name: null,
|
211
|
+
azure_resource_name: null,
|
212
|
+
azure_subscription_id: null,
|
207
213
|
azure_tenant_id: null,
|
208
214
|
azure_user_groups_obj_id: null,
|
209
215
|
azure_user_portal_access: null,
|
data/docs/DeleteRoleRule.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **path** | **String** | The path the rule refers to | |
|
8
8
|
| **role_name** | **String** | The role name to be updated | |
|
9
|
-
| **rule_type** | **String** | item-rule, role-rule, auth-method-rule, search-rule or reports-rule | [optional][default to 'item-rule'] |
|
9
|
+
| **rule_type** | **String** | item-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule or sra-reports-rule | [optional][default to 'item-rule'] |
|
10
10
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
11
11
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
12
12
|
|
@@ -16,6 +16,7 @@
|
|
16
16
|
| **rabbitmq_user_write_permission** | **String** | User write permission | [optional] |
|
17
17
|
| **secure_access_enable** | **String** | | [optional] |
|
18
18
|
| **secure_access_url** | **String** | | [optional] |
|
19
|
+
| **secure_access_web** | **Boolean** | Secure Access Web Category | [optional][default to true] |
|
19
20
|
| **secure_access_web_browsing** | **Boolean** | | [optional] |
|
20
21
|
| **secure_access_web_proxy** | **Boolean** | | [optional] |
|
21
22
|
| **tags** | **Array<String>** | List of the tags attached to this secret | [optional] |
|
@@ -42,6 +43,7 @@ instance = Akeyless::GatewayCreateProducerRabbitMQ.new(
|
|
42
43
|
rabbitmq_user_write_permission: null,
|
43
44
|
secure_access_enable: null,
|
44
45
|
secure_access_url: null,
|
46
|
+
secure_access_web: null,
|
45
47
|
secure_access_web_browsing: null,
|
46
48
|
secure_access_web_proxy: null,
|
47
49
|
tags: null,
|
@@ -14,6 +14,7 @@
|
|
14
14
|
| **redshift_username** | **String** | Redshift Username | [optional] |
|
15
15
|
| **secure_access_enable** | **String** | | [optional] |
|
16
16
|
| **secure_access_host** | **Array<String>** | | [optional] |
|
17
|
+
| **ssl** | **Boolean** | SSL connection mode | [optional] |
|
17
18
|
| **tags** | **Array<String>** | List of the tags attached to this secret | [optional] |
|
18
19
|
| **target_name** | **String** | Target name | [optional] |
|
19
20
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
@@ -36,6 +37,7 @@ instance = Akeyless::GatewayCreateProducerRedshift.new(
|
|
36
37
|
redshift_username: null,
|
37
38
|
secure_access_enable: null,
|
38
39
|
secure_access_host: null,
|
40
|
+
ssl: null,
|
39
41
|
tags: null,
|
40
42
|
target_name: null,
|
41
43
|
token: null,
|
@@ -17,6 +17,7 @@
|
|
17
17
|
| **rabbitmq_user_write_permission** | **String** | User write permission | [optional] |
|
18
18
|
| **secure_access_enable** | **String** | | [optional] |
|
19
19
|
| **secure_access_url** | **String** | | [optional] |
|
20
|
+
| **secure_access_web** | **Boolean** | Secure Access Web Category | [optional][default to true] |
|
20
21
|
| **secure_access_web_browsing** | **Boolean** | | [optional] |
|
21
22
|
| **secure_access_web_proxy** | **Boolean** | | [optional] |
|
22
23
|
| **tags** | **Array<String>** | List of the tags attached to this secret | [optional] |
|
@@ -44,6 +45,7 @@ instance = Akeyless::GatewayUpdateProducerRabbitMQ.new(
|
|
44
45
|
rabbitmq_user_write_permission: null,
|
45
46
|
secure_access_enable: null,
|
46
47
|
secure_access_url: null,
|
48
|
+
secure_access_web: null,
|
47
49
|
secure_access_web_browsing: null,
|
48
50
|
secure_access_web_proxy: null,
|
49
51
|
tags: null,
|
@@ -15,6 +15,7 @@
|
|
15
15
|
| **redshift_username** | **String** | Redshift Username | [optional] |
|
16
16
|
| **secure_access_enable** | **String** | | [optional] |
|
17
17
|
| **secure_access_host** | **Array<String>** | | [optional] |
|
18
|
+
| **ssl** | **Boolean** | SSL connection mode | [optional] |
|
18
19
|
| **tags** | **Array<String>** | List of the tags attached to this secret | [optional] |
|
19
20
|
| **target_name** | **String** | Target name | [optional] |
|
20
21
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
@@ -38,6 +39,7 @@ instance = Akeyless::GatewayUpdateProducerRedshift.new(
|
|
38
39
|
redshift_username: null,
|
39
40
|
secure_access_enable: null,
|
40
41
|
secure_access_host: null,
|
42
|
+
ssl: null,
|
41
43
|
tags: null,
|
42
44
|
target_name: null,
|
43
45
|
token: null,
|
data/docs/GetRSAPublicOutput.md
CHANGED
data/docs/ListItems.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **filter** | **String** | Filter by item name or part of it | [optional] |
|
8
|
+
| **minimal_view** | **Boolean** | | [optional] |
|
8
9
|
| **pagination_token** | **String** | Next page reference | [optional] |
|
9
10
|
| **path** | **String** | Path to folder | [optional] |
|
10
11
|
| **tag** | **String** | Filter by item tag | [optional] |
|
@@ -19,6 +20,7 @@ require 'akeyless'
|
|
19
20
|
|
20
21
|
instance = Akeyless::ListItems.new(
|
21
22
|
filter: null,
|
23
|
+
minimal_view: null,
|
22
24
|
pagination_token: null,
|
23
25
|
path: null,
|
24
26
|
tag: null,
|
data/docs/SetRoleRule.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
| **capability** | **Array<String>** | List of the approved/denied capabilities in the path options: [read, create, update, delete, list, deny] | |
|
8
8
|
| **path** | **String** | The path the rule refers to | |
|
9
9
|
| **role_name** | **String** | The role name to be updated | |
|
10
|
-
| **rule_type** | **String** | item-rule, target-rule, role-rule, auth-method-rule, search-rule or reports-rule | [optional][default to 'item-rule'] |
|
10
|
+
| **rule_type** | **String** | item-rule, target-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule or sra-reports-rule | [optional][default to 'item-rule'] |
|
11
11
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
12
12
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
13
13
|
|
data/docs/Target.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **attributes** | **Hash<String, Object>** | this is not \"omitempty\" since an empty value causes no update while an empty map will clear the attributes | [optional] |
|
7
8
|
| **client_permissions** | **Array<String>** | | [optional] |
|
8
9
|
| **comment** | **String** | | [optional] |
|
9
10
|
| **last_version** | **Integer** | | [optional] |
|
@@ -21,6 +22,7 @@
|
|
21
22
|
require 'akeyless'
|
22
23
|
|
23
24
|
instance = Akeyless::Target.new(
|
25
|
+
attributes: null,
|
24
26
|
client_permissions: null,
|
25
27
|
comment: null,
|
26
28
|
last_version: null,
|
@@ -13,6 +13,9 @@
|
|
13
13
|
| **aws_session_token** | **String** | | [optional] |
|
14
14
|
| **azure_client_id** | **String** | | [optional] |
|
15
15
|
| **azure_client_secret** | **String** | | [optional] |
|
16
|
+
| **azure_resource_group_name** | **String** | | [optional] |
|
17
|
+
| **azure_resource_name** | **String** | | [optional] |
|
18
|
+
| **azure_subscription_id** | **String** | | [optional] |
|
16
19
|
| **azure_tenant_id** | **String** | | [optional] |
|
17
20
|
| **ca_cert_data** | **Array<Integer>** | CACertData is the rsa 4096 certificate data in PEM format | [optional] |
|
18
21
|
| **ca_cert_name** | **String** | CACertName is the name of the certificate in SalesForce tenant | [optional] |
|
@@ -107,6 +110,9 @@ instance = Akeyless::TargetTypeDetailsInput.new(
|
|
107
110
|
aws_session_token: null,
|
108
111
|
azure_client_id: null,
|
109
112
|
azure_client_secret: null,
|
113
|
+
azure_resource_group_name: null,
|
114
|
+
azure_resource_name: null,
|
115
|
+
azure_subscription_id: null,
|
110
116
|
azure_tenant_id: null,
|
111
117
|
ca_cert_data: null,
|
112
118
|
ca_cert_name: null,
|
data/docs/UpdateAzureTarget.md
CHANGED
@@ -11,6 +11,9 @@
|
|
11
11
|
| **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
12
12
|
| **name** | **String** | Target name | |
|
13
13
|
| **new_name** | **String** | New target name | [optional] |
|
14
|
+
| **resource_group_name** | **String** | The Resource Group name in your Azure subscription | [optional] |
|
15
|
+
| **resource_name** | **String** | The name of the relevant Resource | [optional] |
|
16
|
+
| **subscription_id** | **String** | Azure Subscription Id | [optional] |
|
14
17
|
| **tenant_id** | **String** | | [optional] |
|
15
18
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
16
19
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
@@ -30,6 +33,9 @@ instance = Akeyless::UpdateAzureTarget.new(
|
|
30
33
|
key: null,
|
31
34
|
name: null,
|
32
35
|
new_name: null,
|
36
|
+
resource_group_name: null,
|
37
|
+
resource_name: null,
|
38
|
+
subscription_id: null,
|
33
39
|
tenant_id: null,
|
34
40
|
token: null,
|
35
41
|
uid_token: null,
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Akeyless::UpdateLdapTarget
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **bind_dn** | **String** | | [optional] |
|
8
|
+
| **bind_dn_password** | **String** | | [optional] |
|
9
|
+
| **comment** | **String** | Comment about the target | [optional] |
|
10
|
+
| **keep_prev_version** | **String** | | [optional] |
|
11
|
+
| **key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
12
|
+
| **ldap_ca_cert** | **String** | | [optional] |
|
13
|
+
| **ldap_url** | **String** | | [optional] |
|
14
|
+
| **name** | **String** | Target name | |
|
15
|
+
| **new_name** | **String** | New target name | [optional] |
|
16
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
17
|
+
| **token_expiration** | **String** | | [optional] |
|
18
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
19
|
+
| **update_version** | **Boolean** | Deprecated | [optional] |
|
20
|
+
|
21
|
+
## Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'akeyless'
|
25
|
+
|
26
|
+
instance = Akeyless::UpdateLdapTarget.new(
|
27
|
+
bind_dn: null,
|
28
|
+
bind_dn_password: null,
|
29
|
+
comment: null,
|
30
|
+
keep_prev_version: null,
|
31
|
+
key: null,
|
32
|
+
ldap_ca_cert: null,
|
33
|
+
ldap_url: null,
|
34
|
+
name: null,
|
35
|
+
new_name: null,
|
36
|
+
token: null,
|
37
|
+
token_expiration: null,
|
38
|
+
uid_token: null,
|
39
|
+
update_version: null
|
40
|
+
)
|
41
|
+
```
|
42
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Akeyless::UpdateLdapTargetDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **bind_dn** | **String** | | [optional] |
|
8
|
+
| **bind_dn_password** | **String** | | [optional] |
|
9
|
+
| **keep_prev_version** | **String** | | [optional] |
|
10
|
+
| **key** | **String** | | [optional] |
|
11
|
+
| **ldap_ca_cert** | **String** | | [optional] |
|
12
|
+
| **ldap_url** | **String** | | [optional] |
|
13
|
+
| **name** | **String** | Target name | |
|
14
|
+
| **new_version** | **Boolean** | Deprecated | [optional] |
|
15
|
+
| **protection_key** | **String** | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
|
16
|
+
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
17
|
+
| **token_expiration** | **String** | | [optional] |
|
18
|
+
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'akeyless'
|
24
|
+
|
25
|
+
instance = Akeyless::UpdateLdapTargetDetails.new(
|
26
|
+
bind_dn: null,
|
27
|
+
bind_dn_password: null,
|
28
|
+
keep_prev_version: null,
|
29
|
+
key: null,
|
30
|
+
ldap_ca_cert: null,
|
31
|
+
ldap_url: null,
|
32
|
+
name: null,
|
33
|
+
new_version: null,
|
34
|
+
protection_key: null,
|
35
|
+
token: null,
|
36
|
+
token_expiration: null,
|
37
|
+
uid_token: null
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Akeyless::UpdateLdapTargetOutput
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **target_id** | **Integer** | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'akeyless'
|
13
|
+
|
14
|
+
instance = Akeyless::UpdateLdapTargetOutput.new(
|
15
|
+
target_id: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/UpdateRotatedSecret.md
CHANGED
@@ -38,6 +38,7 @@
|
|
38
38
|
| **secure_access_web_proxy** | **Boolean** | Secure Access Web Proxy (used in aws, azure) | [optional][default to false] |
|
39
39
|
| **ssh_password** | **String** | Deprecated: use RotatedPassword | [optional] |
|
40
40
|
| **ssh_username** | **String** | Deprecated: use RotatedUser | [optional] |
|
41
|
+
| **storage_account_key_name** | **String** | The name of the storage account key to rotate [key1/key2/kerb1/kerb2] | [optional] |
|
41
42
|
| **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
|
42
43
|
| **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
|
43
44
|
|
@@ -81,6 +82,7 @@ instance = Akeyless::UpdateRotatedSecret.new(
|
|
81
82
|
secure_access_web_proxy: null,
|
82
83
|
ssh_password: null,
|
83
84
|
ssh_username: null,
|
85
|
+
storage_account_key_name: null,
|
84
86
|
token: null,
|
85
87
|
uid_token: null
|
86
88
|
)
|
data/docs/V2Api.md
CHANGED
@@ -210,6 +210,8 @@ All URIs are relative to *https://api.akeyless.io*
|
|
210
210
|
| [**update_github_target**](V2Api.md#update_github_target) | **POST** /update-github-target | |
|
211
211
|
| [**update_gke_target**](V2Api.md#update_gke_target) | **POST** /update-gke-target | |
|
212
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 | |
|
213
215
|
| [**update_native_k8_s_target**](V2Api.md#update_native_k8_s_target) | **POST** /update-k8s-target | |
|
214
216
|
| [**update_pki_cert_issuer**](V2Api.md#update_pki_cert_issuer) | **POST** /update-pki-cert-issuer | |
|
215
217
|
| [**update_rabbit_mq_target**](V2Api.md#update_rabbit_mq_target) | **POST** /update-rabbitmq-target | |
|
@@ -13031,6 +13033,130 @@ No authorization required
|
|
13031
13033
|
- **Accept**: application/json
|
13032
13034
|
|
13033
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
|
+
|
13034
13160
|
## update_native_k8_s_target
|
13035
13161
|
|
13036
13162
|
> <UpdateNativeK8STarget> update_native_k8_s_target(body)
|