akeyless 3.5.4 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -46,6 +46,9 @@ module Akeyless
|
|
46
46
|
# The certificate data in base64, if no file was provided
|
47
47
|
attr_accessor :certificate_data
|
48
48
|
|
49
|
+
# Auth Method description
|
50
|
+
attr_accessor :description
|
51
|
+
|
49
52
|
# if true: enforce role-association must include sub claims
|
50
53
|
attr_accessor :force_sub_claims
|
51
54
|
|
@@ -86,6 +89,7 @@ module Akeyless
|
|
86
89
|
:'bound_organizational_units' => :'bound-organizational-units',
|
87
90
|
:'bound_uri_sans' => :'bound-uri-sans',
|
88
91
|
:'certificate_data' => :'certificate-data',
|
92
|
+
:'description' => :'description',
|
89
93
|
:'force_sub_claims' => :'force-sub-claims',
|
90
94
|
:'gw_bound_ips' => :'gw-bound-ips',
|
91
95
|
:'json' => :'json',
|
@@ -116,6 +120,7 @@ module Akeyless
|
|
116
120
|
:'bound_organizational_units' => :'Array<String>',
|
117
121
|
:'bound_uri_sans' => :'Array<String>',
|
118
122
|
:'certificate_data' => :'String',
|
123
|
+
:'description' => :'String',
|
119
124
|
:'force_sub_claims' => :'Boolean',
|
120
125
|
:'gw_bound_ips' => :'Array<String>',
|
121
126
|
:'json' => :'Boolean',
|
@@ -205,6 +210,10 @@ module Akeyless
|
|
205
210
|
self.certificate_data = attributes[:'certificate_data']
|
206
211
|
end
|
207
212
|
|
213
|
+
if attributes.key?(:'description')
|
214
|
+
self.description = attributes[:'description']
|
215
|
+
end
|
216
|
+
|
208
217
|
if attributes.key?(:'force_sub_claims')
|
209
218
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
210
219
|
end
|
@@ -294,6 +303,7 @@ module Akeyless
|
|
294
303
|
bound_organizational_units == o.bound_organizational_units &&
|
295
304
|
bound_uri_sans == o.bound_uri_sans &&
|
296
305
|
certificate_data == o.certificate_data &&
|
306
|
+
description == o.description &&
|
297
307
|
force_sub_claims == o.force_sub_claims &&
|
298
308
|
gw_bound_ips == o.gw_bound_ips &&
|
299
309
|
json == o.json &&
|
@@ -314,7 +324,7 @@ module Akeyless
|
|
314
324
|
# Calculates hash code according to all attributes.
|
315
325
|
# @return [Integer] Hash code
|
316
326
|
def hash
|
317
|
-
[access_expires, allowed_cors, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
327
|
+
[access_expires, allowed_cors, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
318
328
|
end
|
319
329
|
|
320
330
|
# 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
|
# An email address to be invited to have access
|
26
29
|
attr_accessor :email
|
27
30
|
|
@@ -51,6 +54,7 @@ module Akeyless
|
|
51
54
|
{
|
52
55
|
:'access_expires' => :'access-expires',
|
53
56
|
:'bound_ips' => :'bound-ips',
|
57
|
+
:'description' => :'description',
|
54
58
|
:'email' => :'email',
|
55
59
|
:'force_sub_claims' => :'force-sub-claims',
|
56
60
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -72,6 +76,7 @@ module Akeyless
|
|
72
76
|
{
|
73
77
|
:'access_expires' => :'Integer',
|
74
78
|
:'bound_ips' => :'Array<String>',
|
79
|
+
:'description' => :'String',
|
75
80
|
:'email' => :'String',
|
76
81
|
:'force_sub_claims' => :'Boolean',
|
77
82
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -116,6 +121,10 @@ module Akeyless
|
|
116
121
|
end
|
117
122
|
end
|
118
123
|
|
124
|
+
if attributes.key?(:'description')
|
125
|
+
self.description = attributes[:'description']
|
126
|
+
end
|
127
|
+
|
119
128
|
if attributes.key?(:'email')
|
120
129
|
self.email = attributes[:'email']
|
121
130
|
else
|
@@ -191,6 +200,7 @@ module Akeyless
|
|
191
200
|
self.class == o.class &&
|
192
201
|
access_expires == o.access_expires &&
|
193
202
|
bound_ips == o.bound_ips &&
|
203
|
+
description == o.description &&
|
194
204
|
email == o.email &&
|
195
205
|
force_sub_claims == o.force_sub_claims &&
|
196
206
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -210,7 +220,7 @@ module Akeyless
|
|
210
220
|
# Calculates hash code according to all attributes.
|
211
221
|
# @return [Integer] Hash code
|
212
222
|
def hash
|
213
|
-
[access_expires, bound_ips, email, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, token, uid_token].hash
|
223
|
+
[access_expires, bound_ips, description, email, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, token, uid_token].hash
|
214
224
|
end
|
215
225
|
|
216
226
|
# Builds the object from hash
|
@@ -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
|
|
@@ -78,6 +81,7 @@ module Akeyless
|
|
78
81
|
:'bound_regions' => :'bound-regions',
|
79
82
|
:'bound_service_accounts' => :'bound-service-accounts',
|
80
83
|
:'bound_zones' => :'bound-zones',
|
84
|
+
:'description' => :'description',
|
81
85
|
:'force_sub_claims' => :'force-sub-claims',
|
82
86
|
:'gw_bound_ips' => :'gw-bound-ips',
|
83
87
|
:'json' => :'json',
|
@@ -106,6 +110,7 @@ module Akeyless
|
|
106
110
|
:'bound_regions' => :'Array<String>',
|
107
111
|
:'bound_service_accounts' => :'Array<String>',
|
108
112
|
:'bound_zones' => :'Array<String>',
|
113
|
+
:'description' => :'String',
|
109
114
|
:'force_sub_claims' => :'Boolean',
|
110
115
|
:'gw_bound_ips' => :'Array<String>',
|
111
116
|
:'json' => :'Boolean',
|
@@ -187,6 +192,10 @@ module Akeyless
|
|
187
192
|
end
|
188
193
|
end
|
189
194
|
|
195
|
+
if attributes.key?(:'description')
|
196
|
+
self.description = attributes[:'description']
|
197
|
+
end
|
198
|
+
|
190
199
|
if attributes.key?(:'force_sub_claims')
|
191
200
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
192
201
|
end
|
@@ -277,6 +286,7 @@ module Akeyless
|
|
277
286
|
bound_regions == o.bound_regions &&
|
278
287
|
bound_service_accounts == o.bound_service_accounts &&
|
279
288
|
bound_zones == o.bound_zones &&
|
289
|
+
description == o.description &&
|
280
290
|
force_sub_claims == o.force_sub_claims &&
|
281
291
|
gw_bound_ips == o.gw_bound_ips &&
|
282
292
|
json == o.json &&
|
@@ -297,7 +307,7 @@ module Akeyless
|
|
297
307
|
# Calculates hash code according to all attributes.
|
298
308
|
# @return [Integer] Hash code
|
299
309
|
def hash
|
300
|
-
[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, service_account_creds_data, token, type, uid_token].hash
|
310
|
+
[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, service_account_creds_data, token, type, uid_token].hash
|
301
311
|
end
|
302
312
|
|
303
313
|
# Builds the object from hash
|
@@ -43,6 +43,9 @@ module Akeyless
|
|
43
43
|
# A list of full user-name that the access is restricted to
|
44
44
|
attr_accessor :bound_user_name
|
45
45
|
|
46
|
+
# Auth Method description
|
47
|
+
attr_accessor :description
|
48
|
+
|
46
49
|
# if true: enforce role-association must include sub claims
|
47
50
|
attr_accessor :force_sub_claims
|
48
51
|
|
@@ -76,6 +79,7 @@ module Akeyless
|
|
76
79
|
:'bound_tenant_name' => :'bound-tenant-name',
|
77
80
|
:'bound_user_id' => :'bound-user-id',
|
78
81
|
:'bound_user_name' => :'bound-user-name',
|
82
|
+
:'description' => :'description',
|
79
83
|
:'force_sub_claims' => :'force-sub-claims',
|
80
84
|
:'gw_bound_ips' => :'gw-bound-ips',
|
81
85
|
:'json' => :'json',
|
@@ -103,6 +107,7 @@ module Akeyless
|
|
103
107
|
:'bound_tenant_name' => :'Array<String>',
|
104
108
|
:'bound_user_id' => :'Array<String>',
|
105
109
|
:'bound_user_name' => :'Array<String>',
|
110
|
+
:'description' => :'String',
|
106
111
|
:'force_sub_claims' => :'Boolean',
|
107
112
|
:'gw_bound_ips' => :'Array<String>',
|
108
113
|
:'json' => :'Boolean',
|
@@ -188,6 +193,10 @@ module Akeyless
|
|
188
193
|
end
|
189
194
|
end
|
190
195
|
|
196
|
+
if attributes.key?(:'description')
|
197
|
+
self.description = attributes[:'description']
|
198
|
+
end
|
199
|
+
|
191
200
|
if attributes.key?(:'force_sub_claims')
|
192
201
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
193
202
|
end
|
@@ -259,6 +268,7 @@ module Akeyless
|
|
259
268
|
bound_tenant_name == o.bound_tenant_name &&
|
260
269
|
bound_user_id == o.bound_user_id &&
|
261
270
|
bound_user_name == o.bound_user_name &&
|
271
|
+
description == o.description &&
|
262
272
|
force_sub_claims == o.force_sub_claims &&
|
263
273
|
gw_bound_ips == o.gw_bound_ips &&
|
264
274
|
json == o.json &&
|
@@ -277,7 +287,7 @@ module Akeyless
|
|
277
287
|
# Calculates hash code according to all attributes.
|
278
288
|
# @return [Integer] Hash code
|
279
289
|
def hash
|
280
|
-
[access_expires, auth_url, bound_domain_id, bound_domain_name, bound_ips, bound_tenant_id, bound_tenant_name, bound_user_id, bound_user_name, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, token, uid_token].hash
|
290
|
+
[access_expires, auth_url, bound_domain_id, bound_domain_name, bound_ips, bound_tenant_id, bound_tenant_name, bound_user_id, bound_user_name, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, token, uid_token].hash
|
281
291
|
end
|
282
292
|
|
283
293
|
# 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
|
|
@@ -70,6 +73,7 @@ module Akeyless
|
|
70
73
|
:'bound_namespaces' => :'bound-namespaces',
|
71
74
|
:'bound_pod_names' => :'bound-pod-names',
|
72
75
|
:'bound_sa_names' => :'bound-sa-names',
|
76
|
+
:'description' => :'description',
|
73
77
|
:'force_sub_claims' => :'force-sub-claims',
|
74
78
|
:'gen_key' => :'gen-key',
|
75
79
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -96,6 +100,7 @@ module Akeyless
|
|
96
100
|
:'bound_namespaces' => :'Array<String>',
|
97
101
|
:'bound_pod_names' => :'Array<String>',
|
98
102
|
:'bound_sa_names' => :'Array<String>',
|
103
|
+
:'description' => :'String',
|
99
104
|
:'force_sub_claims' => :'Boolean',
|
100
105
|
:'gen_key' => :'String',
|
101
106
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -163,6 +168,10 @@ module Akeyless
|
|
163
168
|
end
|
164
169
|
end
|
165
170
|
|
171
|
+
if attributes.key?(:'description')
|
172
|
+
self.description = attributes[:'description']
|
173
|
+
end
|
174
|
+
|
166
175
|
if attributes.key?(:'force_sub_claims')
|
167
176
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
168
177
|
end
|
@@ -241,6 +250,7 @@ module Akeyless
|
|
241
250
|
bound_namespaces == o.bound_namespaces &&
|
242
251
|
bound_pod_names == o.bound_pod_names &&
|
243
252
|
bound_sa_names == o.bound_sa_names &&
|
253
|
+
description == o.description &&
|
244
254
|
force_sub_claims == o.force_sub_claims &&
|
245
255
|
gen_key == o.gen_key &&
|
246
256
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -261,7 +271,7 @@ module Akeyless
|
|
261
271
|
# Calculates hash code according to all attributes.
|
262
272
|
# @return [Integer] Hash code
|
263
273
|
def hash
|
264
|
-
[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, public_key, token, uid_token].hash
|
274
|
+
[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, public_key, token, uid_token].hash
|
265
275
|
end
|
266
276
|
|
267
277
|
# 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
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
57
60
|
{
|
58
61
|
:'access_expires' => :'access-expires',
|
59
62
|
:'bound_ips' => :'bound-ips',
|
63
|
+
:'description' => :'description',
|
60
64
|
:'force_sub_claims' => :'force-sub-claims',
|
61
65
|
:'gen_key' => :'gen-key',
|
62
66
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -80,6 +84,7 @@ module Akeyless
|
|
80
84
|
{
|
81
85
|
:'access_expires' => :'Integer',
|
82
86
|
:'bound_ips' => :'Array<String>',
|
87
|
+
:'description' => :'String',
|
83
88
|
:'force_sub_claims' => :'Boolean',
|
84
89
|
:'gen_key' => :'String',
|
85
90
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -126,6 +131,10 @@ module Akeyless
|
|
126
131
|
end
|
127
132
|
end
|
128
133
|
|
134
|
+
if attributes.key?(:'description')
|
135
|
+
self.description = attributes[:'description']
|
136
|
+
end
|
137
|
+
|
129
138
|
if attributes.key?(:'force_sub_claims')
|
130
139
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
131
140
|
end
|
@@ -206,6 +215,7 @@ module Akeyless
|
|
206
215
|
self.class == o.class &&
|
207
216
|
access_expires == o.access_expires &&
|
208
217
|
bound_ips == o.bound_ips &&
|
218
|
+
description == o.description &&
|
209
219
|
force_sub_claims == o.force_sub_claims &&
|
210
220
|
gen_key == o.gen_key &&
|
211
221
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -227,7 +237,7 @@ module Akeyless
|
|
227
237
|
# Calculates hash code according to all attributes.
|
228
238
|
# @return [Integer] Hash code
|
229
239
|
def hash
|
230
|
-
[access_expires, bound_ips, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, public_key_data, token, uid_token, unique_identifier].hash
|
240
|
+
[access_expires, bound_ips, description, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, public_key_data, token, uid_token, unique_identifier].hash
|
231
241
|
end
|
232
242
|
|
233
243
|
# 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
|
|
@@ -74,6 +77,7 @@ module Akeyless
|
|
74
77
|
:'audience' => :'audience',
|
75
78
|
:'bound_client_ids' => :'bound-client-ids',
|
76
79
|
:'bound_ips' => :'bound-ips',
|
80
|
+
:'description' => :'description',
|
77
81
|
:'force_sub_claims' => :'force-sub-claims',
|
78
82
|
:'gateway_url' => :'gateway-url',
|
79
83
|
:'gw_bound_ips' => :'gw-bound-ips',
|
@@ -102,6 +106,7 @@ module Akeyless
|
|
102
106
|
:'audience' => :'String',
|
103
107
|
:'bound_client_ids' => :'Array<String>',
|
104
108
|
:'bound_ips' => :'Array<String>',
|
109
|
+
:'description' => :'String',
|
105
110
|
:'force_sub_claims' => :'Boolean',
|
106
111
|
:'gateway_url' => :'String',
|
107
112
|
:'gw_bound_ips' => :'Array<String>',
|
@@ -161,6 +166,10 @@ module Akeyless
|
|
161
166
|
end
|
162
167
|
end
|
163
168
|
|
169
|
+
if attributes.key?(:'description')
|
170
|
+
self.description = attributes[:'description']
|
171
|
+
end
|
172
|
+
|
164
173
|
if attributes.key?(:'force_sub_claims')
|
165
174
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
166
175
|
end
|
@@ -267,6 +276,7 @@ module Akeyless
|
|
267
276
|
audience == o.audience &&
|
268
277
|
bound_client_ids == o.bound_client_ids &&
|
269
278
|
bound_ips == o.bound_ips &&
|
279
|
+
description == o.description &&
|
270
280
|
force_sub_claims == o.force_sub_claims &&
|
271
281
|
gateway_url == o.gateway_url &&
|
272
282
|
gw_bound_ips == o.gw_bound_ips &&
|
@@ -291,7 +301,7 @@ module Akeyless
|
|
291
301
|
# Calculates hash code according to all attributes.
|
292
302
|
# @return [Integer] Hash code
|
293
303
|
def hash
|
294
|
-
[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, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
304
|
+
[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, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
295
305
|
end
|
296
306
|
|
297
307
|
# 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
|
|
@@ -79,6 +82,7 @@ module Akeyless
|
|
79
82
|
:'bound_ips' => :'bound-ips',
|
80
83
|
:'client_id' => :'client-id',
|
81
84
|
:'client_secret' => :'client-secret',
|
85
|
+
:'description' => :'description',
|
82
86
|
:'force_sub_claims' => :'force-sub-claims',
|
83
87
|
:'gw_bound_ips' => :'gw-bound-ips',
|
84
88
|
:'issuer' => :'issuer',
|
@@ -108,6 +112,7 @@ module Akeyless
|
|
108
112
|
:'bound_ips' => :'Array<String>',
|
109
113
|
:'client_id' => :'String',
|
110
114
|
:'client_secret' => :'String',
|
115
|
+
:'description' => :'String',
|
111
116
|
:'force_sub_claims' => :'Boolean',
|
112
117
|
:'gw_bound_ips' => :'Array<String>',
|
113
118
|
:'issuer' => :'String',
|
@@ -174,6 +179,10 @@ module Akeyless
|
|
174
179
|
self.client_secret = attributes[:'client_secret']
|
175
180
|
end
|
176
181
|
|
182
|
+
if attributes.key?(:'description')
|
183
|
+
self.description = attributes[:'description']
|
184
|
+
end
|
185
|
+
|
177
186
|
if attributes.key?(:'force_sub_claims')
|
178
187
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
179
188
|
end
|
@@ -273,6 +282,7 @@ module Akeyless
|
|
273
282
|
bound_ips == o.bound_ips &&
|
274
283
|
client_id == o.client_id &&
|
275
284
|
client_secret == o.client_secret &&
|
285
|
+
description == o.description &&
|
276
286
|
force_sub_claims == o.force_sub_claims &&
|
277
287
|
gw_bound_ips == o.gw_bound_ips &&
|
278
288
|
issuer == o.issuer &&
|
@@ -296,7 +306,7 @@ module Akeyless
|
|
296
306
|
# Calculates hash code according to all attributes.
|
297
307
|
# @return [Integer] Hash code
|
298
308
|
def hash
|
299
|
-
[access_expires, allowed_redirect_uri, audience, bound_ips, client_id, client_secret, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
309
|
+
[access_expires, allowed_redirect_uri, audience, bound_ips, client_id, client_secret, description, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
300
310
|
end
|
301
311
|
|
302
312
|
# 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
|
|
@@ -64,6 +67,7 @@ module Akeyless
|
|
64
67
|
:'access_expires' => :'access-expires',
|
65
68
|
:'allowed_redirect_uri' => :'allowed-redirect-uri',
|
66
69
|
:'bound_ips' => :'bound-ips',
|
70
|
+
:'description' => :'description',
|
67
71
|
:'force_sub_claims' => :'force-sub-claims',
|
68
72
|
:'gw_bound_ips' => :'gw-bound-ips',
|
69
73
|
:'idp_metadata_url' => :'idp-metadata-url',
|
@@ -89,6 +93,7 @@ module Akeyless
|
|
89
93
|
:'access_expires' => :'Integer',
|
90
94
|
:'allowed_redirect_uri' => :'Array<String>',
|
91
95
|
:'bound_ips' => :'Array<String>',
|
96
|
+
:'description' => :'String',
|
92
97
|
:'force_sub_claims' => :'Boolean',
|
93
98
|
:'gw_bound_ips' => :'Array<String>',
|
94
99
|
:'idp_metadata_url' => :'String',
|
@@ -142,6 +147,10 @@ module Akeyless
|
|
142
147
|
end
|
143
148
|
end
|
144
149
|
|
150
|
+
if attributes.key?(:'description')
|
151
|
+
self.description = attributes[:'description']
|
152
|
+
end
|
153
|
+
|
145
154
|
if attributes.key?(:'force_sub_claims')
|
146
155
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
147
156
|
end
|
@@ -232,6 +241,7 @@ module Akeyless
|
|
232
241
|
access_expires == o.access_expires &&
|
233
242
|
allowed_redirect_uri == o.allowed_redirect_uri &&
|
234
243
|
bound_ips == o.bound_ips &&
|
244
|
+
description == o.description &&
|
235
245
|
force_sub_claims == o.force_sub_claims &&
|
236
246
|
gw_bound_ips == o.gw_bound_ips &&
|
237
247
|
idp_metadata_url == o.idp_metadata_url &&
|
@@ -254,7 +264,7 @@ module Akeyless
|
|
254
264
|
# Calculates hash code according to all attributes.
|
255
265
|
# @return [Integer] Hash code
|
256
266
|
def hash
|
257
|
-
[access_expires, allowed_redirect_uri, bound_ips, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
267
|
+
[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, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
258
268
|
end
|
259
269
|
|
260
270
|
# 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
|
|
@@ -59,6 +62,7 @@ module Akeyless
|
|
59
62
|
:'bound_ips' => :'bound-ips',
|
60
63
|
:'deny_inheritance' => :'deny-inheritance',
|
61
64
|
:'deny_rotate' => :'deny-rotate',
|
65
|
+
:'description' => :'description',
|
62
66
|
:'force_sub_claims' => :'force-sub-claims',
|
63
67
|
:'gw_bound_ips' => :'gw-bound-ips',
|
64
68
|
:'json' => :'json',
|
@@ -82,6 +86,7 @@ module Akeyless
|
|
82
86
|
:'bound_ips' => :'Array<String>',
|
83
87
|
:'deny_inheritance' => :'Boolean',
|
84
88
|
:'deny_rotate' => :'Boolean',
|
89
|
+
:'description' => :'String',
|
85
90
|
:'force_sub_claims' => :'Boolean',
|
86
91
|
:'gw_bound_ips' => :'Array<String>',
|
87
92
|
:'json' => :'Boolean',
|
@@ -134,6 +139,10 @@ module Akeyless
|
|
134
139
|
self.deny_rotate = attributes[:'deny_rotate']
|
135
140
|
end
|
136
141
|
|
142
|
+
if attributes.key?(:'description')
|
143
|
+
self.description = attributes[:'description']
|
144
|
+
end
|
145
|
+
|
137
146
|
if attributes.key?(:'force_sub_claims')
|
138
147
|
self.force_sub_claims = attributes[:'force_sub_claims']
|
139
148
|
end
|
@@ -206,6 +215,7 @@ module Akeyless
|
|
206
215
|
bound_ips == o.bound_ips &&
|
207
216
|
deny_inheritance == o.deny_inheritance &&
|
208
217
|
deny_rotate == o.deny_rotate &&
|
218
|
+
description == o.description &&
|
209
219
|
force_sub_claims == o.force_sub_claims &&
|
210
220
|
gw_bound_ips == o.gw_bound_ips &&
|
211
221
|
json == o.json &&
|
@@ -225,7 +235,7 @@ module Akeyless
|
|
225
235
|
# Calculates hash code according to all attributes.
|
226
236
|
# @return [Integer] Hash code
|
227
237
|
def hash
|
228
|
-
[access_expires, bound_ips, deny_inheritance, deny_rotate, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, token, ttl, uid_token].hash
|
238
|
+
[access_expires, bound_ips, deny_inheritance, deny_rotate, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, token, ttl, uid_token].hash
|
229
239
|
end
|
230
240
|
|
231
241
|
# Builds the object from hash
|
@@ -48,7 +48,7 @@ module Akeyless
|
|
48
48
|
# Event Source type [item, target, auth_method, gateway]
|
49
49
|
attr_accessor :event_source_type
|
50
50
|
|
51
|
-
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure]
|
51
|
+
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
52
52
|
attr_accessor :event_types
|
53
53
|
|
54
54
|
# Rate of periodic runner repetition in hours
|
@@ -33,6 +33,9 @@ module Akeyless
|
|
33
33
|
# Authentication token (see `/auth` and `/configure`)
|
34
34
|
attr_accessor :token
|
35
35
|
|
36
|
+
# Specifies the hosts type, relevant only when working without parent target
|
37
|
+
attr_accessor :type
|
38
|
+
|
36
39
|
# The universal identity token, Required only for universal_identity authentication
|
37
40
|
attr_accessor :uid_token
|
38
41
|
|
@@ -45,6 +48,7 @@ module Akeyless
|
|
45
48
|
:'name' => :'name',
|
46
49
|
:'parent_target_name' => :'parent-target-name',
|
47
50
|
:'token' => :'token',
|
51
|
+
:'type' => :'type',
|
48
52
|
:'uid_token' => :'uid-token'
|
49
53
|
}
|
50
54
|
end
|
@@ -63,6 +67,7 @@ module Akeyless
|
|
63
67
|
:'name' => :'String',
|
64
68
|
:'parent_target_name' => :'String',
|
65
69
|
:'token' => :'String',
|
70
|
+
:'type' => :'String',
|
66
71
|
:'uid_token' => :'String'
|
67
72
|
}
|
68
73
|
end
|
@@ -116,6 +121,10 @@ module Akeyless
|
|
116
121
|
self.token = attributes[:'token']
|
117
122
|
end
|
118
123
|
|
124
|
+
if attributes.key?(:'type')
|
125
|
+
self.type = attributes[:'type']
|
126
|
+
end
|
127
|
+
|
119
128
|
if attributes.key?(:'uid_token')
|
120
129
|
self.uid_token = attributes[:'uid_token']
|
121
130
|
end
|
@@ -152,6 +161,7 @@ module Akeyless
|
|
152
161
|
name == o.name &&
|
153
162
|
parent_target_name == o.parent_target_name &&
|
154
163
|
token == o.token &&
|
164
|
+
type == o.type &&
|
155
165
|
uid_token == o.uid_token
|
156
166
|
end
|
157
167
|
|
@@ -164,7 +174,7 @@ module Akeyless
|
|
164
174
|
# Calculates hash code according to all attributes.
|
165
175
|
# @return [Integer] Hash code
|
166
176
|
def hash
|
167
|
-
[description, hosts, json, name, parent_target_name, token, uid_token].hash
|
177
|
+
[description, hosts, json, name, parent_target_name, token, type, uid_token].hash
|
168
178
|
end
|
169
179
|
|
170
180
|
# Builds the object from hash
|
@@ -27,6 +27,12 @@ module Akeyless
|
|
27
27
|
# Description of the object
|
28
28
|
attr_accessor :description
|
29
29
|
|
30
|
+
# Allow this role to view Event Center. Currently only 'none', 'own' and 'all' values are supported
|
31
|
+
attr_accessor :event_center_access
|
32
|
+
|
33
|
+
# Allow this role to manage Event Forwarders. Currently only 'none' and 'all' values are supported.
|
34
|
+
attr_accessor :event_forwarders_access
|
35
|
+
|
30
36
|
# 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.
|
31
37
|
attr_accessor :gw_analytics_access
|
32
38
|
|
@@ -55,6 +61,8 @@ module Akeyless
|
|
55
61
|
:'audit_access' => :'audit-access',
|
56
62
|
:'comment' => :'comment',
|
57
63
|
:'description' => :'description',
|
64
|
+
:'event_center_access' => :'event-center-access',
|
65
|
+
:'event_forwarders_access' => :'event-forwarders-access',
|
58
66
|
:'gw_analytics_access' => :'gw-analytics-access',
|
59
67
|
:'json' => :'json',
|
60
68
|
:'name' => :'name',
|
@@ -77,6 +85,8 @@ module Akeyless
|
|
77
85
|
:'audit_access' => :'String',
|
78
86
|
:'comment' => :'String',
|
79
87
|
:'description' => :'String',
|
88
|
+
:'event_center_access' => :'String',
|
89
|
+
:'event_forwarders_access' => :'String',
|
80
90
|
:'gw_analytics_access' => :'String',
|
81
91
|
:'json' => :'Boolean',
|
82
92
|
:'name' => :'String',
|
@@ -124,6 +134,14 @@ module Akeyless
|
|
124
134
|
self.description = attributes[:'description']
|
125
135
|
end
|
126
136
|
|
137
|
+
if attributes.key?(:'event_center_access')
|
138
|
+
self.event_center_access = attributes[:'event_center_access']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.key?(:'event_forwarders_access')
|
142
|
+
self.event_forwarders_access = attributes[:'event_forwarders_access']
|
143
|
+
end
|
144
|
+
|
127
145
|
if attributes.key?(:'gw_analytics_access')
|
128
146
|
self.gw_analytics_access = attributes[:'gw_analytics_access']
|
129
147
|
end
|
@@ -186,6 +204,8 @@ module Akeyless
|
|
186
204
|
audit_access == o.audit_access &&
|
187
205
|
comment == o.comment &&
|
188
206
|
description == o.description &&
|
207
|
+
event_center_access == o.event_center_access &&
|
208
|
+
event_forwarders_access == o.event_forwarders_access &&
|
189
209
|
gw_analytics_access == o.gw_analytics_access &&
|
190
210
|
json == o.json &&
|
191
211
|
name == o.name &&
|
@@ -204,7 +224,7 @@ module Akeyless
|
|
204
224
|
# Calculates hash code according to all attributes.
|
205
225
|
# @return [Integer] Hash code
|
206
226
|
def hash
|
207
|
-
[analytics_access, audit_access, comment, description, gw_analytics_access, json, name, sra_reports_access, token, uid_token, usage_reports_access].hash
|
227
|
+
[analytics_access, audit_access, comment, description, event_center_access, event_forwarders_access, gw_analytics_access, json, name, sra_reports_access, token, uid_token, usage_reports_access].hash
|
208
228
|
end
|
209
229
|
|
210
230
|
# Builds the object from hash
|