akeyless 5.0.14 → 5.0.17
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/AccountGeneralSettings.md +2 -0
- data/docs/ActiveDirectoryPayload.md +2 -0
- data/docs/AllowedClientType.md +20 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateApiKey.md +2 -0
- data/docs/AuthMethodCreateAwsIam.md +2 -0
- data/docs/AuthMethodCreateAzureAD.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateEmail.md +2 -0
- data/docs/AuthMethodCreateGcp.md +2 -0
- data/docs/AuthMethodCreateK8s.md +2 -0
- data/docs/AuthMethodCreateKerberos.md +2 -0
- data/docs/AuthMethodCreateLdap.md +2 -0
- data/docs/AuthMethodCreateOCI.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +2 -0
- data/docs/AuthMethodCreateOauth2.md +2 -0
- data/docs/AuthMethodCreateSAML.md +2 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
- data/docs/AuthMethodUpdateApiKey.md +2 -0
- data/docs/AuthMethodUpdateAwsIam.md +2 -0
- data/docs/AuthMethodUpdateAzureAD.md +2 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateEmail.md +2 -0
- data/docs/AuthMethodUpdateGcp.md +2 -0
- data/docs/AuthMethodUpdateK8s.md +2 -0
- data/docs/AuthMethodUpdateKerberos.md +2 -0
- data/docs/AuthMethodUpdateLdap.md +2 -0
- data/docs/AuthMethodUpdateOCI.md +2 -0
- data/docs/AuthMethodUpdateOIDC.md +2 -0
- data/docs/AuthMethodUpdateOauth2.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +2 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
- data/docs/BastionGlobalConf.md +4 -0
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +2 -0
- 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/CreateAuthMethodOCI.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DynamicSecretCreateGcp.md +22 -6
- data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretCreateMongoDb.md +2 -0
- data/docs/DynamicSecretCreateMsSql.md +2 -0
- data/docs/DynamicSecretGetValue.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +22 -6
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +2 -0
- data/docs/DynamicSecretUpdateMsSql.md +2 -0
- data/docs/EventForwarderGetOutput.md +3 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +22 -6
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +22 -6
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateRemoteAccess.md +4 -0
- data/docs/GetDynamicSecretValue.md +2 -0
- data/docs/NotiForwarderDetailsInput.md +28 -0
- data/docs/PKICertificateIssueDetails.md +6 -0
- data/docs/RotatedSecretCreateSsh.md +4 -0
- data/docs/RotatedSecretDeleteSync.md +2 -0
- data/docs/RotatedSecretDetailsInfo.md +4 -0
- data/docs/RotatedSecretUpdateSsh.md +4 -0
- data/docs/SlackNotiForwarderDetails.md +18 -0
- data/docs/StaticSecretDeleteSync.md +2 -0
- data/docs/TeamsNotiForwarderDetails.md +18 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +2 -0
- 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/UpdateAuthMethodOCI.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdatePKICertIssuer.md +6 -0
- data/docs/V2Api.md +4 -4
- data/docs/WebhookNotiForwarderDetails.md +26 -0
- data/docs/WindowsServiceAttributes.md +4 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/active_directory_payload.rb +10 -1
- data/lib/akeyless/models/allowed_client_type.rb +225 -0
- data/lib/akeyless/models/auth_method_access_info.rb +12 -1
- data/lib/akeyless/models/auth_method_create_api_key.rb +13 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +13 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +13 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +13 -1
- data/lib/akeyless/models/auth_method_create_email.rb +13 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +13 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +13 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +13 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +13 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +13 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +13 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +13 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +13 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +13 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +13 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +13 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +13 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +13 -1
- data/lib/akeyless/models/auth_method_update_email.rb +13 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +13 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +13 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +13 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +13 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +13 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +13 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +13 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +13 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +13 -1
- data/lib/akeyless/models/bastion_global_conf.rb +19 -1
- data/lib/akeyless/models/create_auth_method.rb +13 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +13 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +13 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +13 -1
- data/lib/akeyless/models/create_auth_method_email.rb +13 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +13 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +13 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +13 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +13 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +13 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +13 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +13 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +13 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +31 -1
- data/lib/akeyless/models/ds_producer_details.rb +47 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +92 -12
- data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_get_value.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +92 -12
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +11 -1
- data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
- data/lib/akeyless/models/gateway_create_migration.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +92 -12
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +92 -12
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_remote_access.rb +25 -1
- data/lib/akeyless/models/get_dynamic_secret_value.rb +11 -1
- data/lib/akeyless/models/noti_forwarder_details_input.rb +261 -0
- data/lib/akeyless/models/pki_certificate_issue_details.rb +31 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +21 -1
- data/lib/akeyless/models/rotated_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +21 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +21 -1
- data/lib/akeyless/models/slack_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/static_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/teams_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/update_account_settings.rb +23 -1
- data/lib/akeyless/models/update_auth_method.rb +13 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +13 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +13 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +13 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +13 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +13 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +13 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +13 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +13 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +13 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +13 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +31 -1
- data/lib/akeyless/models/webhook_noti_forwarder_details.rb +253 -0
- data/lib/akeyless/models/windows_service_attributes.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/allowed_client_type_spec.rb +42 -0
- data/spec/models/noti_forwarder_details_input_spec.rb +66 -0
- data/spec/models/slack_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/teams_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/webhook_noti_forwarder_details_spec.rb +60 -0
- metadata +21 -1
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
26
|
attr_accessor :audit_logs_claims
|
|
24
27
|
|
|
@@ -89,6 +92,7 @@ module Akeyless
|
|
|
89
92
|
def self.attribute_map
|
|
90
93
|
{
|
|
91
94
|
:'access_expires' => :'access-expires',
|
|
95
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
92
96
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
93
97
|
:'bound_arn' => :'bound-arn',
|
|
94
98
|
:'bound_aws_account_id' => :'bound-aws-account-id',
|
|
@@ -123,6 +127,7 @@ module Akeyless
|
|
|
123
127
|
def self.openapi_types
|
|
124
128
|
{
|
|
125
129
|
:'access_expires' => :'Integer',
|
|
130
|
+
:'allowed_client_type' => :'Array<String>',
|
|
126
131
|
:'audit_logs_claims' => :'Array<String>',
|
|
127
132
|
:'bound_arn' => :'Array<String>',
|
|
128
133
|
:'bound_aws_account_id' => :'Array<String>',
|
|
@@ -175,6 +180,12 @@ module Akeyless
|
|
|
175
180
|
self.access_expires = 0
|
|
176
181
|
end
|
|
177
182
|
|
|
183
|
+
if attributes.key?(:'allowed_client_type')
|
|
184
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
185
|
+
self.allowed_client_type = value
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
|
|
178
189
|
if attributes.key?(:'audit_logs_claims')
|
|
179
190
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
180
191
|
self.audit_logs_claims = value
|
|
@@ -329,6 +340,7 @@ module Akeyless
|
|
|
329
340
|
return true if self.equal?(o)
|
|
330
341
|
self.class == o.class &&
|
|
331
342
|
access_expires == o.access_expires &&
|
|
343
|
+
allowed_client_type == o.allowed_client_type &&
|
|
332
344
|
audit_logs_claims == o.audit_logs_claims &&
|
|
333
345
|
bound_arn == o.bound_arn &&
|
|
334
346
|
bound_aws_account_id == o.bound_aws_account_id &&
|
|
@@ -362,7 +374,7 @@ module Akeyless
|
|
|
362
374
|
# Calculates hash code according to all attributes.
|
|
363
375
|
# @return [Integer] Hash code
|
|
364
376
|
def hash
|
|
365
|
-
[access_expires, audit_logs_claims, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, sts_url, token, uid_token, unique_identifier].hash
|
|
377
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, sts_url, token, uid_token, unique_identifier].hash
|
|
366
378
|
end
|
|
367
379
|
|
|
368
380
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Deprecated (Deprecated) The audience in the JWT
|
|
23
26
|
attr_accessor :audience
|
|
24
27
|
|
|
@@ -101,6 +104,7 @@ module Akeyless
|
|
|
101
104
|
def self.attribute_map
|
|
102
105
|
{
|
|
103
106
|
:'access_expires' => :'access-expires',
|
|
107
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
104
108
|
:'audience' => :'audience',
|
|
105
109
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
106
110
|
:'bound_group_id' => :'bound-group-id',
|
|
@@ -139,6 +143,7 @@ module Akeyless
|
|
|
139
143
|
def self.openapi_types
|
|
140
144
|
{
|
|
141
145
|
:'access_expires' => :'Integer',
|
|
146
|
+
:'allowed_client_type' => :'Array<String>',
|
|
142
147
|
:'audience' => :'String',
|
|
143
148
|
:'audit_logs_claims' => :'Array<String>',
|
|
144
149
|
:'bound_group_id' => :'Array<String>',
|
|
@@ -195,6 +200,12 @@ module Akeyless
|
|
|
195
200
|
self.access_expires = 0
|
|
196
201
|
end
|
|
197
202
|
|
|
203
|
+
if attributes.key?(:'allowed_client_type')
|
|
204
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
205
|
+
self.allowed_client_type = value
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
198
209
|
if attributes.key?(:'audience')
|
|
199
210
|
self.audience = attributes[:'audience']
|
|
200
211
|
else
|
|
@@ -371,6 +382,7 @@ module Akeyless
|
|
|
371
382
|
return true if self.equal?(o)
|
|
372
383
|
self.class == o.class &&
|
|
373
384
|
access_expires == o.access_expires &&
|
|
385
|
+
allowed_client_type == o.allowed_client_type &&
|
|
374
386
|
audience == o.audience &&
|
|
375
387
|
audit_logs_claims == o.audit_logs_claims &&
|
|
376
388
|
bound_group_id == o.bound_group_id &&
|
|
@@ -408,7 +420,7 @@ module Akeyless
|
|
|
408
420
|
# Calculates hash code according to all attributes.
|
|
409
421
|
# @return [Integer] Hash code
|
|
410
422
|
def hash
|
|
411
|
-
[access_expires, audience, audit_logs_claims, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, product_type, token, uid_token, unique_identifier].hash
|
|
423
|
+
[access_expires, allowed_client_type, audience, audit_logs_claims, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, product_type, token, uid_token, unique_identifier].hash
|
|
412
424
|
end
|
|
413
425
|
|
|
414
426
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Comma separated list of allowed CORS domains to be validated as part of the authentication flow.
|
|
23
26
|
attr_accessor :allowed_cors
|
|
24
27
|
|
|
@@ -92,6 +95,7 @@ module Akeyless
|
|
|
92
95
|
def self.attribute_map
|
|
93
96
|
{
|
|
94
97
|
:'access_expires' => :'access-expires',
|
|
98
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
95
99
|
:'allowed_cors' => :'allowed-cors',
|
|
96
100
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
97
101
|
:'bound_common_names' => :'bound-common-names',
|
|
@@ -127,6 +131,7 @@ module Akeyless
|
|
|
127
131
|
def self.openapi_types
|
|
128
132
|
{
|
|
129
133
|
:'access_expires' => :'Integer',
|
|
134
|
+
:'allowed_client_type' => :'Array<String>',
|
|
130
135
|
:'allowed_cors' => :'String',
|
|
131
136
|
:'audit_logs_claims' => :'Array<String>',
|
|
132
137
|
:'bound_common_names' => :'Array<String>',
|
|
@@ -180,6 +185,12 @@ module Akeyless
|
|
|
180
185
|
self.access_expires = 0
|
|
181
186
|
end
|
|
182
187
|
|
|
188
|
+
if attributes.key?(:'allowed_client_type')
|
|
189
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
190
|
+
self.allowed_client_type = value
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
|
|
183
194
|
if attributes.key?(:'allowed_cors')
|
|
184
195
|
self.allowed_cors = attributes[:'allowed_cors']
|
|
185
196
|
end
|
|
@@ -336,6 +347,7 @@ module Akeyless
|
|
|
336
347
|
return true if self.equal?(o)
|
|
337
348
|
self.class == o.class &&
|
|
338
349
|
access_expires == o.access_expires &&
|
|
350
|
+
allowed_client_type == o.allowed_client_type &&
|
|
339
351
|
allowed_cors == o.allowed_cors &&
|
|
340
352
|
audit_logs_claims == o.audit_logs_claims &&
|
|
341
353
|
bound_common_names == o.bound_common_names &&
|
|
@@ -370,7 +382,7 @@ module Akeyless
|
|
|
370
382
|
# Calculates hash code according to all attributes.
|
|
371
383
|
# @return [Integer] Hash code
|
|
372
384
|
def hash
|
|
373
|
-
[access_expires, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
|
385
|
+
[access_expires, allowed_client_type, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
|
374
386
|
end
|
|
375
387
|
|
|
376
388
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
26
|
attr_accessor :audit_logs_claims
|
|
24
27
|
|
|
@@ -71,6 +74,7 @@ module Akeyless
|
|
|
71
74
|
def self.attribute_map
|
|
72
75
|
{
|
|
73
76
|
:'access_expires' => :'access-expires',
|
|
77
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
74
78
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
75
79
|
:'bound_ips' => :'bound-ips',
|
|
76
80
|
:'delete_protection' => :'delete_protection',
|
|
@@ -99,6 +103,7 @@ module Akeyless
|
|
|
99
103
|
def self.openapi_types
|
|
100
104
|
{
|
|
101
105
|
:'access_expires' => :'Integer',
|
|
106
|
+
:'allowed_client_type' => :'Array<String>',
|
|
102
107
|
:'audit_logs_claims' => :'Array<String>',
|
|
103
108
|
:'bound_ips' => :'Array<String>',
|
|
104
109
|
:'delete_protection' => :'String',
|
|
@@ -145,6 +150,12 @@ module Akeyless
|
|
|
145
150
|
self.access_expires = 0
|
|
146
151
|
end
|
|
147
152
|
|
|
153
|
+
if attributes.key?(:'allowed_client_type')
|
|
154
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
155
|
+
self.allowed_client_type = value
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
|
|
148
159
|
if attributes.key?(:'audit_logs_claims')
|
|
149
160
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
150
161
|
self.audit_logs_claims = value
|
|
@@ -261,6 +272,7 @@ module Akeyless
|
|
|
261
272
|
return true if self.equal?(o)
|
|
262
273
|
self.class == o.class &&
|
|
263
274
|
access_expires == o.access_expires &&
|
|
275
|
+
allowed_client_type == o.allowed_client_type &&
|
|
264
276
|
audit_logs_claims == o.audit_logs_claims &&
|
|
265
277
|
bound_ips == o.bound_ips &&
|
|
266
278
|
delete_protection == o.delete_protection &&
|
|
@@ -288,7 +300,7 @@ module Akeyless
|
|
|
288
300
|
# Calculates hash code according to all attributes.
|
|
289
301
|
# @return [Integer] Hash code
|
|
290
302
|
def hash
|
|
291
|
-
[access_expires, audit_logs_claims, bound_ips, delete_protection, description, email, enable_mfa, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, mfa_type, name, product_type, token, uid_token].hash
|
|
303
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, description, email, enable_mfa, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, mfa_type, name, product_type, token, uid_token].hash
|
|
292
304
|
end
|
|
293
305
|
|
|
294
306
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# The audience to verify in the JWT received by the client
|
|
23
26
|
attr_accessor :audience
|
|
24
27
|
|
|
@@ -89,6 +92,7 @@ module Akeyless
|
|
|
89
92
|
def self.attribute_map
|
|
90
93
|
{
|
|
91
94
|
:'access_expires' => :'access-expires',
|
|
95
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
92
96
|
:'audience' => :'audience',
|
|
93
97
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
94
98
|
:'bound_ips' => :'bound-ips',
|
|
@@ -123,6 +127,7 @@ module Akeyless
|
|
|
123
127
|
def self.openapi_types
|
|
124
128
|
{
|
|
125
129
|
:'access_expires' => :'Integer',
|
|
130
|
+
:'allowed_client_type' => :'Array<String>',
|
|
126
131
|
:'audience' => :'String',
|
|
127
132
|
:'audit_logs_claims' => :'Array<String>',
|
|
128
133
|
:'bound_ips' => :'Array<String>',
|
|
@@ -175,6 +180,12 @@ module Akeyless
|
|
|
175
180
|
self.access_expires = 0
|
|
176
181
|
end
|
|
177
182
|
|
|
183
|
+
if attributes.key?(:'allowed_client_type')
|
|
184
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
185
|
+
self.allowed_client_type = value
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
|
|
178
189
|
if attributes.key?(:'audience')
|
|
179
190
|
self.audience = attributes[:'audience']
|
|
180
191
|
else
|
|
@@ -330,6 +341,7 @@ module Akeyless
|
|
|
330
341
|
return true if self.equal?(o)
|
|
331
342
|
self.class == o.class &&
|
|
332
343
|
access_expires == o.access_expires &&
|
|
344
|
+
allowed_client_type == o.allowed_client_type &&
|
|
333
345
|
audience == o.audience &&
|
|
334
346
|
audit_logs_claims == o.audit_logs_claims &&
|
|
335
347
|
bound_ips == o.bound_ips &&
|
|
@@ -363,7 +375,7 @@ module Akeyless
|
|
|
363
375
|
# Calculates hash code according to all attributes.
|
|
364
376
|
# @return [Integer] Hash code
|
|
365
377
|
def hash
|
|
366
|
-
[access_expires, audience, audit_logs_claims, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, service_account_creds_data, token, type, uid_token, unique_identifier].hash
|
|
378
|
+
[access_expires, allowed_client_type, audience, audit_logs_claims, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, service_account_creds_data, token, type, uid_token, unique_identifier].hash
|
|
367
379
|
end
|
|
368
380
|
|
|
369
381
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# The audience in the Kubernetes JWT that the access is restricted to
|
|
23
26
|
attr_accessor :audience
|
|
24
27
|
|
|
@@ -80,6 +83,7 @@ module Akeyless
|
|
|
80
83
|
def self.attribute_map
|
|
81
84
|
{
|
|
82
85
|
:'access_expires' => :'access-expires',
|
|
86
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
83
87
|
:'audience' => :'audience',
|
|
84
88
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
85
89
|
:'bound_ips' => :'bound-ips',
|
|
@@ -111,6 +115,7 @@ module Akeyless
|
|
|
111
115
|
def self.openapi_types
|
|
112
116
|
{
|
|
113
117
|
:'access_expires' => :'Integer',
|
|
118
|
+
:'allowed_client_type' => :'Array<String>',
|
|
114
119
|
:'audience' => :'String',
|
|
115
120
|
:'audit_logs_claims' => :'Array<String>',
|
|
116
121
|
:'bound_ips' => :'Array<String>',
|
|
@@ -160,6 +165,12 @@ module Akeyless
|
|
|
160
165
|
self.access_expires = 0
|
|
161
166
|
end
|
|
162
167
|
|
|
168
|
+
if attributes.key?(:'allowed_client_type')
|
|
169
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
170
|
+
self.allowed_client_type = value
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
|
|
163
174
|
if attributes.key?(:'audience')
|
|
164
175
|
self.audience = attributes[:'audience']
|
|
165
176
|
end
|
|
@@ -287,6 +298,7 @@ module Akeyless
|
|
|
287
298
|
return true if self.equal?(o)
|
|
288
299
|
self.class == o.class &&
|
|
289
300
|
access_expires == o.access_expires &&
|
|
301
|
+
allowed_client_type == o.allowed_client_type &&
|
|
290
302
|
audience == o.audience &&
|
|
291
303
|
audit_logs_claims == o.audit_logs_claims &&
|
|
292
304
|
bound_ips == o.bound_ips &&
|
|
@@ -317,7 +329,7 @@ module Akeyless
|
|
|
317
329
|
# Calculates hash code according to all attributes.
|
|
318
330
|
# @return [Integer] Hash code
|
|
319
331
|
def hash
|
|
320
|
-
[access_expires, audience, audit_logs_claims, bound_ips, bound_namespaces, bound_pod_names, bound_sa_names, delete_protection, description, expiration_event_in, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, product_type, public_key, token, uid_token].hash
|
|
332
|
+
[access_expires, allowed_client_type, audience, audit_logs_claims, bound_ips, bound_namespaces, bound_pod_names, bound_sa_names, delete_protection, description, expiration_event_in, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, product_type, public_key, token, uid_token].hash
|
|
321
333
|
end
|
|
322
334
|
|
|
323
335
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
26
|
attr_accessor :audit_logs_claims
|
|
24
27
|
|
|
@@ -96,6 +99,7 @@ module Akeyless
|
|
|
96
99
|
def self.attribute_map
|
|
97
100
|
{
|
|
98
101
|
:'access_expires' => :'access-expires',
|
|
102
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
99
103
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
100
104
|
:'bind_dn' => :'bind-dn',
|
|
101
105
|
:'bind_dn_password' => :'bind-dn-password',
|
|
@@ -137,6 +141,7 @@ module Akeyless
|
|
|
137
141
|
def self.openapi_types
|
|
138
142
|
{
|
|
139
143
|
:'access_expires' => :'Integer',
|
|
144
|
+
:'allowed_client_type' => :'Array<String>',
|
|
140
145
|
:'audit_logs_claims' => :'Array<String>',
|
|
141
146
|
:'bind_dn' => :'String',
|
|
142
147
|
:'bind_dn_password' => :'String',
|
|
@@ -196,6 +201,12 @@ module Akeyless
|
|
|
196
201
|
self.access_expires = 0
|
|
197
202
|
end
|
|
198
203
|
|
|
204
|
+
if attributes.key?(:'allowed_client_type')
|
|
205
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
206
|
+
self.allowed_client_type = value
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
|
|
199
210
|
if attributes.key?(:'audit_logs_claims')
|
|
200
211
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
201
212
|
self.audit_logs_claims = value
|
|
@@ -357,6 +368,7 @@ module Akeyless
|
|
|
357
368
|
return true if self.equal?(o)
|
|
358
369
|
self.class == o.class &&
|
|
359
370
|
access_expires == o.access_expires &&
|
|
371
|
+
allowed_client_type == o.allowed_client_type &&
|
|
360
372
|
audit_logs_claims == o.audit_logs_claims &&
|
|
361
373
|
bind_dn == o.bind_dn &&
|
|
362
374
|
bind_dn_password == o.bind_dn_password &&
|
|
@@ -397,7 +409,7 @@ module Akeyless
|
|
|
397
409
|
# Calculates hash code according to all attributes.
|
|
398
410
|
# @return [Integer] Hash code
|
|
399
411
|
def hash
|
|
400
|
-
[access_expires, audit_logs_claims, bind_dn, bind_dn_password, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, group_attr, group_dn, group_filter, gw_bound_ips, json, jwt_ttl, keytab_file_data, keytab_file_path, krb5_conf_data, krb5_conf_path, ldap_anonymous_search, ldap_ca_cert, ldap_url, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, user_attribute, user_dn].hash
|
|
412
|
+
[access_expires, allowed_client_type, audit_logs_claims, bind_dn, bind_dn_password, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, group_attr, group_dn, group_filter, gw_bound_ips, json, jwt_ttl, keytab_file_data, keytab_file_path, krb5_conf_data, krb5_conf_path, ldap_anonymous_search, ldap_ca_cert, ldap_url, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, user_attribute, user_dn].hash
|
|
401
413
|
end
|
|
402
414
|
|
|
403
415
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
26
|
attr_accessor :audit_logs_claims
|
|
24
27
|
|
|
@@ -71,6 +74,7 @@ module Akeyless
|
|
|
71
74
|
def self.attribute_map
|
|
72
75
|
{
|
|
73
76
|
:'access_expires' => :'access-expires',
|
|
77
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
74
78
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
75
79
|
:'bound_ips' => :'bound-ips',
|
|
76
80
|
:'delete_protection' => :'delete_protection',
|
|
@@ -99,6 +103,7 @@ module Akeyless
|
|
|
99
103
|
def self.openapi_types
|
|
100
104
|
{
|
|
101
105
|
:'access_expires' => :'Integer',
|
|
106
|
+
:'allowed_client_type' => :'Array<String>',
|
|
102
107
|
:'audit_logs_claims' => :'Array<String>',
|
|
103
108
|
:'bound_ips' => :'Array<String>',
|
|
104
109
|
:'delete_protection' => :'String',
|
|
@@ -145,6 +150,12 @@ module Akeyless
|
|
|
145
150
|
self.access_expires = 0
|
|
146
151
|
end
|
|
147
152
|
|
|
153
|
+
if attributes.key?(:'allowed_client_type')
|
|
154
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
155
|
+
self.allowed_client_type = value
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
|
|
148
159
|
if attributes.key?(:'audit_logs_claims')
|
|
149
160
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
150
161
|
self.audit_logs_claims = value
|
|
@@ -256,6 +267,7 @@ module Akeyless
|
|
|
256
267
|
return true if self.equal?(o)
|
|
257
268
|
self.class == o.class &&
|
|
258
269
|
access_expires == o.access_expires &&
|
|
270
|
+
allowed_client_type == o.allowed_client_type &&
|
|
259
271
|
audit_logs_claims == o.audit_logs_claims &&
|
|
260
272
|
bound_ips == o.bound_ips &&
|
|
261
273
|
delete_protection == o.delete_protection &&
|
|
@@ -283,7 +295,7 @@ module Akeyless
|
|
|
283
295
|
# Calculates hash code according to all attributes.
|
|
284
296
|
# @return [Integer] Hash code
|
|
285
297
|
def hash
|
|
286
|
-
[access_expires, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, product_type, public_key_data, token, uid_token, unique_identifier].hash
|
|
298
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gen_key, gw_bound_ips, json, jwt_ttl, name, product_type, public_key_data, token, uid_token, unique_identifier].hash
|
|
287
299
|
end
|
|
288
300
|
|
|
289
301
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# The audience in the JWT
|
|
23
26
|
attr_accessor :audience
|
|
24
27
|
|
|
@@ -92,6 +95,7 @@ module Akeyless
|
|
|
92
95
|
def self.attribute_map
|
|
93
96
|
{
|
|
94
97
|
:'access_expires' => :'access-expires',
|
|
98
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
95
99
|
:'audience' => :'audience',
|
|
96
100
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
97
101
|
:'bound_client_ids' => :'bound-client-ids',
|
|
@@ -127,6 +131,7 @@ module Akeyless
|
|
|
127
131
|
def self.openapi_types
|
|
128
132
|
{
|
|
129
133
|
:'access_expires' => :'Integer',
|
|
134
|
+
:'allowed_client_type' => :'Array<String>',
|
|
130
135
|
:'audience' => :'String',
|
|
131
136
|
:'audit_logs_claims' => :'Array<String>',
|
|
132
137
|
:'bound_client_ids' => :'Array<String>',
|
|
@@ -180,6 +185,12 @@ module Akeyless
|
|
|
180
185
|
self.access_expires = 0
|
|
181
186
|
end
|
|
182
187
|
|
|
188
|
+
if attributes.key?(:'allowed_client_type')
|
|
189
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
190
|
+
self.allowed_client_type = value
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
|
|
183
194
|
if attributes.key?(:'audience')
|
|
184
195
|
self.audience = attributes[:'audience']
|
|
185
196
|
end
|
|
@@ -326,6 +337,7 @@ module Akeyless
|
|
|
326
337
|
return true if self.equal?(o)
|
|
327
338
|
self.class == o.class &&
|
|
328
339
|
access_expires == o.access_expires &&
|
|
340
|
+
allowed_client_type == o.allowed_client_type &&
|
|
329
341
|
audience == o.audience &&
|
|
330
342
|
audit_logs_claims == o.audit_logs_claims &&
|
|
331
343
|
bound_client_ids == o.bound_client_ids &&
|
|
@@ -360,7 +372,7 @@ module Akeyless
|
|
|
360
372
|
# Calculates hash code according to all attributes.
|
|
361
373
|
# @return [Integer] Hash code
|
|
362
374
|
def hash
|
|
363
|
-
[access_expires, audience, audit_logs_claims, bound_client_ids, bound_ips, cert, cert_file_data, delete_protection, description, expiration_event_in, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwks_json_data, jwks_uri, jwt_ttl, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
375
|
+
[access_expires, allowed_client_type, audience, audit_logs_claims, bound_client_ids, bound_ips, cert, cert_file_data, delete_protection, description, expiration_event_in, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwks_json_data, jwks_uri, jwt_ttl, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
364
376
|
end
|
|
365
377
|
|
|
366
378
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
26
|
attr_accessor :audit_logs_claims
|
|
24
27
|
|
|
@@ -68,6 +71,7 @@ module Akeyless
|
|
|
68
71
|
def self.attribute_map
|
|
69
72
|
{
|
|
70
73
|
:'access_expires' => :'access-expires',
|
|
74
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
71
75
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
72
76
|
:'bound_ips' => :'bound-ips',
|
|
73
77
|
:'delete_protection' => :'delete_protection',
|
|
@@ -95,6 +99,7 @@ module Akeyless
|
|
|
95
99
|
def self.openapi_types
|
|
96
100
|
{
|
|
97
101
|
:'access_expires' => :'Integer',
|
|
102
|
+
:'allowed_client_type' => :'Array<String>',
|
|
98
103
|
:'audit_logs_claims' => :'Array<String>',
|
|
99
104
|
:'bound_ips' => :'Array<String>',
|
|
100
105
|
:'delete_protection' => :'String',
|
|
@@ -140,6 +145,12 @@ module Akeyless
|
|
|
140
145
|
self.access_expires = 0
|
|
141
146
|
end
|
|
142
147
|
|
|
148
|
+
if attributes.key?(:'allowed_client_type')
|
|
149
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
150
|
+
self.allowed_client_type = value
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
143
154
|
if attributes.key?(:'audit_logs_claims')
|
|
144
155
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
145
156
|
self.audit_logs_claims = value
|
|
@@ -259,6 +270,7 @@ module Akeyless
|
|
|
259
270
|
return true if self.equal?(o)
|
|
260
271
|
self.class == o.class &&
|
|
261
272
|
access_expires == o.access_expires &&
|
|
273
|
+
allowed_client_type == o.allowed_client_type &&
|
|
262
274
|
audit_logs_claims == o.audit_logs_claims &&
|
|
263
275
|
bound_ips == o.bound_ips &&
|
|
264
276
|
delete_protection == o.delete_protection &&
|
|
@@ -285,7 +297,7 @@ module Akeyless
|
|
|
285
297
|
# Calculates hash code according to all attributes.
|
|
286
298
|
# @return [Integer] Hash code
|
|
287
299
|
def hash
|
|
288
|
-
[access_expires, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, group_ocid, gw_bound_ips, json, jwt_ttl, name, product_type, tenant_ocid, token, uid_token].hash
|
|
300
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, group_ocid, gw_bound_ips, json, jwt_ttl, name, product_type, tenant_ocid, token, uid_token].hash
|
|
289
301
|
end
|
|
290
302
|
|
|
291
303
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Allowed redirect URIs after the authentication
|
|
23
26
|
attr_accessor :allowed_redirect_uri
|
|
24
27
|
|
|
@@ -89,6 +92,7 @@ module Akeyless
|
|
|
89
92
|
def self.attribute_map
|
|
90
93
|
{
|
|
91
94
|
:'access_expires' => :'access-expires',
|
|
95
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
92
96
|
:'allowed_redirect_uri' => :'allowed-redirect-uri',
|
|
93
97
|
:'audience' => :'audience',
|
|
94
98
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
@@ -123,6 +127,7 @@ module Akeyless
|
|
|
123
127
|
def self.openapi_types
|
|
124
128
|
{
|
|
125
129
|
:'access_expires' => :'Integer',
|
|
130
|
+
:'allowed_client_type' => :'Array<String>',
|
|
126
131
|
:'allowed_redirect_uri' => :'Array<String>',
|
|
127
132
|
:'audience' => :'String',
|
|
128
133
|
:'audit_logs_claims' => :'Array<String>',
|
|
@@ -175,6 +180,12 @@ module Akeyless
|
|
|
175
180
|
self.access_expires = 0
|
|
176
181
|
end
|
|
177
182
|
|
|
183
|
+
if attributes.key?(:'allowed_client_type')
|
|
184
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
185
|
+
self.allowed_client_type = value
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
|
|
178
189
|
if attributes.key?(:'allowed_redirect_uri')
|
|
179
190
|
if (value = attributes[:'allowed_redirect_uri']).is_a?(Array)
|
|
180
191
|
self.allowed_redirect_uri = value
|
|
@@ -319,6 +330,7 @@ module Akeyless
|
|
|
319
330
|
return true if self.equal?(o)
|
|
320
331
|
self.class == o.class &&
|
|
321
332
|
access_expires == o.access_expires &&
|
|
333
|
+
allowed_client_type == o.allowed_client_type &&
|
|
322
334
|
allowed_redirect_uri == o.allowed_redirect_uri &&
|
|
323
335
|
audience == o.audience &&
|
|
324
336
|
audit_logs_claims == o.audit_logs_claims &&
|
|
@@ -352,7 +364,7 @@ module Akeyless
|
|
|
352
364
|
# Calculates hash code according to all attributes.
|
|
353
365
|
# @return [Integer] Hash code
|
|
354
366
|
def hash
|
|
355
|
-
[access_expires, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
367
|
+
[access_expires, allowed_client_type, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, issuer, json, jwt_ttl, name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
356
368
|
end
|
|
357
369
|
|
|
358
370
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
20
20
|
attr_accessor :access_expires
|
|
21
21
|
|
|
22
|
+
# limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
|
|
23
|
+
attr_accessor :allowed_client_type
|
|
24
|
+
|
|
22
25
|
# Allowed redirect URIs after the authentication
|
|
23
26
|
attr_accessor :allowed_redirect_uri
|
|
24
27
|
|
|
@@ -77,6 +80,7 @@ module Akeyless
|
|
|
77
80
|
def self.attribute_map
|
|
78
81
|
{
|
|
79
82
|
:'access_expires' => :'access-expires',
|
|
83
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
80
84
|
:'allowed_redirect_uri' => :'allowed-redirect-uri',
|
|
81
85
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
82
86
|
:'bound_ips' => :'bound-ips',
|
|
@@ -107,6 +111,7 @@ module Akeyless
|
|
|
107
111
|
def self.openapi_types
|
|
108
112
|
{
|
|
109
113
|
:'access_expires' => :'Integer',
|
|
114
|
+
:'allowed_client_type' => :'Array<String>',
|
|
110
115
|
:'allowed_redirect_uri' => :'Array<String>',
|
|
111
116
|
:'audit_logs_claims' => :'Array<String>',
|
|
112
117
|
:'bound_ips' => :'Array<String>',
|
|
@@ -155,6 +160,12 @@ module Akeyless
|
|
|
155
160
|
self.access_expires = 0
|
|
156
161
|
end
|
|
157
162
|
|
|
163
|
+
if attributes.key?(:'allowed_client_type')
|
|
164
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
165
|
+
self.allowed_client_type = value
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
|
|
158
169
|
if attributes.key?(:'allowed_redirect_uri')
|
|
159
170
|
if (value = attributes[:'allowed_redirect_uri']).is_a?(Array)
|
|
160
171
|
self.allowed_redirect_uri = value
|
|
@@ -281,6 +292,7 @@ module Akeyless
|
|
|
281
292
|
return true if self.equal?(o)
|
|
282
293
|
self.class == o.class &&
|
|
283
294
|
access_expires == o.access_expires &&
|
|
295
|
+
allowed_client_type == o.allowed_client_type &&
|
|
284
296
|
allowed_redirect_uri == o.allowed_redirect_uri &&
|
|
285
297
|
audit_logs_claims == o.audit_logs_claims &&
|
|
286
298
|
bound_ips == o.bound_ips &&
|
|
@@ -310,7 +322,7 @@ module Akeyless
|
|
|
310
322
|
# Calculates hash code according to all attributes.
|
|
311
323
|
# @return [Integer] Hash code
|
|
312
324
|
def hash
|
|
313
|
-
[access_expires, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
325
|
+
[access_expires, allowed_client_type, allowed_redirect_uri, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, idp_metadata_url, idp_metadata_xml_data, json, jwt_ttl, name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
314
326
|
end
|
|
315
327
|
|
|
316
328
|
# Builds the object from hash
|