akeyless 3.5.4 → 3.6.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 -2
- data/docs/AssocTargetItem.md +8 -0
- data/docs/AuthMethod.md +2 -0
- data/docs/CertificateChainInfo.md +4 -0
- data/docs/CertificateVersionInfo.md +22 -0
- data/docs/Connect.md +1 -1
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +3 -1
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateLinkedTarget.md +2 -0
- data/docs/CreateRole.md +4 -0
- data/docs/CreateRotatedSecret.md +7 -1
- data/docs/CreateSSHCertIssuer.md +4 -4
- data/docs/CreateSecret.md +2 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerCassandra.md +4 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerCassandra.md +4 -0
- data/docs/GenerateCsr.md +1 -1
- data/docs/GwClusterIdentity.md +2 -0
- data/docs/ImportPasswords.md +3 -1
- data/docs/ImportPasswordsOutput.md +3 -1
- data/docs/ItemVersion.md +2 -0
- data/docs/ProvisionCertificate.md +28 -0
- data/docs/ProvisionCertificateOutput.md +24 -0
- data/docs/RenewCertificate.md +28 -0
- data/docs/RenewCertificateOutput.md +28 -0
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/ServerInventoryPayload.md +2 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SignDataWithClassicKey.md +2 -0
- data/docs/SignEcDsa.md +5 -1
- data/docs/SignPKCS1.md +9 -1
- data/docs/SignPKCS1Output.md +1 -1
- data/docs/SignRsaSsaPss.md +5 -1
- data/docs/StaticSecretDetailsInfo.md +2 -0
- data/docs/TargetItemVersion.md +2 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +3 -1
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdateCertificateValue.md +2 -0
- data/docs/UpdateItem.md +6 -0
- data/docs/UpdateLinkedTarget.md +2 -0
- data/docs/UpdateRole.md +4 -0
- data/docs/UpdateSSHCertIssuer.md +3 -3
- data/docs/UpdateSecretVal.md +2 -0
- data/docs/V2Api.md +138 -9
- data/docs/VerifyEcDsa.md +5 -1
- data/docs/VerifyPKCS1.md +9 -1
- data/docs/VerifyRsaSsaPss.md +5 -1
- data/lib/akeyless/api/v2_api.rb +146 -7
- data/lib/akeyless/models/assoc_target_item.rb +43 -1
- data/lib/akeyless/models/auth_method.rb +10 -1
- data/lib/akeyless/models/certificate_chain_info.rb +19 -1
- data/lib/akeyless/models/certificate_version_info.rb +232 -0
- data/lib/akeyless/models/connect.rb +1 -1
- data/lib/akeyless/models/create_auth_method.rb +11 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -2
- data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/create_auth_method_email.rb +11 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/create_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_linked_target.rb +11 -1
- data/lib/akeyless/models/create_role.rb +21 -1
- data/lib/akeyless/models/create_rotated_secret.rb +35 -2
- data/lib/akeyless/models/create_secret.rb +11 -1
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +9 -9
- data/lib/akeyless/models/gateway_create_migration.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +23 -1
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +23 -1
- data/lib/akeyless/models/generate_csr.rb +1 -1
- data/lib/akeyless/models/gw_cluster_identity.rb +10 -1
- data/lib/akeyless/models/import_passwords.rb +13 -4
- data/lib/akeyless/models/import_passwords_output.rb +13 -4
- data/lib/akeyless/models/item_version.rb +10 -1
- data/lib/akeyless/models/provision_certificate.rb +275 -0
- data/lib/akeyless/models/provision_certificate_output.rb +243 -0
- data/lib/akeyless/models/renew_certificate.rb +267 -0
- data/lib/akeyless/models/renew_certificate_output.rb +259 -0
- data/lib/akeyless/models/secure_remote_access.rb +12 -1
- data/lib/akeyless/models/server_inventory_payload.rb +12 -1
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sign_data_with_classic_key.rb +13 -1
- data/lib/akeyless/models/sign_ec_dsa.rb +24 -4
- data/lib/akeyless/models/sign_pkcs1.rb +44 -4
- data/lib/akeyless/models/sign_pkcs1_output.rb +2 -4
- data/lib/akeyless/models/sign_rsa_ssa_pss.rb +24 -4
- data/lib/akeyless/models/static_secret_details_info.rb +10 -1
- data/lib/akeyless/models/target_item_version.rb +10 -1
- data/lib/akeyless/models/update_auth_method.rb +11 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -2
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/update_certificate_value.rb +11 -1
- data/lib/akeyless/models/update_item.rb +32 -1
- data/lib/akeyless/models/update_linked_target.rb +11 -1
- data/lib/akeyless/models/update_role.rb +21 -1
- data/lib/akeyless/models/update_secret_val.rb +11 -1
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +8 -8
- data/lib/akeyless/models/verify_ec_dsa.rb +24 -4
- data/lib/akeyless/models/verify_pkcs1.rb +44 -4
- data/lib/akeyless/models/verify_rsa_ssa_pss.rb +24 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/certificate_version_info_spec.rb +48 -0
- data/spec/models/provision_certificate_output_spec.rb +54 -0
- data/spec/models/provision_certificate_spec.rb +66 -0
- data/spec/models/renew_certificate_output_spec.rb +66 -0
- data/spec/models/renew_certificate_spec.rb +66 -0
- metadata +23 -3
|
@@ -40,6 +40,9 @@ module Akeyless
|
|
|
40
40
|
# === Machine authentication section === List of zones that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a zonal group and the group must belong to this zone.
|
|
41
41
|
attr_accessor :bound_zones
|
|
42
42
|
|
|
43
|
+
# Auth Method description
|
|
44
|
+
attr_accessor :description
|
|
45
|
+
|
|
43
46
|
# if true: enforce role-association must include sub claims
|
|
44
47
|
attr_accessor :force_sub_claims
|
|
45
48
|
|
|
@@ -81,6 +84,7 @@ module Akeyless
|
|
|
81
84
|
:'bound_regions' => :'bound-regions',
|
|
82
85
|
:'bound_service_accounts' => :'bound-service-accounts',
|
|
83
86
|
:'bound_zones' => :'bound-zones',
|
|
87
|
+
:'description' => :'description',
|
|
84
88
|
:'force_sub_claims' => :'force-sub-claims',
|
|
85
89
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
86
90
|
:'json' => :'json',
|
|
@@ -110,6 +114,7 @@ module Akeyless
|
|
|
110
114
|
:'bound_regions' => :'Array<String>',
|
|
111
115
|
:'bound_service_accounts' => :'Array<String>',
|
|
112
116
|
:'bound_zones' => :'Array<String>',
|
|
117
|
+
:'description' => :'String',
|
|
113
118
|
:'force_sub_claims' => :'Boolean',
|
|
114
119
|
:'gw_bound_ips' => :'Array<String>',
|
|
115
120
|
:'json' => :'Boolean',
|
|
@@ -192,6 +197,10 @@ module Akeyless
|
|
|
192
197
|
end
|
|
193
198
|
end
|
|
194
199
|
|
|
200
|
+
if attributes.key?(:'description')
|
|
201
|
+
self.description = attributes[:'description']
|
|
202
|
+
end
|
|
203
|
+
|
|
195
204
|
if attributes.key?(:'force_sub_claims')
|
|
196
205
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
197
206
|
end
|
|
@@ -286,6 +295,7 @@ module Akeyless
|
|
|
286
295
|
bound_regions == o.bound_regions &&
|
|
287
296
|
bound_service_accounts == o.bound_service_accounts &&
|
|
288
297
|
bound_zones == o.bound_zones &&
|
|
298
|
+
description == o.description &&
|
|
289
299
|
force_sub_claims == o.force_sub_claims &&
|
|
290
300
|
gw_bound_ips == o.gw_bound_ips &&
|
|
291
301
|
json == o.json &&
|
|
@@ -307,7 +317,7 @@ module Akeyless
|
|
|
307
317
|
# Calculates hash code according to all attributes.
|
|
308
318
|
# @return [Integer] Hash code
|
|
309
319
|
def hash
|
|
310
|
-
[access_expires, audience, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, service_account_creds_data, token, type, uid_token].hash
|
|
320
|
+
[access_expires, audience, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, service_account_creds_data, token, type, uid_token].hash
|
|
311
321
|
end
|
|
312
322
|
|
|
313
323
|
# Builds the object from hash
|
|
@@ -34,6 +34,9 @@ module Akeyless
|
|
|
34
34
|
# A list of service account names that the access is restricted to
|
|
35
35
|
attr_accessor :bound_sa_names
|
|
36
36
|
|
|
37
|
+
# Auth Method description
|
|
38
|
+
attr_accessor :description
|
|
39
|
+
|
|
37
40
|
# if true: enforce role-association must include sub claims
|
|
38
41
|
attr_accessor :force_sub_claims
|
|
39
42
|
|
|
@@ -73,6 +76,7 @@ module Akeyless
|
|
|
73
76
|
:'bound_namespaces' => :'bound-namespaces',
|
|
74
77
|
:'bound_pod_names' => :'bound-pod-names',
|
|
75
78
|
:'bound_sa_names' => :'bound-sa-names',
|
|
79
|
+
:'description' => :'description',
|
|
76
80
|
:'force_sub_claims' => :'force-sub-claims',
|
|
77
81
|
:'gen_key' => :'gen-key',
|
|
78
82
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
@@ -100,6 +104,7 @@ module Akeyless
|
|
|
100
104
|
:'bound_namespaces' => :'Array<String>',
|
|
101
105
|
:'bound_pod_names' => :'Array<String>',
|
|
102
106
|
:'bound_sa_names' => :'Array<String>',
|
|
107
|
+
:'description' => :'String',
|
|
103
108
|
:'force_sub_claims' => :'Boolean',
|
|
104
109
|
:'gen_key' => :'String',
|
|
105
110
|
:'gw_bound_ips' => :'Array<String>',
|
|
@@ -168,6 +173,10 @@ module Akeyless
|
|
|
168
173
|
end
|
|
169
174
|
end
|
|
170
175
|
|
|
176
|
+
if attributes.key?(:'description')
|
|
177
|
+
self.description = attributes[:'description']
|
|
178
|
+
end
|
|
179
|
+
|
|
171
180
|
if attributes.key?(:'force_sub_claims')
|
|
172
181
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
173
182
|
end
|
|
@@ -248,6 +257,7 @@ module Akeyless
|
|
|
248
257
|
bound_namespaces == o.bound_namespaces &&
|
|
249
258
|
bound_pod_names == o.bound_pod_names &&
|
|
250
259
|
bound_sa_names == o.bound_sa_names &&
|
|
260
|
+
description == o.description &&
|
|
251
261
|
force_sub_claims == o.force_sub_claims &&
|
|
252
262
|
gen_key == o.gen_key &&
|
|
253
263
|
gw_bound_ips == o.gw_bound_ips &&
|
|
@@ -269,7 +279,7 @@ module Akeyless
|
|
|
269
279
|
# Calculates hash code according to all attributes.
|
|
270
280
|
# @return [Integer] Hash code
|
|
271
281
|
def hash
|
|
272
|
-
[access_expires, audience, bound_ips, bound_namespaces, bound_pod_names, bound_sa_names, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, new_name, public_key, token, uid_token].hash
|
|
282
|
+
[access_expires, audience, bound_ips, bound_namespaces, bound_pod_names, bound_sa_names, description, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, new_name, public_key, token, uid_token].hash
|
|
273
283
|
end
|
|
274
284
|
|
|
275
285
|
# Builds the object from hash
|
|
@@ -22,6 +22,9 @@ module Akeyless
|
|
|
22
22
|
# A CIDR whitelist with the IPs that the access is restricted to
|
|
23
23
|
attr_accessor :bound_ips
|
|
24
24
|
|
|
25
|
+
# Auth Method description
|
|
26
|
+
attr_accessor :description
|
|
27
|
+
|
|
25
28
|
# if true: enforce role-association must include sub claims
|
|
26
29
|
attr_accessor :force_sub_claims
|
|
27
30
|
|
|
@@ -60,6 +63,7 @@ module Akeyless
|
|
|
60
63
|
{
|
|
61
64
|
:'access_expires' => :'access-expires',
|
|
62
65
|
:'bound_ips' => :'bound-ips',
|
|
66
|
+
:'description' => :'description',
|
|
63
67
|
:'force_sub_claims' => :'force-sub-claims',
|
|
64
68
|
:'gen_key' => :'gen-key',
|
|
65
69
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
@@ -84,6 +88,7 @@ module Akeyless
|
|
|
84
88
|
{
|
|
85
89
|
:'access_expires' => :'Integer',
|
|
86
90
|
:'bound_ips' => :'Array<String>',
|
|
91
|
+
:'description' => :'String',
|
|
87
92
|
:'force_sub_claims' => :'Boolean',
|
|
88
93
|
:'gen_key' => :'String',
|
|
89
94
|
:'gw_bound_ips' => :'Array<String>',
|
|
@@ -131,6 +136,10 @@ module Akeyless
|
|
|
131
136
|
end
|
|
132
137
|
end
|
|
133
138
|
|
|
139
|
+
if attributes.key?(:'description')
|
|
140
|
+
self.description = attributes[:'description']
|
|
141
|
+
end
|
|
142
|
+
|
|
134
143
|
if attributes.key?(:'force_sub_claims')
|
|
135
144
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
136
145
|
end
|
|
@@ -213,6 +222,7 @@ module Akeyless
|
|
|
213
222
|
self.class == o.class &&
|
|
214
223
|
access_expires == o.access_expires &&
|
|
215
224
|
bound_ips == o.bound_ips &&
|
|
225
|
+
description == o.description &&
|
|
216
226
|
force_sub_claims == o.force_sub_claims &&
|
|
217
227
|
gen_key == o.gen_key &&
|
|
218
228
|
gw_bound_ips == o.gw_bound_ips &&
|
|
@@ -235,7 +245,7 @@ module Akeyless
|
|
|
235
245
|
# Calculates hash code according to all attributes.
|
|
236
246
|
# @return [Integer] Hash code
|
|
237
247
|
def hash
|
|
238
|
-
[access_expires, bound_ips, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, new_name, public_key_data, token, uid_token, unique_identifier].hash
|
|
248
|
+
[access_expires, bound_ips, description, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, new_name, public_key_data, token, uid_token, unique_identifier].hash
|
|
239
249
|
end
|
|
240
250
|
|
|
241
251
|
# Builds the object from hash
|
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
|
28
28
|
# A CIDR whitelist with the IPs that the access is restricted to
|
|
29
29
|
attr_accessor :bound_ips
|
|
30
30
|
|
|
31
|
+
# Auth Method description
|
|
32
|
+
attr_accessor :description
|
|
33
|
+
|
|
31
34
|
# if true: enforce role-association must include sub claims
|
|
32
35
|
attr_accessor :force_sub_claims
|
|
33
36
|
|
|
@@ -77,6 +80,7 @@ module Akeyless
|
|
|
77
80
|
:'audience' => :'audience',
|
|
78
81
|
:'bound_client_ids' => :'bound-client-ids',
|
|
79
82
|
:'bound_ips' => :'bound-ips',
|
|
83
|
+
:'description' => :'description',
|
|
80
84
|
:'force_sub_claims' => :'force-sub-claims',
|
|
81
85
|
:'gateway_url' => :'gateway-url',
|
|
82
86
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
@@ -106,6 +110,7 @@ module Akeyless
|
|
|
106
110
|
:'audience' => :'String',
|
|
107
111
|
:'bound_client_ids' => :'Array<String>',
|
|
108
112
|
:'bound_ips' => :'Array<String>',
|
|
113
|
+
:'description' => :'String',
|
|
109
114
|
:'force_sub_claims' => :'Boolean',
|
|
110
115
|
:'gateway_url' => :'String',
|
|
111
116
|
:'gw_bound_ips' => :'Array<String>',
|
|
@@ -166,6 +171,10 @@ module Akeyless
|
|
|
166
171
|
end
|
|
167
172
|
end
|
|
168
173
|
|
|
174
|
+
if attributes.key?(:'description')
|
|
175
|
+
self.description = attributes[:'description']
|
|
176
|
+
end
|
|
177
|
+
|
|
169
178
|
if attributes.key?(:'force_sub_claims')
|
|
170
179
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
171
180
|
end
|
|
@@ -276,6 +285,7 @@ module Akeyless
|
|
|
276
285
|
audience == o.audience &&
|
|
277
286
|
bound_client_ids == o.bound_client_ids &&
|
|
278
287
|
bound_ips == o.bound_ips &&
|
|
288
|
+
description == o.description &&
|
|
279
289
|
force_sub_claims == o.force_sub_claims &&
|
|
280
290
|
gateway_url == o.gateway_url &&
|
|
281
291
|
gw_bound_ips == o.gw_bound_ips &&
|
|
@@ -301,7 +311,7 @@ module Akeyless
|
|
|
301
311
|
# Calculates hash code according to all attributes.
|
|
302
312
|
# @return [Integer] Hash code
|
|
303
313
|
def hash
|
|
304
|
-
[access_expires, audience, bound_client_ids, bound_ips, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwks_json_data, jwks_uri, jwt_ttl, name, new_name, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
314
|
+
[access_expires, audience, bound_client_ids, bound_ips, description, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwks_json_data, jwks_uri, jwt_ttl, name, new_name, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
305
315
|
end
|
|
306
316
|
|
|
307
317
|
# Builds the object from hash
|
|
@@ -34,6 +34,9 @@ module Akeyless
|
|
|
34
34
|
# Client Secret
|
|
35
35
|
attr_accessor :client_secret
|
|
36
36
|
|
|
37
|
+
# Auth Method description
|
|
38
|
+
attr_accessor :description
|
|
39
|
+
|
|
37
40
|
# if true: enforce role-association must include sub claims
|
|
38
41
|
attr_accessor :force_sub_claims
|
|
39
42
|
|
|
@@ -82,6 +85,7 @@ module Akeyless
|
|
|
82
85
|
:'bound_ips' => :'bound-ips',
|
|
83
86
|
:'client_id' => :'client-id',
|
|
84
87
|
:'client_secret' => :'client-secret',
|
|
88
|
+
:'description' => :'description',
|
|
85
89
|
:'force_sub_claims' => :'force-sub-claims',
|
|
86
90
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
87
91
|
:'issuer' => :'issuer',
|
|
@@ -112,6 +116,7 @@ module Akeyless
|
|
|
112
116
|
:'bound_ips' => :'Array<String>',
|
|
113
117
|
:'client_id' => :'String',
|
|
114
118
|
:'client_secret' => :'String',
|
|
119
|
+
:'description' => :'String',
|
|
115
120
|
:'force_sub_claims' => :'Boolean',
|
|
116
121
|
:'gw_bound_ips' => :'Array<String>',
|
|
117
122
|
:'issuer' => :'String',
|
|
@@ -179,6 +184,10 @@ module Akeyless
|
|
|
179
184
|
self.client_secret = attributes[:'client_secret']
|
|
180
185
|
end
|
|
181
186
|
|
|
187
|
+
if attributes.key?(:'description')
|
|
188
|
+
self.description = attributes[:'description']
|
|
189
|
+
end
|
|
190
|
+
|
|
182
191
|
if attributes.key?(:'force_sub_claims')
|
|
183
192
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
184
193
|
end
|
|
@@ -282,6 +291,7 @@ module Akeyless
|
|
|
282
291
|
bound_ips == o.bound_ips &&
|
|
283
292
|
client_id == o.client_id &&
|
|
284
293
|
client_secret == o.client_secret &&
|
|
294
|
+
description == o.description &&
|
|
285
295
|
force_sub_claims == o.force_sub_claims &&
|
|
286
296
|
gw_bound_ips == o.gw_bound_ips &&
|
|
287
297
|
issuer == o.issuer &&
|
|
@@ -306,7 +316,7 @@ module Akeyless
|
|
|
306
316
|
# Calculates hash code according to all attributes.
|
|
307
317
|
# @return [Integer] Hash code
|
|
308
318
|
def hash
|
|
309
|
-
[access_expires, allowed_redirect_uri, audience, bound_ips, client_id, client_secret, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, new_name, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
319
|
+
[access_expires, allowed_redirect_uri, audience, bound_ips, client_id, client_secret, description, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, new_name, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
310
320
|
end
|
|
311
321
|
|
|
312
322
|
# Builds the object from hash
|
|
@@ -25,6 +25,9 @@ module Akeyless
|
|
|
25
25
|
# A CIDR whitelist with the IPs that the access is restricted to
|
|
26
26
|
attr_accessor :bound_ips
|
|
27
27
|
|
|
28
|
+
# Auth Method description
|
|
29
|
+
attr_accessor :description
|
|
30
|
+
|
|
28
31
|
# if true: enforce role-association must include sub claims
|
|
29
32
|
attr_accessor :force_sub_claims
|
|
30
33
|
|
|
@@ -67,6 +70,7 @@ module Akeyless
|
|
|
67
70
|
:'access_expires' => :'access-expires',
|
|
68
71
|
:'allowed_redirect_uri' => :'allowed-redirect-uri',
|
|
69
72
|
:'bound_ips' => :'bound-ips',
|
|
73
|
+
:'description' => :'description',
|
|
70
74
|
:'force_sub_claims' => :'force-sub-claims',
|
|
71
75
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
72
76
|
:'idp_metadata_url' => :'idp-metadata-url',
|
|
@@ -93,6 +97,7 @@ module Akeyless
|
|
|
93
97
|
:'access_expires' => :'Integer',
|
|
94
98
|
:'allowed_redirect_uri' => :'Array<String>',
|
|
95
99
|
:'bound_ips' => :'Array<String>',
|
|
100
|
+
:'description' => :'String',
|
|
96
101
|
:'force_sub_claims' => :'Boolean',
|
|
97
102
|
:'gw_bound_ips' => :'Array<String>',
|
|
98
103
|
:'idp_metadata_url' => :'String',
|
|
@@ -147,6 +152,10 @@ module Akeyless
|
|
|
147
152
|
end
|
|
148
153
|
end
|
|
149
154
|
|
|
155
|
+
if attributes.key?(:'description')
|
|
156
|
+
self.description = attributes[:'description']
|
|
157
|
+
end
|
|
158
|
+
|
|
150
159
|
if attributes.key?(:'force_sub_claims')
|
|
151
160
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
152
161
|
end
|
|
@@ -241,6 +250,7 @@ module Akeyless
|
|
|
241
250
|
access_expires == o.access_expires &&
|
|
242
251
|
allowed_redirect_uri == o.allowed_redirect_uri &&
|
|
243
252
|
bound_ips == o.bound_ips &&
|
|
253
|
+
description == o.description &&
|
|
244
254
|
force_sub_claims == o.force_sub_claims &&
|
|
245
255
|
gw_bound_ips == o.gw_bound_ips &&
|
|
246
256
|
idp_metadata_url == o.idp_metadata_url &&
|
|
@@ -264,7 +274,7 @@ module Akeyless
|
|
|
264
274
|
# Calculates hash code according to all attributes.
|
|
265
275
|
# @return [Integer] Hash code
|
|
266
276
|
def hash
|
|
267
|
-
[access_expires, allowed_redirect_uri, bound_ips, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, new_name, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
277
|
+
[access_expires, allowed_redirect_uri, bound_ips, description, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, new_name, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
268
278
|
end
|
|
269
279
|
|
|
270
280
|
# Builds the object from hash
|
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
|
28
28
|
# Deny from the token to rotate
|
|
29
29
|
attr_accessor :deny_rotate
|
|
30
30
|
|
|
31
|
+
# Auth Method description
|
|
32
|
+
attr_accessor :description
|
|
33
|
+
|
|
31
34
|
# if true: enforce role-association must include sub claims
|
|
32
35
|
attr_accessor :force_sub_claims
|
|
33
36
|
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
|
62
65
|
:'bound_ips' => :'bound-ips',
|
|
63
66
|
:'deny_inheritance' => :'deny-inheritance',
|
|
64
67
|
:'deny_rotate' => :'deny-rotate',
|
|
68
|
+
:'description' => :'description',
|
|
65
69
|
:'force_sub_claims' => :'force-sub-claims',
|
|
66
70
|
:'gw_bound_ips' => :'gw-bound-ips',
|
|
67
71
|
:'json' => :'json',
|
|
@@ -86,6 +90,7 @@ module Akeyless
|
|
|
86
90
|
:'bound_ips' => :'Array<String>',
|
|
87
91
|
:'deny_inheritance' => :'Boolean',
|
|
88
92
|
:'deny_rotate' => :'Boolean',
|
|
93
|
+
:'description' => :'String',
|
|
89
94
|
:'force_sub_claims' => :'Boolean',
|
|
90
95
|
:'gw_bound_ips' => :'Array<String>',
|
|
91
96
|
:'json' => :'Boolean',
|
|
@@ -139,6 +144,10 @@ module Akeyless
|
|
|
139
144
|
self.deny_rotate = attributes[:'deny_rotate']
|
|
140
145
|
end
|
|
141
146
|
|
|
147
|
+
if attributes.key?(:'description')
|
|
148
|
+
self.description = attributes[:'description']
|
|
149
|
+
end
|
|
150
|
+
|
|
142
151
|
if attributes.key?(:'force_sub_claims')
|
|
143
152
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
|
144
153
|
end
|
|
@@ -215,6 +224,7 @@ module Akeyless
|
|
|
215
224
|
bound_ips == o.bound_ips &&
|
|
216
225
|
deny_inheritance == o.deny_inheritance &&
|
|
217
226
|
deny_rotate == o.deny_rotate &&
|
|
227
|
+
description == o.description &&
|
|
218
228
|
force_sub_claims == o.force_sub_claims &&
|
|
219
229
|
gw_bound_ips == o.gw_bound_ips &&
|
|
220
230
|
json == o.json &&
|
|
@@ -235,7 +245,7 @@ module Akeyless
|
|
|
235
245
|
# Calculates hash code according to all attributes.
|
|
236
246
|
# @return [Integer] Hash code
|
|
237
247
|
def hash
|
|
238
|
-
[access_expires, bound_ips, deny_inheritance, deny_rotate, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, token, ttl, uid_token].hash
|
|
248
|
+
[access_expires, bound_ips, deny_inheritance, deny_rotate, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, token, ttl, uid_token].hash
|
|
239
249
|
end
|
|
240
250
|
|
|
241
251
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module Akeyless
|
|
|
36
36
|
# Set output format to JSON
|
|
37
37
|
attr_accessor :json
|
|
38
38
|
|
|
39
|
+
# Whether to keep previous version [true/false]. If not set, use default according to account settings
|
|
40
|
+
attr_accessor :keep_prev_version
|
|
41
|
+
|
|
39
42
|
# The name of a key to use to encrypt the certificate's key (if empty, the account default protectionKey key will be used)
|
|
40
43
|
attr_accessor :key
|
|
41
44
|
|
|
@@ -67,6 +70,7 @@ module Akeyless
|
|
|
67
70
|
:'expiration_event_in' => :'expiration-event-in',
|
|
68
71
|
:'format' => :'format',
|
|
69
72
|
:'json' => :'json',
|
|
73
|
+
:'keep_prev_version' => :'keep-prev-version',
|
|
70
74
|
:'key' => :'key',
|
|
71
75
|
:'key_data' => :'key-data',
|
|
72
76
|
:'metadata' => :'metadata',
|
|
@@ -92,6 +96,7 @@ module Akeyless
|
|
|
92
96
|
:'expiration_event_in' => :'Array<String>',
|
|
93
97
|
:'format' => :'String',
|
|
94
98
|
:'json' => :'Boolean',
|
|
99
|
+
:'keep_prev_version' => :'String',
|
|
95
100
|
:'key' => :'String',
|
|
96
101
|
:'key_data' => :'String',
|
|
97
102
|
:'metadata' => :'String',
|
|
@@ -157,6 +162,10 @@ module Akeyless
|
|
|
157
162
|
self.json = false
|
|
158
163
|
end
|
|
159
164
|
|
|
165
|
+
if attributes.key?(:'keep_prev_version')
|
|
166
|
+
self.keep_prev_version = attributes[:'keep_prev_version']
|
|
167
|
+
end
|
|
168
|
+
|
|
160
169
|
if attributes.key?(:'key')
|
|
161
170
|
self.key = attributes[:'key']
|
|
162
171
|
end
|
|
@@ -222,6 +231,7 @@ module Akeyless
|
|
|
222
231
|
expiration_event_in == o.expiration_event_in &&
|
|
223
232
|
format == o.format &&
|
|
224
233
|
json == o.json &&
|
|
234
|
+
keep_prev_version == o.keep_prev_version &&
|
|
225
235
|
key == o.key &&
|
|
226
236
|
key_data == o.key_data &&
|
|
227
237
|
metadata == o.metadata &&
|
|
@@ -240,7 +250,7 @@ module Akeyless
|
|
|
240
250
|
# Calculates hash code according to all attributes.
|
|
241
251
|
# @return [Integer] Hash code
|
|
242
252
|
def hash
|
|
243
|
-
[add_tag, certificate_data, delete_protection, description, expiration_event_in, format, json, key, key_data, metadata, name, rm_tag, token, uid_token].hash
|
|
253
|
+
[add_tag, certificate_data, delete_protection, description, expiration_event_in, format, json, keep_prev_version, key, key_data, metadata, name, rm_tag, token, uid_token].hash
|
|
244
254
|
end
|
|
245
255
|
|
|
246
256
|
# Builds the object from hash
|
|
@@ -15,6 +15,8 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UpdateItem
|
|
18
|
+
attr_accessor :provider_type
|
|
19
|
+
|
|
18
20
|
# for personal password manager
|
|
19
21
|
attr_accessor :accessibility
|
|
20
22
|
|
|
@@ -24,12 +26,18 @@ module Akeyless
|
|
|
24
26
|
# PEM Certificate in a Base64 format. Used for updating RSA keys' certificates.
|
|
25
27
|
attr_accessor :cert_file_data
|
|
26
28
|
|
|
29
|
+
# Trigger an event when a secret value changed [true/false] (Relevant only for Static Secret)
|
|
30
|
+
attr_accessor :change_event
|
|
31
|
+
|
|
27
32
|
# Protection from accidental deletion of this item [true/false]
|
|
28
33
|
attr_accessor :delete_protection
|
|
29
34
|
|
|
30
35
|
# Description of the object
|
|
31
36
|
attr_accessor :description
|
|
32
37
|
|
|
38
|
+
# Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret
|
|
39
|
+
attr_accessor :host_provider
|
|
40
|
+
|
|
33
41
|
# Set output format to JSON
|
|
34
42
|
attr_accessor :json
|
|
35
43
|
|
|
@@ -132,11 +140,14 @@ module Akeyless
|
|
|
132
140
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
133
141
|
def self.attribute_map
|
|
134
142
|
{
|
|
143
|
+
:'provider_type' => :'ProviderType',
|
|
135
144
|
:'accessibility' => :'accessibility',
|
|
136
145
|
:'add_tag' => :'add-tag',
|
|
137
146
|
:'cert_file_data' => :'cert-file-data',
|
|
147
|
+
:'change_event' => :'change-event',
|
|
138
148
|
:'delete_protection' => :'delete_protection',
|
|
139
149
|
:'description' => :'description',
|
|
150
|
+
:'host_provider' => :'host-provider',
|
|
140
151
|
:'json' => :'json',
|
|
141
152
|
:'name' => :'name',
|
|
142
153
|
:'new_metadata' => :'new-metadata',
|
|
@@ -181,11 +192,14 @@ module Akeyless
|
|
|
181
192
|
# Attribute type mapping.
|
|
182
193
|
def self.openapi_types
|
|
183
194
|
{
|
|
195
|
+
:'provider_type' => :'String',
|
|
184
196
|
:'accessibility' => :'String',
|
|
185
197
|
:'add_tag' => :'Array<String>',
|
|
186
198
|
:'cert_file_data' => :'String',
|
|
199
|
+
:'change_event' => :'String',
|
|
187
200
|
:'delete_protection' => :'String',
|
|
188
201
|
:'description' => :'String',
|
|
202
|
+
:'host_provider' => :'String',
|
|
189
203
|
:'json' => :'Boolean',
|
|
190
204
|
:'name' => :'String',
|
|
191
205
|
:'new_metadata' => :'String',
|
|
@@ -243,6 +257,10 @@ module Akeyless
|
|
|
243
257
|
h[k.to_sym] = v
|
|
244
258
|
}
|
|
245
259
|
|
|
260
|
+
if attributes.key?(:'provider_type')
|
|
261
|
+
self.provider_type = attributes[:'provider_type']
|
|
262
|
+
end
|
|
263
|
+
|
|
246
264
|
if attributes.key?(:'accessibility')
|
|
247
265
|
self.accessibility = attributes[:'accessibility']
|
|
248
266
|
else
|
|
@@ -259,6 +277,10 @@ module Akeyless
|
|
|
259
277
|
self.cert_file_data = attributes[:'cert_file_data']
|
|
260
278
|
end
|
|
261
279
|
|
|
280
|
+
if attributes.key?(:'change_event')
|
|
281
|
+
self.change_event = attributes[:'change_event']
|
|
282
|
+
end
|
|
283
|
+
|
|
262
284
|
if attributes.key?(:'delete_protection')
|
|
263
285
|
self.delete_protection = attributes[:'delete_protection']
|
|
264
286
|
end
|
|
@@ -269,6 +291,12 @@ module Akeyless
|
|
|
269
291
|
self.description = 'default_metadata'
|
|
270
292
|
end
|
|
271
293
|
|
|
294
|
+
if attributes.key?(:'host_provider')
|
|
295
|
+
self.host_provider = attributes[:'host_provider']
|
|
296
|
+
else
|
|
297
|
+
self.host_provider = 'explicit'
|
|
298
|
+
end
|
|
299
|
+
|
|
272
300
|
if attributes.key?(:'json')
|
|
273
301
|
self.json = attributes[:'json']
|
|
274
302
|
else
|
|
@@ -447,11 +475,14 @@ module Akeyless
|
|
|
447
475
|
def ==(o)
|
|
448
476
|
return true if self.equal?(o)
|
|
449
477
|
self.class == o.class &&
|
|
478
|
+
provider_type == o.provider_type &&
|
|
450
479
|
accessibility == o.accessibility &&
|
|
451
480
|
add_tag == o.add_tag &&
|
|
452
481
|
cert_file_data == o.cert_file_data &&
|
|
482
|
+
change_event == o.change_event &&
|
|
453
483
|
delete_protection == o.delete_protection &&
|
|
454
484
|
description == o.description &&
|
|
485
|
+
host_provider == o.host_provider &&
|
|
455
486
|
json == o.json &&
|
|
456
487
|
name == o.name &&
|
|
457
488
|
new_metadata == o.new_metadata &&
|
|
@@ -496,7 +527,7 @@ module Akeyless
|
|
|
496
527
|
# Calculates hash code according to all attributes.
|
|
497
528
|
# @return [Integer] Hash code
|
|
498
529
|
def hash
|
|
499
|
-
[accessibility, add_tag, cert_file_data, delete_protection, description, json, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
|
530
|
+
[provider_type, accessibility, add_tag, cert_file_data, change_event, delete_protection, description, host_provider, json, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
|
500
531
|
end
|
|
501
532
|
|
|
502
533
|
# Builds the object from hash
|
|
@@ -45,6 +45,9 @@ module Akeyless
|
|
|
45
45
|
# Authentication token (see `/auth` and `/configure`)
|
|
46
46
|
attr_accessor :token
|
|
47
47
|
|
|
48
|
+
# Specifies the hosts type, relevant only when working without parent target
|
|
49
|
+
attr_accessor :type
|
|
50
|
+
|
|
48
51
|
# The universal identity token, Required only for universal_identity authentication
|
|
49
52
|
attr_accessor :uid_token
|
|
50
53
|
|
|
@@ -61,6 +64,7 @@ module Akeyless
|
|
|
61
64
|
:'parent_target_name' => :'parent-target-name',
|
|
62
65
|
:'rm_hosts' => :'rm-hosts',
|
|
63
66
|
:'token' => :'token',
|
|
67
|
+
:'type' => :'type',
|
|
64
68
|
:'uid_token' => :'uid-token'
|
|
65
69
|
}
|
|
66
70
|
end
|
|
@@ -83,6 +87,7 @@ module Akeyless
|
|
|
83
87
|
:'parent_target_name' => :'String',
|
|
84
88
|
:'rm_hosts' => :'String',
|
|
85
89
|
:'token' => :'String',
|
|
90
|
+
:'type' => :'String',
|
|
86
91
|
:'uid_token' => :'String'
|
|
87
92
|
}
|
|
88
93
|
end
|
|
@@ -152,6 +157,10 @@ module Akeyless
|
|
|
152
157
|
self.token = attributes[:'token']
|
|
153
158
|
end
|
|
154
159
|
|
|
160
|
+
if attributes.key?(:'type')
|
|
161
|
+
self.type = attributes[:'type']
|
|
162
|
+
end
|
|
163
|
+
|
|
155
164
|
if attributes.key?(:'uid_token')
|
|
156
165
|
self.uid_token = attributes[:'uid_token']
|
|
157
166
|
end
|
|
@@ -192,6 +201,7 @@ module Akeyless
|
|
|
192
201
|
parent_target_name == o.parent_target_name &&
|
|
193
202
|
rm_hosts == o.rm_hosts &&
|
|
194
203
|
token == o.token &&
|
|
204
|
+
type == o.type &&
|
|
195
205
|
uid_token == o.uid_token
|
|
196
206
|
end
|
|
197
207
|
|
|
@@ -204,7 +214,7 @@ module Akeyless
|
|
|
204
214
|
# Calculates hash code according to all attributes.
|
|
205
215
|
# @return [Integer] Hash code
|
|
206
216
|
def hash
|
|
207
|
-
[add_hosts, description, hosts, json, keep_prev_version, name, new_name, parent_target_name, rm_hosts, token, uid_token].hash
|
|
217
|
+
[add_hosts, description, hosts, json, keep_prev_version, name, new_name, parent_target_name, rm_hosts, token, type, uid_token].hash
|
|
208
218
|
end
|
|
209
219
|
|
|
210
220
|
# Builds the object from hash
|
|
@@ -24,6 +24,12 @@ module Akeyless
|
|
|
24
24
|
# Description of the object
|
|
25
25
|
attr_accessor :description
|
|
26
26
|
|
|
27
|
+
# Allow this role to view Event Center. Currently only 'none', 'own' and 'all' values are supported
|
|
28
|
+
attr_accessor :event_center_access
|
|
29
|
+
|
|
30
|
+
# Allow this role to manage Event Forwarders. Currently only 'none' and 'all' values are supported.
|
|
31
|
+
attr_accessor :event_forwarder_access
|
|
32
|
+
|
|
27
33
|
# Allow this role to view gw analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods.
|
|
28
34
|
attr_accessor :gw_analytics_access
|
|
29
35
|
|
|
@@ -57,6 +63,8 @@ module Akeyless
|
|
|
57
63
|
:'analytics_access' => :'analytics-access',
|
|
58
64
|
:'audit_access' => :'audit-access',
|
|
59
65
|
:'description' => :'description',
|
|
66
|
+
:'event_center_access' => :'event-center-access',
|
|
67
|
+
:'event_forwarder_access' => :'event-forwarder-access',
|
|
60
68
|
:'gw_analytics_access' => :'gw-analytics-access',
|
|
61
69
|
:'json' => :'json',
|
|
62
70
|
:'name' => :'name',
|
|
@@ -80,6 +88,8 @@ module Akeyless
|
|
|
80
88
|
:'analytics_access' => :'String',
|
|
81
89
|
:'audit_access' => :'String',
|
|
82
90
|
:'description' => :'String',
|
|
91
|
+
:'event_center_access' => :'String',
|
|
92
|
+
:'event_forwarder_access' => :'String',
|
|
83
93
|
:'gw_analytics_access' => :'String',
|
|
84
94
|
:'json' => :'Boolean',
|
|
85
95
|
:'name' => :'String',
|
|
@@ -127,6 +137,14 @@ module Akeyless
|
|
|
127
137
|
self.description = 'default_comment'
|
|
128
138
|
end
|
|
129
139
|
|
|
140
|
+
if attributes.key?(:'event_center_access')
|
|
141
|
+
self.event_center_access = attributes[:'event_center_access']
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.key?(:'event_forwarder_access')
|
|
145
|
+
self.event_forwarder_access = attributes[:'event_forwarder_access']
|
|
146
|
+
end
|
|
147
|
+
|
|
130
148
|
if attributes.key?(:'gw_analytics_access')
|
|
131
149
|
self.gw_analytics_access = attributes[:'gw_analytics_access']
|
|
132
150
|
end
|
|
@@ -198,6 +216,8 @@ module Akeyless
|
|
|
198
216
|
analytics_access == o.analytics_access &&
|
|
199
217
|
audit_access == o.audit_access &&
|
|
200
218
|
description == o.description &&
|
|
219
|
+
event_center_access == o.event_center_access &&
|
|
220
|
+
event_forwarder_access == o.event_forwarder_access &&
|
|
201
221
|
gw_analytics_access == o.gw_analytics_access &&
|
|
202
222
|
json == o.json &&
|
|
203
223
|
name == o.name &&
|
|
@@ -218,7 +238,7 @@ module Akeyless
|
|
|
218
238
|
# Calculates hash code according to all attributes.
|
|
219
239
|
# @return [Integer] Hash code
|
|
220
240
|
def hash
|
|
221
|
-
[analytics_access, audit_access, description, gw_analytics_access, json, name, new_comment, new_name, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
241
|
+
[analytics_access, audit_access, description, event_center_access, event_forwarder_access, gw_analytics_access, json, name, new_comment, new_name, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
222
242
|
end
|
|
223
243
|
|
|
224
244
|
# Builds the object from hash
|