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
data/lib/akeyless/api/v2_api.rb
CHANGED
@@ -13117,6 +13117,134 @@ module Akeyless
|
|
13117
13117
|
return data, status_code, headers
|
13118
13118
|
end
|
13119
13119
|
|
13120
|
+
# @param body [UpdateLdapTarget]
|
13121
|
+
# @param [Hash] opts the optional parameters
|
13122
|
+
# @return [UpdateLdapTargetOutput]
|
13123
|
+
def update_ldap_target(body, opts = {})
|
13124
|
+
data, _status_code, _headers = update_ldap_target_with_http_info(body, opts)
|
13125
|
+
data
|
13126
|
+
end
|
13127
|
+
|
13128
|
+
# @param body [UpdateLdapTarget]
|
13129
|
+
# @param [Hash] opts the optional parameters
|
13130
|
+
# @return [Array<(UpdateLdapTargetOutput, Integer, Hash)>] UpdateLdapTargetOutput data, response status code and response headers
|
13131
|
+
def update_ldap_target_with_http_info(body, opts = {})
|
13132
|
+
if @api_client.config.debugging
|
13133
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_ldap_target ...'
|
13134
|
+
end
|
13135
|
+
# verify the required parameter 'body' is set
|
13136
|
+
if @api_client.config.client_side_validation && body.nil?
|
13137
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_ldap_target"
|
13138
|
+
end
|
13139
|
+
# resource path
|
13140
|
+
local_var_path = '/update-ldap-target'
|
13141
|
+
|
13142
|
+
# query parameters
|
13143
|
+
query_params = opts[:query_params] || {}
|
13144
|
+
|
13145
|
+
# header parameters
|
13146
|
+
header_params = opts[:header_params] || {}
|
13147
|
+
# HTTP header 'Accept' (if needed)
|
13148
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
13149
|
+
# HTTP header 'Content-Type'
|
13150
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
13151
|
+
if !content_type.nil?
|
13152
|
+
header_params['Content-Type'] = content_type
|
13153
|
+
end
|
13154
|
+
|
13155
|
+
# form parameters
|
13156
|
+
form_params = opts[:form_params] || {}
|
13157
|
+
|
13158
|
+
# http body (model)
|
13159
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
13160
|
+
|
13161
|
+
# return_type
|
13162
|
+
return_type = opts[:debug_return_type] || 'UpdateLdapTargetOutput'
|
13163
|
+
|
13164
|
+
# auth_names
|
13165
|
+
auth_names = opts[:debug_auth_names] || []
|
13166
|
+
|
13167
|
+
new_options = opts.merge(
|
13168
|
+
:operation => :"V2Api.update_ldap_target",
|
13169
|
+
:header_params => header_params,
|
13170
|
+
:query_params => query_params,
|
13171
|
+
:form_params => form_params,
|
13172
|
+
:body => post_body,
|
13173
|
+
:auth_names => auth_names,
|
13174
|
+
:return_type => return_type
|
13175
|
+
)
|
13176
|
+
|
13177
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
13178
|
+
if @api_client.config.debugging
|
13179
|
+
@api_client.config.logger.debug "API called: V2Api#update_ldap_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
13180
|
+
end
|
13181
|
+
return data, status_code, headers
|
13182
|
+
end
|
13183
|
+
|
13184
|
+
# @param body [UpdateLdapTargetDetails]
|
13185
|
+
# @param [Hash] opts the optional parameters
|
13186
|
+
# @return [UpdateTargetOutput]
|
13187
|
+
def update_ldap_target_details(body, opts = {})
|
13188
|
+
data, _status_code, _headers = update_ldap_target_details_with_http_info(body, opts)
|
13189
|
+
data
|
13190
|
+
end
|
13191
|
+
|
13192
|
+
# @param body [UpdateLdapTargetDetails]
|
13193
|
+
# @param [Hash] opts the optional parameters
|
13194
|
+
# @return [Array<(UpdateTargetOutput, Integer, Hash)>] UpdateTargetOutput data, response status code and response headers
|
13195
|
+
def update_ldap_target_details_with_http_info(body, opts = {})
|
13196
|
+
if @api_client.config.debugging
|
13197
|
+
@api_client.config.logger.debug 'Calling API: V2Api.update_ldap_target_details ...'
|
13198
|
+
end
|
13199
|
+
# verify the required parameter 'body' is set
|
13200
|
+
if @api_client.config.client_side_validation && body.nil?
|
13201
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_ldap_target_details"
|
13202
|
+
end
|
13203
|
+
# resource path
|
13204
|
+
local_var_path = '/update-ldap-target-details'
|
13205
|
+
|
13206
|
+
# query parameters
|
13207
|
+
query_params = opts[:query_params] || {}
|
13208
|
+
|
13209
|
+
# header parameters
|
13210
|
+
header_params = opts[:header_params] || {}
|
13211
|
+
# HTTP header 'Accept' (if needed)
|
13212
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
13213
|
+
# HTTP header 'Content-Type'
|
13214
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
13215
|
+
if !content_type.nil?
|
13216
|
+
header_params['Content-Type'] = content_type
|
13217
|
+
end
|
13218
|
+
|
13219
|
+
# form parameters
|
13220
|
+
form_params = opts[:form_params] || {}
|
13221
|
+
|
13222
|
+
# http body (model)
|
13223
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
13224
|
+
|
13225
|
+
# return_type
|
13226
|
+
return_type = opts[:debug_return_type] || 'UpdateTargetOutput'
|
13227
|
+
|
13228
|
+
# auth_names
|
13229
|
+
auth_names = opts[:debug_auth_names] || []
|
13230
|
+
|
13231
|
+
new_options = opts.merge(
|
13232
|
+
:operation => :"V2Api.update_ldap_target_details",
|
13233
|
+
:header_params => header_params,
|
13234
|
+
:query_params => query_params,
|
13235
|
+
:form_params => form_params,
|
13236
|
+
:body => post_body,
|
13237
|
+
:auth_names => auth_names,
|
13238
|
+
:return_type => return_type
|
13239
|
+
)
|
13240
|
+
|
13241
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
13242
|
+
if @api_client.config.debugging
|
13243
|
+
@api_client.config.logger.debug "API called: V2Api#update_ldap_target_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
13244
|
+
end
|
13245
|
+
return data, status_code, headers
|
13246
|
+
end
|
13247
|
+
|
13120
13248
|
# @param body [UpdateNativeK8STarget]
|
13121
13249
|
# @param [Hash] opts the optional parameters
|
13122
13250
|
# @return [UpdateNativeK8STarget]
|
@@ -71,7 +71,7 @@ module Akeyless
|
|
71
71
|
:'bound_extensions' => :'Array<String>',
|
72
72
|
:'bound_organizational_units' => :'Array<String>',
|
73
73
|
:'bound_uri_sans' => :'Array<String>',
|
74
|
-
:'certificate' => :'
|
74
|
+
:'certificate' => :'String',
|
75
75
|
:'revoked_cert_ids' => :'Array<String>',
|
76
76
|
:'unique_identifier' => :'String'
|
77
77
|
}
|
@@ -135,9 +135,7 @@ module Akeyless
|
|
135
135
|
end
|
136
136
|
|
137
137
|
if attributes.key?(:'certificate')
|
138
|
-
|
139
|
-
self.certificate = value
|
140
|
-
end
|
138
|
+
self.certificate = attributes[:'certificate']
|
141
139
|
end
|
142
140
|
|
143
141
|
if attributes.key?(:'revoked_cert_ids')
|
@@ -28,6 +28,15 @@ module Akeyless
|
|
28
28
|
# Target name
|
29
29
|
attr_accessor :name
|
30
30
|
|
31
|
+
# The Resource Group name in your Azure subscription
|
32
|
+
attr_accessor :resource_group_name
|
33
|
+
|
34
|
+
# The name of the relevant Resource
|
35
|
+
attr_accessor :resource_name
|
36
|
+
|
37
|
+
# Azure Subscription Id
|
38
|
+
attr_accessor :subscription_id
|
39
|
+
|
31
40
|
attr_accessor :tenant_id
|
32
41
|
|
33
42
|
# Authentication token (see `/auth` and `/configure`)
|
@@ -46,6 +55,9 @@ module Akeyless
|
|
46
55
|
:'comment' => :'comment',
|
47
56
|
:'key' => :'key',
|
48
57
|
:'name' => :'name',
|
58
|
+
:'resource_group_name' => :'resource-group-name',
|
59
|
+
:'resource_name' => :'resource-name',
|
60
|
+
:'subscription_id' => :'subscription-id',
|
49
61
|
:'tenant_id' => :'tenant-id',
|
50
62
|
:'token' => :'token',
|
51
63
|
:'uid_token' => :'uid-token',
|
@@ -66,6 +78,9 @@ module Akeyless
|
|
66
78
|
:'comment' => :'String',
|
67
79
|
:'key' => :'String',
|
68
80
|
:'name' => :'String',
|
81
|
+
:'resource_group_name' => :'String',
|
82
|
+
:'resource_name' => :'String',
|
83
|
+
:'subscription_id' => :'String',
|
69
84
|
:'tenant_id' => :'String',
|
70
85
|
:'token' => :'String',
|
71
86
|
:'uid_token' => :'String',
|
@@ -114,6 +129,18 @@ module Akeyless
|
|
114
129
|
self.name = attributes[:'name']
|
115
130
|
end
|
116
131
|
|
132
|
+
if attributes.key?(:'resource_group_name')
|
133
|
+
self.resource_group_name = attributes[:'resource_group_name']
|
134
|
+
end
|
135
|
+
|
136
|
+
if attributes.key?(:'resource_name')
|
137
|
+
self.resource_name = attributes[:'resource_name']
|
138
|
+
end
|
139
|
+
|
140
|
+
if attributes.key?(:'subscription_id')
|
141
|
+
self.subscription_id = attributes[:'subscription_id']
|
142
|
+
end
|
143
|
+
|
117
144
|
if attributes.key?(:'tenant_id')
|
118
145
|
self.tenant_id = attributes[:'tenant_id']
|
119
146
|
end
|
@@ -159,6 +186,9 @@ module Akeyless
|
|
159
186
|
comment == o.comment &&
|
160
187
|
key == o.key &&
|
161
188
|
name == o.name &&
|
189
|
+
resource_group_name == o.resource_group_name &&
|
190
|
+
resource_name == o.resource_name &&
|
191
|
+
subscription_id == o.subscription_id &&
|
162
192
|
tenant_id == o.tenant_id &&
|
163
193
|
token == o.token &&
|
164
194
|
uid_token == o.uid_token &&
|
@@ -174,7 +204,7 @@ module Akeyless
|
|
174
204
|
# Calculates hash code according to all attributes.
|
175
205
|
# @return [Integer] Hash code
|
176
206
|
def hash
|
177
|
-
[client_id, client_secret, comment, key, name, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
207
|
+
[client_id, client_secret, comment, key, name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
178
208
|
end
|
179
209
|
|
180
210
|
# Builds the object from hash
|
@@ -102,6 +102,9 @@ module Akeyless
|
|
102
102
|
# Deprecated: use RotatedUser
|
103
103
|
attr_accessor :ssh_username
|
104
104
|
|
105
|
+
# The name of the storage account key to rotate [key1/key2/kerb1/kerb2] (relevat to azure-storage-account)
|
106
|
+
attr_accessor :storage_account_key_name
|
107
|
+
|
105
108
|
# List of the tags attached to this secret
|
106
109
|
attr_accessor :tags
|
107
110
|
|
@@ -155,6 +158,7 @@ module Akeyless
|
|
155
158
|
:'secure_access_web_proxy' => :'secure-access-web-proxy',
|
156
159
|
:'ssh_password' => :'ssh-password',
|
157
160
|
:'ssh_username' => :'ssh-username',
|
161
|
+
:'storage_account_key_name' => :'storage-account-key-name',
|
158
162
|
:'tags' => :'tags',
|
159
163
|
:'target_name' => :'target-name',
|
160
164
|
:'token' => :'token',
|
@@ -204,6 +208,7 @@ module Akeyless
|
|
204
208
|
:'secure_access_web_proxy' => :'Boolean',
|
205
209
|
:'ssh_password' => :'String',
|
206
210
|
:'ssh_username' => :'String',
|
211
|
+
:'storage_account_key_name' => :'String',
|
207
212
|
:'tags' => :'Array<String>',
|
208
213
|
:'target_name' => :'String',
|
209
214
|
:'token' => :'String',
|
@@ -374,6 +379,10 @@ module Akeyless
|
|
374
379
|
self.ssh_username = attributes[:'ssh_username']
|
375
380
|
end
|
376
381
|
|
382
|
+
if attributes.key?(:'storage_account_key_name')
|
383
|
+
self.storage_account_key_name = attributes[:'storage_account_key_name']
|
384
|
+
end
|
385
|
+
|
377
386
|
if attributes.key?(:'tags')
|
378
387
|
if (value = attributes[:'tags']).is_a?(Array)
|
379
388
|
self.tags = value
|
@@ -466,6 +475,7 @@ module Akeyless
|
|
466
475
|
secure_access_web_proxy == o.secure_access_web_proxy &&
|
467
476
|
ssh_password == o.ssh_password &&
|
468
477
|
ssh_username == o.ssh_username &&
|
478
|
+
storage_account_key_name == o.storage_account_key_name &&
|
469
479
|
tags == o.tags &&
|
470
480
|
target_name == o.target_name &&
|
471
481
|
token == o.token &&
|
@@ -483,7 +493,7 @@ module Akeyless
|
|
483
493
|
# Calculates hash code according to all attributes.
|
484
494
|
# @return [Integer] Hash code
|
485
495
|
def hash
|
486
|
-
[api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, key, metadata, name, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, tags, target_name, token, uid_token, user_attribute, user_dn].hash
|
496
|
+
[api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, key, metadata, name, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, tags, target_name, token, uid_token, user_attribute, user_dn].hash
|
487
497
|
end
|
488
498
|
|
489
499
|
# Builds the object from hash
|
@@ -21,7 +21,7 @@ module Akeyless
|
|
21
21
|
# The role name to be updated
|
22
22
|
attr_accessor :role_name
|
23
23
|
|
24
|
-
# item-rule, role-rule, auth-method-rule, search-rule or reports-rule
|
24
|
+
# item-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule or sra-reports-rule
|
25
25
|
attr_accessor :rule_type
|
26
26
|
|
27
27
|
# Authentication token (see `/auth` and `/configure`)
|
@@ -63,6 +63,12 @@ module Akeyless
|
|
63
63
|
|
64
64
|
attr_accessor :azure_fixed_user_only
|
65
65
|
|
66
|
+
attr_accessor :azure_resource_group_name
|
67
|
+
|
68
|
+
attr_accessor :azure_resource_name
|
69
|
+
|
70
|
+
attr_accessor :azure_subscription_id
|
71
|
+
|
66
72
|
attr_accessor :azure_tenant_id
|
67
73
|
|
68
74
|
attr_accessor :azure_user_groups_obj_id
|
@@ -390,6 +396,9 @@ module Akeyless
|
|
390
396
|
:'azure_client_secret' => :'azure_client_secret',
|
391
397
|
:'azure_fixed_user_name_sub_claim_key' => :'azure_fixed_user_name_sub_claim_key',
|
392
398
|
:'azure_fixed_user_only' => :'azure_fixed_user_only',
|
399
|
+
:'azure_resource_group_name' => :'azure_resource_group_name',
|
400
|
+
:'azure_resource_name' => :'azure_resource_name',
|
401
|
+
:'azure_subscription_id' => :'azure_subscription_id',
|
393
402
|
:'azure_tenant_id' => :'azure_tenant_id',
|
394
403
|
:'azure_user_groups_obj_id' => :'azure_user_groups_obj_id',
|
395
404
|
:'azure_user_portal_access' => :'azure_user_portal_access',
|
@@ -570,6 +579,9 @@ module Akeyless
|
|
570
579
|
:'azure_client_secret' => :'String',
|
571
580
|
:'azure_fixed_user_name_sub_claim_key' => :'String',
|
572
581
|
:'azure_fixed_user_only' => :'Boolean',
|
582
|
+
:'azure_resource_group_name' => :'String',
|
583
|
+
:'azure_resource_name' => :'String',
|
584
|
+
:'azure_subscription_id' => :'String',
|
573
585
|
:'azure_tenant_id' => :'String',
|
574
586
|
:'azure_user_groups_obj_id' => :'String',
|
575
587
|
:'azure_user_portal_access' => :'Boolean',
|
@@ -835,6 +847,18 @@ module Akeyless
|
|
835
847
|
self.azure_fixed_user_only = attributes[:'azure_fixed_user_only']
|
836
848
|
end
|
837
849
|
|
850
|
+
if attributes.key?(:'azure_resource_group_name')
|
851
|
+
self.azure_resource_group_name = attributes[:'azure_resource_group_name']
|
852
|
+
end
|
853
|
+
|
854
|
+
if attributes.key?(:'azure_resource_name')
|
855
|
+
self.azure_resource_name = attributes[:'azure_resource_name']
|
856
|
+
end
|
857
|
+
|
858
|
+
if attributes.key?(:'azure_subscription_id')
|
859
|
+
self.azure_subscription_id = attributes[:'azure_subscription_id']
|
860
|
+
end
|
861
|
+
|
838
862
|
if attributes.key?(:'azure_tenant_id')
|
839
863
|
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
840
864
|
end
|
@@ -1472,6 +1496,9 @@ module Akeyless
|
|
1472
1496
|
azure_client_secret == o.azure_client_secret &&
|
1473
1497
|
azure_fixed_user_name_sub_claim_key == o.azure_fixed_user_name_sub_claim_key &&
|
1474
1498
|
azure_fixed_user_only == o.azure_fixed_user_only &&
|
1499
|
+
azure_resource_group_name == o.azure_resource_group_name &&
|
1500
|
+
azure_resource_name == o.azure_resource_name &&
|
1501
|
+
azure_subscription_id == o.azure_subscription_id &&
|
1475
1502
|
azure_tenant_id == o.azure_tenant_id &&
|
1476
1503
|
azure_user_groups_obj_id == o.azure_user_groups_obj_id &&
|
1477
1504
|
azure_user_portal_access == o.azure_user_portal_access &&
|
@@ -1628,7 +1655,7 @@ module Akeyless
|
|
1628
1655
|
# Calculates hash code according to all attributes.
|
1629
1656
|
# @return [Integer] Hash code
|
1630
1657
|
def hash
|
1631
|
-
[active, admin_name, admin_pwd, admin_rotation_interval_days, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, aws_access_key_id, aws_access_mode, aws_region, aws_role_arns, aws_secret_access_key, aws_session_token, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, azure_app_object_id, azure_client_id, azure_client_secret, azure_fixed_user_name_sub_claim_key, azure_fixed_user_only, azure_tenant_id, azure_user_groups_obj_id, azure_user_portal_access, azure_user_programmatic_access, azure_user_roles_template_id, cassandra_creation_statements, chef_organizations, chef_server_access_mode, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, create_sync_url, db_host_name, db_isolation_level, db_max_idle_conns, db_max_open_conns, db_name, db_port, db_pwd, db_server_certificates, db_server_name, db_user_name, dynamic_secret_id, dynamic_secret_key, dynamic_secret_name, dynamic_secret_type, eks_access_key_id, eks_assume_role, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, enable_admin_rotation, externally_provided_user, failure_message, fixed_user_only, gcp_key_algo, gcp_service_account_email, gcp_service_account_key, gcp_token_lifetime, gcp_token_scope, gcp_token_type, github_app_id, github_app_private_key, github_base_url, github_installation_id, github_installation_token_permissions, github_installation_token_repositories, github_installation_token_repositories_ids, github_repository_path, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, groups, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, is_fixed_user, item_targets_assoc, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_namespace, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, ldap_user_attr, ldap_user_dn, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_roles, mongodb_uri_connection, mongodb_uri_options, mongodb_username, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, oracle_creation_statements, password, password_length, password_policy, payload, postgres_creation_statements, postgres_revocation_statements, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, redshift_creation_statements, revoke_sync_url, rotate_sync_url, scopes, secure_remote_access_details, session_extension_warn_interval_min, sf_account, sf_user_role, sf_warehouse_name, should_stop, ssl_connection_certificate, ssl_connection_mode, tags, timeout_seconds, use_gw_cloud_identity, user_name, user_principal_name, user_ttl, username_length, username_policy, venafi_allow_subdomains, venafi_allowed_domains, venafi_api_key, venafi_auto_generated_folder, venafi_base_url, venafi_root_first_in_chain, venafi_sign_using_akeyless_pki, venafi_signer_key_name, venafi_store_private_key, venafi_tpp_password, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
|
1658
|
+
[active, admin_name, admin_pwd, admin_rotation_interval_days, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, aws_access_key_id, aws_access_mode, aws_region, aws_role_arns, aws_secret_access_key, aws_session_token, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, azure_app_object_id, azure_client_id, azure_client_secret, azure_fixed_user_name_sub_claim_key, azure_fixed_user_only, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_user_groups_obj_id, azure_user_portal_access, azure_user_programmatic_access, azure_user_roles_template_id, cassandra_creation_statements, chef_organizations, chef_server_access_mode, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, create_sync_url, db_host_name, db_isolation_level, db_max_idle_conns, db_max_open_conns, db_name, db_port, db_pwd, db_server_certificates, db_server_name, db_user_name, dynamic_secret_id, dynamic_secret_key, dynamic_secret_name, dynamic_secret_type, eks_access_key_id, eks_assume_role, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, enable_admin_rotation, externally_provided_user, failure_message, fixed_user_only, gcp_key_algo, gcp_service_account_email, gcp_service_account_key, gcp_token_lifetime, gcp_token_scope, gcp_token_type, github_app_id, github_app_private_key, github_base_url, github_installation_id, github_installation_token_permissions, github_installation_token_repositories, github_installation_token_repositories_ids, github_repository_path, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, groups, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, is_fixed_user, item_targets_assoc, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_namespace, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_token_expiration, ldap_url, ldap_user_attr, ldap_user_dn, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_roles, mongodb_uri_connection, mongodb_uri_options, mongodb_username, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, oracle_creation_statements, password, password_length, password_policy, payload, postgres_creation_statements, postgres_revocation_statements, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, redshift_creation_statements, revoke_sync_url, rotate_sync_url, scopes, secure_remote_access_details, session_extension_warn_interval_min, sf_account, sf_user_role, sf_warehouse_name, should_stop, ssl_connection_certificate, ssl_connection_mode, tags, timeout_seconds, use_gw_cloud_identity, user_name, user_principal_name, user_ttl, username_length, username_policy, venafi_allow_subdomains, venafi_allowed_domains, venafi_api_key, venafi_auto_generated_folder, venafi_base_url, venafi_root_first_in_chain, venafi_sign_using_akeyless_pki, venafi_signer_key_name, venafi_store_private_key, venafi_tpp_password, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
|
1632
1659
|
end
|
1633
1660
|
|
1634
1661
|
# Builds the object from hash
|
@@ -50,6 +50,9 @@ module Akeyless
|
|
50
50
|
|
51
51
|
attr_accessor :secure_access_url
|
52
52
|
|
53
|
+
# Secure Access Web Category
|
54
|
+
attr_accessor :secure_access_web
|
55
|
+
|
53
56
|
attr_accessor :secure_access_web_browsing
|
54
57
|
|
55
58
|
attr_accessor :secure_access_web_proxy
|
@@ -84,6 +87,7 @@ module Akeyless
|
|
84
87
|
:'rabbitmq_user_write_permission' => :'rabbitmq-user-write-permission',
|
85
88
|
:'secure_access_enable' => :'secure-access-enable',
|
86
89
|
:'secure_access_url' => :'secure-access-url',
|
90
|
+
:'secure_access_web' => :'secure-access-web',
|
87
91
|
:'secure_access_web_browsing' => :'secure-access-web-browsing',
|
88
92
|
:'secure_access_web_proxy' => :'secure-access-web-proxy',
|
89
93
|
:'tags' => :'tags',
|
@@ -114,6 +118,7 @@ module Akeyless
|
|
114
118
|
:'rabbitmq_user_write_permission' => :'String',
|
115
119
|
:'secure_access_enable' => :'String',
|
116
120
|
:'secure_access_url' => :'String',
|
121
|
+
:'secure_access_web' => :'Boolean',
|
117
122
|
:'secure_access_web_browsing' => :'Boolean',
|
118
123
|
:'secure_access_web_proxy' => :'Boolean',
|
119
124
|
:'tags' => :'Array<String>',
|
@@ -193,6 +198,12 @@ module Akeyless
|
|
193
198
|
self.secure_access_url = attributes[:'secure_access_url']
|
194
199
|
end
|
195
200
|
|
201
|
+
if attributes.key?(:'secure_access_web')
|
202
|
+
self.secure_access_web = attributes[:'secure_access_web']
|
203
|
+
else
|
204
|
+
self.secure_access_web = true
|
205
|
+
end
|
206
|
+
|
196
207
|
if attributes.key?(:'secure_access_web_browsing')
|
197
208
|
self.secure_access_web_browsing = attributes[:'secure_access_web_browsing']
|
198
209
|
end
|
@@ -261,6 +272,7 @@ module Akeyless
|
|
261
272
|
rabbitmq_user_write_permission == o.rabbitmq_user_write_permission &&
|
262
273
|
secure_access_enable == o.secure_access_enable &&
|
263
274
|
secure_access_url == o.secure_access_url &&
|
275
|
+
secure_access_web == o.secure_access_web &&
|
264
276
|
secure_access_web_browsing == o.secure_access_web_browsing &&
|
265
277
|
secure_access_web_proxy == o.secure_access_web_proxy &&
|
266
278
|
tags == o.tags &&
|
@@ -279,7 +291,7 @@ module Akeyless
|
|
279
291
|
# Calculates hash code according to all attributes.
|
280
292
|
# @return [Integer] Hash code
|
281
293
|
def hash
|
282
|
-
[name, producer_encryption_key_name, rabbitmq_admin_pwd, rabbitmq_admin_user, rabbitmq_server_uri, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, secure_access_enable, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
294
|
+
[name, producer_encryption_key_name, rabbitmq_admin_pwd, rabbitmq_admin_user, rabbitmq_server_uri, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
283
295
|
end
|
284
296
|
|
285
297
|
# Builds the object from hash
|
@@ -44,6 +44,9 @@ module Akeyless
|
|
44
44
|
|
45
45
|
attr_accessor :secure_access_host
|
46
46
|
|
47
|
+
# SSL connection mode
|
48
|
+
attr_accessor :ssl
|
49
|
+
|
47
50
|
# List of the tags attached to this secret
|
48
51
|
attr_accessor :tags
|
49
52
|
|
@@ -72,6 +75,7 @@ module Akeyless
|
|
72
75
|
:'redshift_username' => :'redshift-username',
|
73
76
|
:'secure_access_enable' => :'secure-access-enable',
|
74
77
|
:'secure_access_host' => :'secure-access-host',
|
78
|
+
:'ssl' => :'ssl',
|
75
79
|
:'tags' => :'tags',
|
76
80
|
:'target_name' => :'target-name',
|
77
81
|
:'token' => :'token',
|
@@ -98,6 +102,7 @@ module Akeyless
|
|
98
102
|
:'redshift_username' => :'String',
|
99
103
|
:'secure_access_enable' => :'String',
|
100
104
|
:'secure_access_host' => :'Array<String>',
|
105
|
+
:'ssl' => :'Boolean',
|
101
106
|
:'tags' => :'Array<String>',
|
102
107
|
:'target_name' => :'String',
|
103
108
|
:'token' => :'String',
|
@@ -173,6 +178,10 @@ module Akeyless
|
|
173
178
|
end
|
174
179
|
end
|
175
180
|
|
181
|
+
if attributes.key?(:'ssl')
|
182
|
+
self.ssl = attributes[:'ssl']
|
183
|
+
end
|
184
|
+
|
176
185
|
if attributes.key?(:'tags')
|
177
186
|
if (value = attributes[:'tags']).is_a?(Array)
|
178
187
|
self.tags = value
|
@@ -231,6 +240,7 @@ module Akeyless
|
|
231
240
|
redshift_username == o.redshift_username &&
|
232
241
|
secure_access_enable == o.secure_access_enable &&
|
233
242
|
secure_access_host == o.secure_access_host &&
|
243
|
+
ssl == o.ssl &&
|
234
244
|
tags == o.tags &&
|
235
245
|
target_name == o.target_name &&
|
236
246
|
token == o.token &&
|
@@ -247,7 +257,7 @@ module Akeyless
|
|
247
257
|
# Calculates hash code according to all attributes.
|
248
258
|
# @return [Integer] Hash code
|
249
259
|
def hash
|
250
|
-
[creation_statements, name, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, tags, target_name, token, uid_token, user_ttl].hash
|
260
|
+
[creation_statements, name, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
|
251
261
|
end
|
252
262
|
|
253
263
|
# Builds the object from hash
|
@@ -53,6 +53,9 @@ module Akeyless
|
|
53
53
|
|
54
54
|
attr_accessor :secure_access_url
|
55
55
|
|
56
|
+
# Secure Access Web Category
|
57
|
+
attr_accessor :secure_access_web
|
58
|
+
|
56
59
|
attr_accessor :secure_access_web_browsing
|
57
60
|
|
58
61
|
attr_accessor :secure_access_web_proxy
|
@@ -88,6 +91,7 @@ module Akeyless
|
|
88
91
|
:'rabbitmq_user_write_permission' => :'rabbitmq-user-write-permission',
|
89
92
|
:'secure_access_enable' => :'secure-access-enable',
|
90
93
|
:'secure_access_url' => :'secure-access-url',
|
94
|
+
:'secure_access_web' => :'secure-access-web',
|
91
95
|
:'secure_access_web_browsing' => :'secure-access-web-browsing',
|
92
96
|
:'secure_access_web_proxy' => :'secure-access-web-proxy',
|
93
97
|
:'tags' => :'tags',
|
@@ -119,6 +123,7 @@ module Akeyless
|
|
119
123
|
:'rabbitmq_user_write_permission' => :'String',
|
120
124
|
:'secure_access_enable' => :'String',
|
121
125
|
:'secure_access_url' => :'String',
|
126
|
+
:'secure_access_web' => :'Boolean',
|
122
127
|
:'secure_access_web_browsing' => :'Boolean',
|
123
128
|
:'secure_access_web_proxy' => :'Boolean',
|
124
129
|
:'tags' => :'Array<String>',
|
@@ -202,6 +207,12 @@ module Akeyless
|
|
202
207
|
self.secure_access_url = attributes[:'secure_access_url']
|
203
208
|
end
|
204
209
|
|
210
|
+
if attributes.key?(:'secure_access_web')
|
211
|
+
self.secure_access_web = attributes[:'secure_access_web']
|
212
|
+
else
|
213
|
+
self.secure_access_web = true
|
214
|
+
end
|
215
|
+
|
205
216
|
if attributes.key?(:'secure_access_web_browsing')
|
206
217
|
self.secure_access_web_browsing = attributes[:'secure_access_web_browsing']
|
207
218
|
end
|
@@ -271,6 +282,7 @@ module Akeyless
|
|
271
282
|
rabbitmq_user_write_permission == o.rabbitmq_user_write_permission &&
|
272
283
|
secure_access_enable == o.secure_access_enable &&
|
273
284
|
secure_access_url == o.secure_access_url &&
|
285
|
+
secure_access_web == o.secure_access_web &&
|
274
286
|
secure_access_web_browsing == o.secure_access_web_browsing &&
|
275
287
|
secure_access_web_proxy == o.secure_access_web_proxy &&
|
276
288
|
tags == o.tags &&
|
@@ -289,7 +301,7 @@ module Akeyless
|
|
289
301
|
# Calculates hash code according to all attributes.
|
290
302
|
# @return [Integer] Hash code
|
291
303
|
def hash
|
292
|
-
[name, new_name, producer_encryption_key_name, rabbitmq_admin_pwd, rabbitmq_admin_user, rabbitmq_server_uri, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, secure_access_enable, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
304
|
+
[name, new_name, producer_encryption_key_name, rabbitmq_admin_pwd, rabbitmq_admin_user, rabbitmq_server_uri, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
293
305
|
end
|
294
306
|
|
295
307
|
# Builds the object from hash
|
@@ -47,6 +47,9 @@ module Akeyless
|
|
47
47
|
|
48
48
|
attr_accessor :secure_access_host
|
49
49
|
|
50
|
+
# SSL connection mode
|
51
|
+
attr_accessor :ssl
|
52
|
+
|
50
53
|
# List of the tags attached to this secret
|
51
54
|
attr_accessor :tags
|
52
55
|
|
@@ -76,6 +79,7 @@ module Akeyless
|
|
76
79
|
:'redshift_username' => :'redshift-username',
|
77
80
|
:'secure_access_enable' => :'secure-access-enable',
|
78
81
|
:'secure_access_host' => :'secure-access-host',
|
82
|
+
:'ssl' => :'ssl',
|
79
83
|
:'tags' => :'tags',
|
80
84
|
:'target_name' => :'target-name',
|
81
85
|
:'token' => :'token',
|
@@ -103,6 +107,7 @@ module Akeyless
|
|
103
107
|
:'redshift_username' => :'String',
|
104
108
|
:'secure_access_enable' => :'String',
|
105
109
|
:'secure_access_host' => :'Array<String>',
|
110
|
+
:'ssl' => :'Boolean',
|
106
111
|
:'tags' => :'Array<String>',
|
107
112
|
:'target_name' => :'String',
|
108
113
|
:'token' => :'String',
|
@@ -182,6 +187,10 @@ module Akeyless
|
|
182
187
|
end
|
183
188
|
end
|
184
189
|
|
190
|
+
if attributes.key?(:'ssl')
|
191
|
+
self.ssl = attributes[:'ssl']
|
192
|
+
end
|
193
|
+
|
185
194
|
if attributes.key?(:'tags')
|
186
195
|
if (value = attributes[:'tags']).is_a?(Array)
|
187
196
|
self.tags = value
|
@@ -241,6 +250,7 @@ module Akeyless
|
|
241
250
|
redshift_username == o.redshift_username &&
|
242
251
|
secure_access_enable == o.secure_access_enable &&
|
243
252
|
secure_access_host == o.secure_access_host &&
|
253
|
+
ssl == o.ssl &&
|
244
254
|
tags == o.tags &&
|
245
255
|
target_name == o.target_name &&
|
246
256
|
token == o.token &&
|
@@ -257,7 +267,7 @@ module Akeyless
|
|
257
267
|
# Calculates hash code according to all attributes.
|
258
268
|
# @return [Integer] Hash code
|
259
269
|
def hash
|
260
|
-
[creation_statements, name, new_name, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, tags, target_name, token, uid_token, user_ttl].hash
|
270
|
+
[creation_statements, name, new_name, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
|
261
271
|
end
|
262
272
|
|
263
273
|
# Builds the object from hash
|
@@ -36,7 +36,7 @@ module Akeyless
|
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
38
|
:'raw' => :'String',
|
39
|
-
:'ssh' => :'
|
39
|
+
:'ssh' => :'String'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -66,9 +66,7 @@ module Akeyless
|
|
66
66
|
end
|
67
67
|
|
68
68
|
if attributes.key?(:'ssh')
|
69
|
-
|
70
|
-
self.ssh = value
|
71
|
-
end
|
69
|
+
self.ssh = attributes[:'ssh']
|
72
70
|
end
|
73
71
|
end
|
74
72
|
|
@@ -18,6 +18,8 @@ module Akeyless
|
|
18
18
|
# Filter by item name or part of it
|
19
19
|
attr_accessor :filter
|
20
20
|
|
21
|
+
attr_accessor :minimal_view
|
22
|
+
|
21
23
|
# Next page reference
|
22
24
|
attr_accessor :pagination_token
|
23
25
|
|
@@ -40,6 +42,7 @@ module Akeyless
|
|
40
42
|
def self.attribute_map
|
41
43
|
{
|
42
44
|
:'filter' => :'filter',
|
45
|
+
:'minimal_view' => :'minimal-view',
|
43
46
|
:'pagination_token' => :'pagination-token',
|
44
47
|
:'path' => :'path',
|
45
48
|
:'tag' => :'tag',
|
@@ -58,6 +61,7 @@ module Akeyless
|
|
58
61
|
def self.openapi_types
|
59
62
|
{
|
60
63
|
:'filter' => :'String',
|
64
|
+
:'minimal_view' => :'Boolean',
|
61
65
|
:'pagination_token' => :'String',
|
62
66
|
:'path' => :'String',
|
63
67
|
:'tag' => :'String',
|
@@ -92,6 +96,10 @@ module Akeyless
|
|
92
96
|
self.filter = attributes[:'filter']
|
93
97
|
end
|
94
98
|
|
99
|
+
if attributes.key?(:'minimal_view')
|
100
|
+
self.minimal_view = attributes[:'minimal_view']
|
101
|
+
end
|
102
|
+
|
95
103
|
if attributes.key?(:'pagination_token')
|
96
104
|
self.pagination_token = attributes[:'pagination_token']
|
97
105
|
end
|
@@ -138,6 +146,7 @@ module Akeyless
|
|
138
146
|
return true if self.equal?(o)
|
139
147
|
self.class == o.class &&
|
140
148
|
filter == o.filter &&
|
149
|
+
minimal_view == o.minimal_view &&
|
141
150
|
pagination_token == o.pagination_token &&
|
142
151
|
path == o.path &&
|
143
152
|
tag == o.tag &&
|
@@ -155,7 +164,7 @@ module Akeyless
|
|
155
164
|
# Calculates hash code according to all attributes.
|
156
165
|
# @return [Integer] Hash code
|
157
166
|
def hash
|
158
|
-
[filter, pagination_token, path, tag, token, type, uid_token].hash
|
167
|
+
[filter, minimal_view, pagination_token, path, tag, token, type, uid_token].hash
|
159
168
|
end
|
160
169
|
|
161
170
|
# Builds the object from hash
|