akeyless 5.0.13 → 5.0.16
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 +17 -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/CreateESM.md +2 -0
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateUSC.md +2 -0
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DecryptWithClassicKey.md +2 -0
- data/docs/DynamicSecretCreateGcp.md +23 -5
- 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 +23 -5
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +2 -0
- data/docs/DynamicSecretUpdateMsSql.md +2 -0
- data/docs/EncryptWithClassicKey.md +2 -0
- data/docs/EventForwarderGetOutput.md +3 -1
- data/docs/FolderCreate.md +34 -0
- data/docs/FolderCreateOutput.md +18 -0
- data/docs/FolderDelete.md +28 -0
- data/docs/FolderGet.md +28 -0
- data/docs/FolderGetOutput.md +18 -0
- data/docs/FolderUpdate.md +36 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +23 -5
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +23 -5
- 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/GetFolderOutput.md +36 -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 +256 -4
- data/docs/WebhookNotiForwarderDetails.md +26 -0
- data/docs/WindowsServiceAttributes.md +4 -0
- data/lib/akeyless/api/v2_api.rb +256 -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 +12 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_create_email.rb +12 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_update_email.rb +12 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -1
- data/lib/akeyless/models/bastion_global_conf.rb +19 -1
- data/lib/akeyless/models/create_auth_method.rb +12 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/create_auth_method_email.rb +12 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +12 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/create_esm.rb +11 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/create_role.rb +13 -1
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/decrypt_with_classic_key.rb +13 -1
- data/lib/akeyless/models/ds_producer_details.rb +47 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +101 -11
- 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 +101 -11
- 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/encrypt_with_classic_key.rb +13 -1
- data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
- data/lib/akeyless/models/folder_create.rb +308 -0
- data/lib/akeyless/models/folder_create_output.rb +214 -0
- data/lib/akeyless/models/folder_delete.rb +276 -0
- data/lib/akeyless/models/folder_get.rb +276 -0
- data/lib/akeyless/models/folder_get_output.rb +214 -0
- data/lib/akeyless/models/folder_update.rb +320 -0
- data/lib/akeyless/models/gateway_create_migration.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +101 -11
- 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 +101 -11
- 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/get_folder_output.rb +298 -0
- 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 +21 -1
- data/lib/akeyless/models/update_auth_method.rb +12 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +28 -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 +12 -0
- data/spec/models/allowed_client_type_spec.rb +42 -0
- data/spec/models/folder_create_output_spec.rb +36 -0
- data/spec/models/folder_create_spec.rb +84 -0
- data/spec/models/folder_delete_spec.rb +66 -0
- data/spec/models/folder_get_output_spec.rb +36 -0
- data/spec/models/folder_get_spec.rb +66 -0
- data/spec/models/folder_update_spec.rb +90 -0
- data/spec/models/get_folder_output_spec.rb +90 -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 +49 -1
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# The audience in the Kubernetes JWT that the access is restricted to
|
|
23
25
|
attr_accessor :audience
|
|
24
26
|
|
|
@@ -80,6 +82,7 @@ module Akeyless
|
|
|
80
82
|
def self.attribute_map
|
|
81
83
|
{
|
|
82
84
|
:'access_expires' => :'access-expires',
|
|
85
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
83
86
|
:'audience' => :'audience',
|
|
84
87
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
85
88
|
:'bound_ips' => :'bound-ips',
|
|
@@ -111,6 +114,7 @@ module Akeyless
|
|
|
111
114
|
def self.openapi_types
|
|
112
115
|
{
|
|
113
116
|
:'access_expires' => :'Integer',
|
|
117
|
+
:'allowed_client_type' => :'Array<String>',
|
|
114
118
|
:'audience' => :'String',
|
|
115
119
|
:'audit_logs_claims' => :'Array<String>',
|
|
116
120
|
:'bound_ips' => :'Array<String>',
|
|
@@ -160,6 +164,12 @@ module Akeyless
|
|
|
160
164
|
self.access_expires = 0
|
|
161
165
|
end
|
|
162
166
|
|
|
167
|
+
if attributes.key?(:'allowed_client_type')
|
|
168
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
169
|
+
self.allowed_client_type = value
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
163
173
|
if attributes.key?(:'audience')
|
|
164
174
|
self.audience = attributes[:'audience']
|
|
165
175
|
end
|
|
@@ -287,6 +297,7 @@ module Akeyless
|
|
|
287
297
|
return true if self.equal?(o)
|
|
288
298
|
self.class == o.class &&
|
|
289
299
|
access_expires == o.access_expires &&
|
|
300
|
+
allowed_client_type == o.allowed_client_type &&
|
|
290
301
|
audience == o.audience &&
|
|
291
302
|
audit_logs_claims == o.audit_logs_claims &&
|
|
292
303
|
bound_ips == o.bound_ips &&
|
|
@@ -317,7 +328,7 @@ module Akeyless
|
|
|
317
328
|
# Calculates hash code according to all attributes.
|
|
318
329
|
# @return [Integer] Hash code
|
|
319
330
|
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
|
|
331
|
+
[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
332
|
end
|
|
322
333
|
|
|
323
334
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
25
|
attr_accessor :audit_logs_claims
|
|
24
26
|
|
|
@@ -96,6 +98,7 @@ module Akeyless
|
|
|
96
98
|
def self.attribute_map
|
|
97
99
|
{
|
|
98
100
|
:'access_expires' => :'access-expires',
|
|
101
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
99
102
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
100
103
|
:'bind_dn' => :'bind-dn',
|
|
101
104
|
:'bind_dn_password' => :'bind-dn-password',
|
|
@@ -137,6 +140,7 @@ module Akeyless
|
|
|
137
140
|
def self.openapi_types
|
|
138
141
|
{
|
|
139
142
|
:'access_expires' => :'Integer',
|
|
143
|
+
:'allowed_client_type' => :'Array<String>',
|
|
140
144
|
:'audit_logs_claims' => :'Array<String>',
|
|
141
145
|
:'bind_dn' => :'String',
|
|
142
146
|
:'bind_dn_password' => :'String',
|
|
@@ -196,6 +200,12 @@ module Akeyless
|
|
|
196
200
|
self.access_expires = 0
|
|
197
201
|
end
|
|
198
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
|
+
|
|
199
209
|
if attributes.key?(:'audit_logs_claims')
|
|
200
210
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
201
211
|
self.audit_logs_claims = value
|
|
@@ -357,6 +367,7 @@ module Akeyless
|
|
|
357
367
|
return true if self.equal?(o)
|
|
358
368
|
self.class == o.class &&
|
|
359
369
|
access_expires == o.access_expires &&
|
|
370
|
+
allowed_client_type == o.allowed_client_type &&
|
|
360
371
|
audit_logs_claims == o.audit_logs_claims &&
|
|
361
372
|
bind_dn == o.bind_dn &&
|
|
362
373
|
bind_dn_password == o.bind_dn_password &&
|
|
@@ -397,7 +408,7 @@ module Akeyless
|
|
|
397
408
|
# Calculates hash code according to all attributes.
|
|
398
409
|
# @return [Integer] Hash code
|
|
399
410
|
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
|
|
411
|
+
[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
412
|
end
|
|
402
413
|
|
|
403
414
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
25
|
attr_accessor :audit_logs_claims
|
|
24
26
|
|
|
@@ -71,6 +73,7 @@ module Akeyless
|
|
|
71
73
|
def self.attribute_map
|
|
72
74
|
{
|
|
73
75
|
:'access_expires' => :'access-expires',
|
|
76
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
74
77
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
75
78
|
:'bound_ips' => :'bound-ips',
|
|
76
79
|
:'delete_protection' => :'delete_protection',
|
|
@@ -99,6 +102,7 @@ module Akeyless
|
|
|
99
102
|
def self.openapi_types
|
|
100
103
|
{
|
|
101
104
|
:'access_expires' => :'Integer',
|
|
105
|
+
:'allowed_client_type' => :'Array<String>',
|
|
102
106
|
:'audit_logs_claims' => :'Array<String>',
|
|
103
107
|
:'bound_ips' => :'Array<String>',
|
|
104
108
|
:'delete_protection' => :'String',
|
|
@@ -145,6 +149,12 @@ module Akeyless
|
|
|
145
149
|
self.access_expires = 0
|
|
146
150
|
end
|
|
147
151
|
|
|
152
|
+
if attributes.key?(:'allowed_client_type')
|
|
153
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
154
|
+
self.allowed_client_type = value
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
|
|
148
158
|
if attributes.key?(:'audit_logs_claims')
|
|
149
159
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
150
160
|
self.audit_logs_claims = value
|
|
@@ -256,6 +266,7 @@ module Akeyless
|
|
|
256
266
|
return true if self.equal?(o)
|
|
257
267
|
self.class == o.class &&
|
|
258
268
|
access_expires == o.access_expires &&
|
|
269
|
+
allowed_client_type == o.allowed_client_type &&
|
|
259
270
|
audit_logs_claims == o.audit_logs_claims &&
|
|
260
271
|
bound_ips == o.bound_ips &&
|
|
261
272
|
delete_protection == o.delete_protection &&
|
|
@@ -283,7 +294,7 @@ module Akeyless
|
|
|
283
294
|
# Calculates hash code according to all attributes.
|
|
284
295
|
# @return [Integer] Hash code
|
|
285
296
|
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
|
|
297
|
+
[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
298
|
end
|
|
288
299
|
|
|
289
300
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# The audience in the JWT
|
|
23
25
|
attr_accessor :audience
|
|
24
26
|
|
|
@@ -92,6 +94,7 @@ module Akeyless
|
|
|
92
94
|
def self.attribute_map
|
|
93
95
|
{
|
|
94
96
|
:'access_expires' => :'access-expires',
|
|
97
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
95
98
|
:'audience' => :'audience',
|
|
96
99
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
97
100
|
:'bound_client_ids' => :'bound-client-ids',
|
|
@@ -127,6 +130,7 @@ module Akeyless
|
|
|
127
130
|
def self.openapi_types
|
|
128
131
|
{
|
|
129
132
|
:'access_expires' => :'Integer',
|
|
133
|
+
:'allowed_client_type' => :'Array<String>',
|
|
130
134
|
:'audience' => :'String',
|
|
131
135
|
:'audit_logs_claims' => :'Array<String>',
|
|
132
136
|
:'bound_client_ids' => :'Array<String>',
|
|
@@ -180,6 +184,12 @@ module Akeyless
|
|
|
180
184
|
self.access_expires = 0
|
|
181
185
|
end
|
|
182
186
|
|
|
187
|
+
if attributes.key?(:'allowed_client_type')
|
|
188
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
189
|
+
self.allowed_client_type = value
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
183
193
|
if attributes.key?(:'audience')
|
|
184
194
|
self.audience = attributes[:'audience']
|
|
185
195
|
end
|
|
@@ -326,6 +336,7 @@ module Akeyless
|
|
|
326
336
|
return true if self.equal?(o)
|
|
327
337
|
self.class == o.class &&
|
|
328
338
|
access_expires == o.access_expires &&
|
|
339
|
+
allowed_client_type == o.allowed_client_type &&
|
|
329
340
|
audience == o.audience &&
|
|
330
341
|
audit_logs_claims == o.audit_logs_claims &&
|
|
331
342
|
bound_client_ids == o.bound_client_ids &&
|
|
@@ -360,7 +371,7 @@ module Akeyless
|
|
|
360
371
|
# Calculates hash code according to all attributes.
|
|
361
372
|
# @return [Integer] Hash code
|
|
362
373
|
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
|
|
374
|
+
[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
375
|
end
|
|
365
376
|
|
|
366
377
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
25
|
attr_accessor :audit_logs_claims
|
|
24
26
|
|
|
@@ -68,6 +70,7 @@ module Akeyless
|
|
|
68
70
|
def self.attribute_map
|
|
69
71
|
{
|
|
70
72
|
:'access_expires' => :'access-expires',
|
|
73
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
71
74
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
72
75
|
:'bound_ips' => :'bound-ips',
|
|
73
76
|
:'delete_protection' => :'delete_protection',
|
|
@@ -95,6 +98,7 @@ module Akeyless
|
|
|
95
98
|
def self.openapi_types
|
|
96
99
|
{
|
|
97
100
|
:'access_expires' => :'Integer',
|
|
101
|
+
:'allowed_client_type' => :'Array<String>',
|
|
98
102
|
:'audit_logs_claims' => :'Array<String>',
|
|
99
103
|
:'bound_ips' => :'Array<String>',
|
|
100
104
|
:'delete_protection' => :'String',
|
|
@@ -140,6 +144,12 @@ module Akeyless
|
|
|
140
144
|
self.access_expires = 0
|
|
141
145
|
end
|
|
142
146
|
|
|
147
|
+
if attributes.key?(:'allowed_client_type')
|
|
148
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
149
|
+
self.allowed_client_type = value
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
|
|
143
153
|
if attributes.key?(:'audit_logs_claims')
|
|
144
154
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
145
155
|
self.audit_logs_claims = value
|
|
@@ -259,6 +269,7 @@ module Akeyless
|
|
|
259
269
|
return true if self.equal?(o)
|
|
260
270
|
self.class == o.class &&
|
|
261
271
|
access_expires == o.access_expires &&
|
|
272
|
+
allowed_client_type == o.allowed_client_type &&
|
|
262
273
|
audit_logs_claims == o.audit_logs_claims &&
|
|
263
274
|
bound_ips == o.bound_ips &&
|
|
264
275
|
delete_protection == o.delete_protection &&
|
|
@@ -285,7 +296,7 @@ module Akeyless
|
|
|
285
296
|
# Calculates hash code according to all attributes.
|
|
286
297
|
# @return [Integer] Hash code
|
|
287
298
|
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
|
|
299
|
+
[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
300
|
end
|
|
290
301
|
|
|
291
302
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Allowed redirect URIs after the authentication
|
|
23
25
|
attr_accessor :allowed_redirect_uri
|
|
24
26
|
|
|
@@ -89,6 +91,7 @@ module Akeyless
|
|
|
89
91
|
def self.attribute_map
|
|
90
92
|
{
|
|
91
93
|
:'access_expires' => :'access-expires',
|
|
94
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
92
95
|
:'allowed_redirect_uri' => :'allowed-redirect-uri',
|
|
93
96
|
:'audience' => :'audience',
|
|
94
97
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
@@ -123,6 +126,7 @@ module Akeyless
|
|
|
123
126
|
def self.openapi_types
|
|
124
127
|
{
|
|
125
128
|
:'access_expires' => :'Integer',
|
|
129
|
+
:'allowed_client_type' => :'Array<String>',
|
|
126
130
|
:'allowed_redirect_uri' => :'Array<String>',
|
|
127
131
|
:'audience' => :'String',
|
|
128
132
|
:'audit_logs_claims' => :'Array<String>',
|
|
@@ -175,6 +179,12 @@ module Akeyless
|
|
|
175
179
|
self.access_expires = 0
|
|
176
180
|
end
|
|
177
181
|
|
|
182
|
+
if attributes.key?(:'allowed_client_type')
|
|
183
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
184
|
+
self.allowed_client_type = value
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
|
|
178
188
|
if attributes.key?(:'allowed_redirect_uri')
|
|
179
189
|
if (value = attributes[:'allowed_redirect_uri']).is_a?(Array)
|
|
180
190
|
self.allowed_redirect_uri = value
|
|
@@ -319,6 +329,7 @@ module Akeyless
|
|
|
319
329
|
return true if self.equal?(o)
|
|
320
330
|
self.class == o.class &&
|
|
321
331
|
access_expires == o.access_expires &&
|
|
332
|
+
allowed_client_type == o.allowed_client_type &&
|
|
322
333
|
allowed_redirect_uri == o.allowed_redirect_uri &&
|
|
323
334
|
audience == o.audience &&
|
|
324
335
|
audit_logs_claims == o.audit_logs_claims &&
|
|
@@ -352,7 +363,7 @@ module Akeyless
|
|
|
352
363
|
# Calculates hash code according to all attributes.
|
|
353
364
|
# @return [Integer] Hash code
|
|
354
365
|
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
|
|
366
|
+
[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
367
|
end
|
|
357
368
|
|
|
358
369
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Allowed redirect URIs after the authentication
|
|
23
25
|
attr_accessor :allowed_redirect_uri
|
|
24
26
|
|
|
@@ -77,6 +79,7 @@ module Akeyless
|
|
|
77
79
|
def self.attribute_map
|
|
78
80
|
{
|
|
79
81
|
:'access_expires' => :'access-expires',
|
|
82
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
80
83
|
:'allowed_redirect_uri' => :'allowed-redirect-uri',
|
|
81
84
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
82
85
|
:'bound_ips' => :'bound-ips',
|
|
@@ -107,6 +110,7 @@ module Akeyless
|
|
|
107
110
|
def self.openapi_types
|
|
108
111
|
{
|
|
109
112
|
:'access_expires' => :'Integer',
|
|
113
|
+
:'allowed_client_type' => :'Array<String>',
|
|
110
114
|
:'allowed_redirect_uri' => :'Array<String>',
|
|
111
115
|
:'audit_logs_claims' => :'Array<String>',
|
|
112
116
|
:'bound_ips' => :'Array<String>',
|
|
@@ -155,6 +159,12 @@ module Akeyless
|
|
|
155
159
|
self.access_expires = 0
|
|
156
160
|
end
|
|
157
161
|
|
|
162
|
+
if attributes.key?(:'allowed_client_type')
|
|
163
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
164
|
+
self.allowed_client_type = value
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
158
168
|
if attributes.key?(:'allowed_redirect_uri')
|
|
159
169
|
if (value = attributes[:'allowed_redirect_uri']).is_a?(Array)
|
|
160
170
|
self.allowed_redirect_uri = value
|
|
@@ -281,6 +291,7 @@ module Akeyless
|
|
|
281
291
|
return true if self.equal?(o)
|
|
282
292
|
self.class == o.class &&
|
|
283
293
|
access_expires == o.access_expires &&
|
|
294
|
+
allowed_client_type == o.allowed_client_type &&
|
|
284
295
|
allowed_redirect_uri == o.allowed_redirect_uri &&
|
|
285
296
|
audit_logs_claims == o.audit_logs_claims &&
|
|
286
297
|
bound_ips == o.bound_ips &&
|
|
@@ -310,7 +321,7 @@ module Akeyless
|
|
|
310
321
|
# Calculates hash code according to all attributes.
|
|
311
322
|
# @return [Integer] Hash code
|
|
312
323
|
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
|
|
324
|
+
[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
325
|
end
|
|
315
326
|
|
|
316
327
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
25
|
attr_accessor :audit_logs_claims
|
|
24
26
|
|
|
@@ -71,6 +73,7 @@ module Akeyless
|
|
|
71
73
|
def self.attribute_map
|
|
72
74
|
{
|
|
73
75
|
:'access_expires' => :'access-expires',
|
|
76
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
74
77
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
75
78
|
:'bound_ips' => :'bound-ips',
|
|
76
79
|
:'delete_protection' => :'delete_protection',
|
|
@@ -99,6 +102,7 @@ module Akeyless
|
|
|
99
102
|
def self.openapi_types
|
|
100
103
|
{
|
|
101
104
|
:'access_expires' => :'Integer',
|
|
105
|
+
:'allowed_client_type' => :'Array<String>',
|
|
102
106
|
:'audit_logs_claims' => :'Array<String>',
|
|
103
107
|
:'bound_ips' => :'Array<String>',
|
|
104
108
|
:'delete_protection' => :'String',
|
|
@@ -145,6 +149,12 @@ module Akeyless
|
|
|
145
149
|
self.access_expires = 0
|
|
146
150
|
end
|
|
147
151
|
|
|
152
|
+
if attributes.key?(:'allowed_client_type')
|
|
153
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
154
|
+
self.allowed_client_type = value
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
|
|
148
158
|
if attributes.key?(:'audit_logs_claims')
|
|
149
159
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
150
160
|
self.audit_logs_claims = value
|
|
@@ -254,6 +264,7 @@ module Akeyless
|
|
|
254
264
|
return true if self.equal?(o)
|
|
255
265
|
self.class == o.class &&
|
|
256
266
|
access_expires == o.access_expires &&
|
|
267
|
+
allowed_client_type == o.allowed_client_type &&
|
|
257
268
|
audit_logs_claims == o.audit_logs_claims &&
|
|
258
269
|
bound_ips == o.bound_ips &&
|
|
259
270
|
delete_protection == o.delete_protection &&
|
|
@@ -281,7 +292,7 @@ module Akeyless
|
|
|
281
292
|
# Calculates hash code according to all attributes.
|
|
282
293
|
# @return [Integer] Hash code
|
|
283
294
|
def hash
|
|
284
|
-
[access_expires, audit_logs_claims, bound_ips, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, ttl, uid_token].hash
|
|
295
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, ttl, uid_token].hash
|
|
285
296
|
end
|
|
286
297
|
|
|
287
298
|
# Builds the object from hash
|
|
@@ -18,6 +18,8 @@ module Akeyless
|
|
|
18
18
|
# Access expiration date in Unix timestamp (select 0 for access without expiry date)
|
|
19
19
|
attr_accessor :access_expires
|
|
20
20
|
|
|
21
|
+
attr_accessor :allowed_client_type
|
|
22
|
+
|
|
21
23
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
22
24
|
attr_accessor :audit_logs_claims
|
|
23
25
|
|
|
@@ -64,6 +66,7 @@ module Akeyless
|
|
|
64
66
|
def self.attribute_map
|
|
65
67
|
{
|
|
66
68
|
:'access_expires' => :'access-expires',
|
|
69
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
67
70
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
68
71
|
:'bound_ips' => :'bound-ips',
|
|
69
72
|
:'delete_protection' => :'delete_protection',
|
|
@@ -90,6 +93,7 @@ module Akeyless
|
|
|
90
93
|
def self.openapi_types
|
|
91
94
|
{
|
|
92
95
|
:'access_expires' => :'Integer',
|
|
96
|
+
:'allowed_client_type' => :'Array<String>',
|
|
93
97
|
:'audit_logs_claims' => :'Array<String>',
|
|
94
98
|
:'bound_ips' => :'Array<String>',
|
|
95
99
|
:'delete_protection' => :'String',
|
|
@@ -134,6 +138,12 @@ module Akeyless
|
|
|
134
138
|
self.access_expires = 0
|
|
135
139
|
end
|
|
136
140
|
|
|
141
|
+
if attributes.key?(:'allowed_client_type')
|
|
142
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
143
|
+
self.allowed_client_type = value
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
137
147
|
if attributes.key?(:'audit_logs_claims')
|
|
138
148
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
139
149
|
self.audit_logs_claims = value
|
|
@@ -233,6 +243,7 @@ module Akeyless
|
|
|
233
243
|
return true if self.equal?(o)
|
|
234
244
|
self.class == o.class &&
|
|
235
245
|
access_expires == o.access_expires &&
|
|
246
|
+
allowed_client_type == o.allowed_client_type &&
|
|
236
247
|
audit_logs_claims == o.audit_logs_claims &&
|
|
237
248
|
bound_ips == o.bound_ips &&
|
|
238
249
|
delete_protection == o.delete_protection &&
|
|
@@ -258,7 +269,7 @@ module Akeyless
|
|
|
258
269
|
# Calculates hash code according to all attributes.
|
|
259
270
|
# @return [Integer] Hash code
|
|
260
271
|
def hash
|
|
261
|
-
[access_expires, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, uid_token].hash
|
|
272
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, uid_token].hash
|
|
262
273
|
end
|
|
263
274
|
|
|
264
275
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
|
|
23
25
|
attr_accessor :audit_logs_claims
|
|
24
26
|
|
|
@@ -92,6 +94,7 @@ module Akeyless
|
|
|
92
94
|
def self.attribute_map
|
|
93
95
|
{
|
|
94
96
|
:'access_expires' => :'access-expires',
|
|
97
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
95
98
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
96
99
|
:'bound_arn' => :'bound-arn',
|
|
97
100
|
:'bound_aws_account_id' => :'bound-aws-account-id',
|
|
@@ -127,6 +130,7 @@ module Akeyless
|
|
|
127
130
|
def self.openapi_types
|
|
128
131
|
{
|
|
129
132
|
:'access_expires' => :'Integer',
|
|
133
|
+
:'allowed_client_type' => :'Array<String>',
|
|
130
134
|
:'audit_logs_claims' => :'Array<String>',
|
|
131
135
|
:'bound_arn' => :'Array<String>',
|
|
132
136
|
:'bound_aws_account_id' => :'Array<String>',
|
|
@@ -180,6 +184,12 @@ module Akeyless
|
|
|
180
184
|
self.access_expires = 0
|
|
181
185
|
end
|
|
182
186
|
|
|
187
|
+
if attributes.key?(:'allowed_client_type')
|
|
188
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
189
|
+
self.allowed_client_type = value
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
183
193
|
if attributes.key?(:'audit_logs_claims')
|
|
184
194
|
if (value = attributes[:'audit_logs_claims']).is_a?(Array)
|
|
185
195
|
self.audit_logs_claims = value
|
|
@@ -338,6 +348,7 @@ module Akeyless
|
|
|
338
348
|
return true if self.equal?(o)
|
|
339
349
|
self.class == o.class &&
|
|
340
350
|
access_expires == o.access_expires &&
|
|
351
|
+
allowed_client_type == o.allowed_client_type &&
|
|
341
352
|
audit_logs_claims == o.audit_logs_claims &&
|
|
342
353
|
bound_arn == o.bound_arn &&
|
|
343
354
|
bound_aws_account_id == o.bound_aws_account_id &&
|
|
@@ -372,7 +383,7 @@ module Akeyless
|
|
|
372
383
|
# Calculates hash code according to all attributes.
|
|
373
384
|
# @return [Integer] Hash code
|
|
374
385
|
def hash
|
|
375
|
-
[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, new_name, product_type, sts_url, token, uid_token, unique_identifier].hash
|
|
386
|
+
[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, new_name, product_type, sts_url, token, uid_token, unique_identifier].hash
|
|
376
387
|
end
|
|
377
388
|
|
|
378
389
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Deprecated (Deprecated) The audience in the JWT
|
|
23
25
|
attr_accessor :audience
|
|
24
26
|
|
|
@@ -104,6 +106,7 @@ module Akeyless
|
|
|
104
106
|
def self.attribute_map
|
|
105
107
|
{
|
|
106
108
|
:'access_expires' => :'access-expires',
|
|
109
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
107
110
|
:'audience' => :'audience',
|
|
108
111
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
109
112
|
:'bound_group_id' => :'bound-group-id',
|
|
@@ -143,6 +146,7 @@ module Akeyless
|
|
|
143
146
|
def self.openapi_types
|
|
144
147
|
{
|
|
145
148
|
:'access_expires' => :'Integer',
|
|
149
|
+
:'allowed_client_type' => :'Array<String>',
|
|
146
150
|
:'audience' => :'String',
|
|
147
151
|
:'audit_logs_claims' => :'Array<String>',
|
|
148
152
|
:'bound_group_id' => :'Array<String>',
|
|
@@ -200,6 +204,12 @@ module Akeyless
|
|
|
200
204
|
self.access_expires = 0
|
|
201
205
|
end
|
|
202
206
|
|
|
207
|
+
if attributes.key?(:'allowed_client_type')
|
|
208
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
209
|
+
self.allowed_client_type = value
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
|
|
203
213
|
if attributes.key?(:'audience')
|
|
204
214
|
self.audience = attributes[:'audience']
|
|
205
215
|
else
|
|
@@ -380,6 +390,7 @@ module Akeyless
|
|
|
380
390
|
return true if self.equal?(o)
|
|
381
391
|
self.class == o.class &&
|
|
382
392
|
access_expires == o.access_expires &&
|
|
393
|
+
allowed_client_type == o.allowed_client_type &&
|
|
383
394
|
audience == o.audience &&
|
|
384
395
|
audit_logs_claims == o.audit_logs_claims &&
|
|
385
396
|
bound_group_id == o.bound_group_id &&
|
|
@@ -418,7 +429,7 @@ module Akeyless
|
|
|
418
429
|
# Calculates hash code according to all attributes.
|
|
419
430
|
# @return [Integer] Hash code
|
|
420
431
|
def hash
|
|
421
|
-
[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, new_name, product_type, token, uid_token, unique_identifier].hash
|
|
432
|
+
[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, new_name, product_type, token, uid_token, unique_identifier].hash
|
|
422
433
|
end
|
|
423
434
|
|
|
424
435
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ 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
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
22
24
|
# Comma separated list of allowed CORS domains to be validated as part of the authentication flow.
|
|
23
25
|
attr_accessor :allowed_cors
|
|
24
26
|
|
|
@@ -95,6 +97,7 @@ module Akeyless
|
|
|
95
97
|
def self.attribute_map
|
|
96
98
|
{
|
|
97
99
|
:'access_expires' => :'access-expires',
|
|
100
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
98
101
|
:'allowed_cors' => :'allowed-cors',
|
|
99
102
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
100
103
|
:'bound_common_names' => :'bound-common-names',
|
|
@@ -131,6 +134,7 @@ module Akeyless
|
|
|
131
134
|
def self.openapi_types
|
|
132
135
|
{
|
|
133
136
|
:'access_expires' => :'Integer',
|
|
137
|
+
:'allowed_client_type' => :'Array<String>',
|
|
134
138
|
:'allowed_cors' => :'String',
|
|
135
139
|
:'audit_logs_claims' => :'Array<String>',
|
|
136
140
|
:'bound_common_names' => :'Array<String>',
|
|
@@ -185,6 +189,12 @@ module Akeyless
|
|
|
185
189
|
self.access_expires = 0
|
|
186
190
|
end
|
|
187
191
|
|
|
192
|
+
if attributes.key?(:'allowed_client_type')
|
|
193
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
194
|
+
self.allowed_client_type = value
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
188
198
|
if attributes.key?(:'allowed_cors')
|
|
189
199
|
self.allowed_cors = attributes[:'allowed_cors']
|
|
190
200
|
end
|
|
@@ -345,6 +355,7 @@ module Akeyless
|
|
|
345
355
|
return true if self.equal?(o)
|
|
346
356
|
self.class == o.class &&
|
|
347
357
|
access_expires == o.access_expires &&
|
|
358
|
+
allowed_client_type == o.allowed_client_type &&
|
|
348
359
|
allowed_cors == o.allowed_cors &&
|
|
349
360
|
audit_logs_claims == o.audit_logs_claims &&
|
|
350
361
|
bound_common_names == o.bound_common_names &&
|
|
@@ -380,7 +391,7 @@ module Akeyless
|
|
|
380
391
|
# Calculates hash code according to all attributes.
|
|
381
392
|
# @return [Integer] Hash code
|
|
382
393
|
def hash
|
|
383
|
-
[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, new_name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
|
394
|
+
[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, new_name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
|
|
384
395
|
end
|
|
385
396
|
|
|
386
397
|
# Builds the object from hash
|