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.
Files changed (199) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -1
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/ActiveDirectoryPayload.md +2 -0
  5. data/docs/AllowedClientType.md +20 -0
  6. data/docs/AuthMethodAccessInfo.md +2 -0
  7. data/docs/AuthMethodCreateApiKey.md +2 -0
  8. data/docs/AuthMethodCreateAwsIam.md +2 -0
  9. data/docs/AuthMethodCreateAzureAD.md +2 -0
  10. data/docs/AuthMethodCreateCert.md +2 -0
  11. data/docs/AuthMethodCreateEmail.md +2 -0
  12. data/docs/AuthMethodCreateGcp.md +2 -0
  13. data/docs/AuthMethodCreateK8s.md +2 -0
  14. data/docs/AuthMethodCreateKerberos.md +2 -0
  15. data/docs/AuthMethodCreateLdap.md +2 -0
  16. data/docs/AuthMethodCreateOCI.md +2 -0
  17. data/docs/AuthMethodCreateOIDC.md +2 -0
  18. data/docs/AuthMethodCreateOauth2.md +2 -0
  19. data/docs/AuthMethodCreateSAML.md +2 -0
  20. data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
  21. data/docs/AuthMethodUpdateApiKey.md +2 -0
  22. data/docs/AuthMethodUpdateAwsIam.md +2 -0
  23. data/docs/AuthMethodUpdateAzureAD.md +2 -0
  24. data/docs/AuthMethodUpdateCert.md +2 -0
  25. data/docs/AuthMethodUpdateEmail.md +2 -0
  26. data/docs/AuthMethodUpdateGcp.md +2 -0
  27. data/docs/AuthMethodUpdateK8s.md +2 -0
  28. data/docs/AuthMethodUpdateKerberos.md +2 -0
  29. data/docs/AuthMethodUpdateLdap.md +2 -0
  30. data/docs/AuthMethodUpdateOCI.md +2 -0
  31. data/docs/AuthMethodUpdateOIDC.md +2 -0
  32. data/docs/AuthMethodUpdateOauth2.md +2 -0
  33. data/docs/AuthMethodUpdateSAML.md +2 -0
  34. data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
  35. data/docs/BastionGlobalConf.md +4 -0
  36. data/docs/CreateAuthMethod.md +2 -0
  37. data/docs/CreateAuthMethodAWSIAM.md +2 -0
  38. data/docs/CreateAuthMethodAzureAD.md +2 -0
  39. data/docs/CreateAuthMethodCert.md +2 -0
  40. data/docs/CreateAuthMethodEmail.md +2 -0
  41. data/docs/CreateAuthMethodGCP.md +2 -0
  42. data/docs/CreateAuthMethodHuawei.md +2 -0
  43. data/docs/CreateAuthMethodK8S.md +2 -0
  44. data/docs/CreateAuthMethodLDAP.md +2 -0
  45. data/docs/CreateAuthMethodOAuth2.md +2 -0
  46. data/docs/CreateAuthMethodOCI.md +2 -0
  47. data/docs/CreateAuthMethodOIDC.md +2 -0
  48. data/docs/CreateAuthMethodSAML.md +2 -0
  49. data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
  50. data/docs/CreatePKICertIssuer.md +6 -0
  51. data/docs/DSProducerDetails.md +10 -0
  52. data/docs/DynamicSecretCreateGcp.md +22 -6
  53. data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
  54. data/docs/DynamicSecretCreateMongoDb.md +2 -0
  55. data/docs/DynamicSecretCreateMsSql.md +2 -0
  56. data/docs/DynamicSecretGetValue.md +2 -0
  57. data/docs/DynamicSecretUpdateGcp.md +22 -6
  58. data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
  59. data/docs/DynamicSecretUpdateMongoDb.md +2 -0
  60. data/docs/DynamicSecretUpdateMsSql.md +2 -0
  61. data/docs/EventForwarderGetOutput.md +3 -1
  62. data/docs/GatewayCreateMigration.md +2 -0
  63. data/docs/GatewayCreateProducerGcp.md +22 -6
  64. data/docs/GatewayCreateProducerMSSQL.md +2 -0
  65. data/docs/GatewayCreateProducerMongo.md +2 -0
  66. data/docs/GatewayUpdateMigration.md +2 -0
  67. data/docs/GatewayUpdateProducerGcp.md +22 -6
  68. data/docs/GatewayUpdateProducerMSSQL.md +2 -0
  69. data/docs/GatewayUpdateProducerMongo.md +2 -0
  70. data/docs/GatewayUpdateRemoteAccess.md +4 -0
  71. data/docs/GetDynamicSecretValue.md +2 -0
  72. data/docs/NotiForwarderDetailsInput.md +28 -0
  73. data/docs/PKICertificateIssueDetails.md +6 -0
  74. data/docs/RotatedSecretCreateSsh.md +4 -0
  75. data/docs/RotatedSecretDeleteSync.md +2 -0
  76. data/docs/RotatedSecretDetailsInfo.md +4 -0
  77. data/docs/RotatedSecretUpdateSsh.md +4 -0
  78. data/docs/SlackNotiForwarderDetails.md +18 -0
  79. data/docs/StaticSecretDeleteSync.md +2 -0
  80. data/docs/TeamsNotiForwarderDetails.md +18 -0
  81. data/docs/UpdateAccountSettings.md +4 -0
  82. data/docs/UpdateAuthMethod.md +2 -0
  83. data/docs/UpdateAuthMethodAWSIAM.md +2 -0
  84. data/docs/UpdateAuthMethodAzureAD.md +2 -0
  85. data/docs/UpdateAuthMethodCert.md +2 -0
  86. data/docs/UpdateAuthMethodGCP.md +2 -0
  87. data/docs/UpdateAuthMethodK8S.md +2 -0
  88. data/docs/UpdateAuthMethodLDAP.md +2 -0
  89. data/docs/UpdateAuthMethodOAuth2.md +2 -0
  90. data/docs/UpdateAuthMethodOCI.md +2 -0
  91. data/docs/UpdateAuthMethodOIDC.md +2 -0
  92. data/docs/UpdateAuthMethodSAML.md +2 -0
  93. data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
  94. data/docs/UpdatePKICertIssuer.md +6 -0
  95. data/docs/V2Api.md +4 -4
  96. data/docs/WebhookNotiForwarderDetails.md +26 -0
  97. data/docs/WindowsServiceAttributes.md +4 -0
  98. data/lib/akeyless/models/account_general_settings.rb +10 -1
  99. data/lib/akeyless/models/active_directory_payload.rb +10 -1
  100. data/lib/akeyless/models/allowed_client_type.rb +225 -0
  101. data/lib/akeyless/models/auth_method_access_info.rb +12 -1
  102. data/lib/akeyless/models/auth_method_create_api_key.rb +13 -1
  103. data/lib/akeyless/models/auth_method_create_aws_iam.rb +13 -1
  104. data/lib/akeyless/models/auth_method_create_azure_ad.rb +13 -1
  105. data/lib/akeyless/models/auth_method_create_cert.rb +13 -1
  106. data/lib/akeyless/models/auth_method_create_email.rb +13 -1
  107. data/lib/akeyless/models/auth_method_create_gcp.rb +13 -1
  108. data/lib/akeyless/models/auth_method_create_k8s.rb +13 -1
  109. data/lib/akeyless/models/auth_method_create_kerberos.rb +13 -1
  110. data/lib/akeyless/models/auth_method_create_ldap.rb +13 -1
  111. data/lib/akeyless/models/auth_method_create_oauth2.rb +13 -1
  112. data/lib/akeyless/models/auth_method_create_oci.rb +13 -1
  113. data/lib/akeyless/models/auth_method_create_oidc.rb +13 -1
  114. data/lib/akeyless/models/auth_method_create_saml.rb +13 -1
  115. data/lib/akeyless/models/auth_method_create_universal_identity.rb +13 -1
  116. data/lib/akeyless/models/auth_method_update_api_key.rb +13 -1
  117. data/lib/akeyless/models/auth_method_update_aws_iam.rb +13 -1
  118. data/lib/akeyless/models/auth_method_update_azure_ad.rb +13 -1
  119. data/lib/akeyless/models/auth_method_update_cert.rb +13 -1
  120. data/lib/akeyless/models/auth_method_update_email.rb +13 -1
  121. data/lib/akeyless/models/auth_method_update_gcp.rb +13 -1
  122. data/lib/akeyless/models/auth_method_update_k8s.rb +13 -1
  123. data/lib/akeyless/models/auth_method_update_kerberos.rb +13 -1
  124. data/lib/akeyless/models/auth_method_update_ldap.rb +13 -1
  125. data/lib/akeyless/models/auth_method_update_oauth2.rb +13 -1
  126. data/lib/akeyless/models/auth_method_update_oci.rb +13 -1
  127. data/lib/akeyless/models/auth_method_update_oidc.rb +13 -1
  128. data/lib/akeyless/models/auth_method_update_saml.rb +13 -1
  129. data/lib/akeyless/models/auth_method_update_universal_identity.rb +13 -1
  130. data/lib/akeyless/models/bastion_global_conf.rb +19 -1
  131. data/lib/akeyless/models/create_auth_method.rb +13 -1
  132. data/lib/akeyless/models/create_auth_method_awsiam.rb +13 -1
  133. data/lib/akeyless/models/create_auth_method_azure_ad.rb +13 -1
  134. data/lib/akeyless/models/create_auth_method_cert.rb +13 -1
  135. data/lib/akeyless/models/create_auth_method_email.rb +13 -1
  136. data/lib/akeyless/models/create_auth_method_gcp.rb +13 -1
  137. data/lib/akeyless/models/create_auth_method_huawei.rb +13 -1
  138. data/lib/akeyless/models/create_auth_method_k8_s.rb +13 -1
  139. data/lib/akeyless/models/create_auth_method_ldap.rb +13 -1
  140. data/lib/akeyless/models/create_auth_method_o_auth2.rb +13 -1
  141. data/lib/akeyless/models/create_auth_method_oci.rb +13 -1
  142. data/lib/akeyless/models/create_auth_method_oidc.rb +13 -1
  143. data/lib/akeyless/models/create_auth_method_saml.rb +13 -1
  144. data/lib/akeyless/models/create_auth_method_universal_identity.rb +13 -1
  145. data/lib/akeyless/models/create_pki_cert_issuer.rb +31 -1
  146. data/lib/akeyless/models/ds_producer_details.rb +47 -1
  147. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +92 -12
  148. data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +11 -1
  149. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +11 -1
  150. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +11 -1
  151. data/lib/akeyless/models/dynamic_secret_get_value.rb +11 -1
  152. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +92 -12
  153. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +11 -1
  154. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +11 -1
  155. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +11 -1
  156. data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
  157. data/lib/akeyless/models/gateway_create_migration.rb +13 -1
  158. data/lib/akeyless/models/gateway_create_producer_gcp.rb +92 -12
  159. data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
  160. data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
  161. data/lib/akeyless/models/gateway_update_migration.rb +13 -1
  162. data/lib/akeyless/models/gateway_update_producer_gcp.rb +92 -12
  163. data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
  164. data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
  165. data/lib/akeyless/models/gateway_update_remote_access.rb +25 -1
  166. data/lib/akeyless/models/get_dynamic_secret_value.rb +11 -1
  167. data/lib/akeyless/models/noti_forwarder_details_input.rb +261 -0
  168. data/lib/akeyless/models/pki_certificate_issue_details.rb +31 -1
  169. data/lib/akeyless/models/rotated_secret_create_ssh.rb +21 -1
  170. data/lib/akeyless/models/rotated_secret_delete_sync.rb +11 -1
  171. data/lib/akeyless/models/rotated_secret_details_info.rb +21 -1
  172. data/lib/akeyless/models/rotated_secret_update_ssh.rb +21 -1
  173. data/lib/akeyless/models/slack_noti_forwarder_details.rb +214 -0
  174. data/lib/akeyless/models/static_secret_delete_sync.rb +11 -1
  175. data/lib/akeyless/models/teams_noti_forwarder_details.rb +214 -0
  176. data/lib/akeyless/models/update_account_settings.rb +23 -1
  177. data/lib/akeyless/models/update_auth_method.rb +13 -1
  178. data/lib/akeyless/models/update_auth_method_awsiam.rb +13 -1
  179. data/lib/akeyless/models/update_auth_method_azure_ad.rb +13 -1
  180. data/lib/akeyless/models/update_auth_method_cert.rb +13 -1
  181. data/lib/akeyless/models/update_auth_method_gcp.rb +13 -1
  182. data/lib/akeyless/models/update_auth_method_k8_s.rb +13 -1
  183. data/lib/akeyless/models/update_auth_method_ldap.rb +13 -1
  184. data/lib/akeyless/models/update_auth_method_o_auth2.rb +13 -1
  185. data/lib/akeyless/models/update_auth_method_oci.rb +13 -1
  186. data/lib/akeyless/models/update_auth_method_oidc.rb +13 -1
  187. data/lib/akeyless/models/update_auth_method_saml.rb +13 -1
  188. data/lib/akeyless/models/update_auth_method_universal_identity.rb +13 -1
  189. data/lib/akeyless/models/update_pki_cert_issuer.rb +31 -1
  190. data/lib/akeyless/models/webhook_noti_forwarder_details.rb +253 -0
  191. data/lib/akeyless/models/windows_service_attributes.rb +21 -1
  192. data/lib/akeyless/version.rb +1 -1
  193. data/lib/akeyless.rb +5 -0
  194. data/spec/models/allowed_client_type_spec.rb +42 -0
  195. data/spec/models/noti_forwarder_details_input_spec.rb +66 -0
  196. data/spec/models/slack_noti_forwarder_details_spec.rb +36 -0
  197. data/spec/models/teams_noti_forwarder_details_spec.rb +36 -0
  198. data/spec/models/webhook_noti_forwarder_details_spec.rb +60 -0
  199. 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
 
@@ -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
@@ -254,6 +265,7 @@ module Akeyless
254
265
  return true if self.equal?(o)
255
266
  self.class == o.class &&
256
267
  access_expires == o.access_expires &&
268
+ allowed_client_type == o.allowed_client_type &&
257
269
  audit_logs_claims == o.audit_logs_claims &&
258
270
  bound_ips == o.bound_ips &&
259
271
  delete_protection == o.delete_protection &&
@@ -281,7 +293,7 @@ module Akeyless
281
293
  # Calculates hash code according to all attributes.
282
294
  # @return [Integer] Hash code
283
295
  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
296
+ [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
297
  end
286
298
 
287
299
  # Builds the object from hash
@@ -18,6 +18,9 @@ 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
+ # limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
22
+ attr_accessor :allowed_client_type
23
+
21
24
  # Subclaims to include in audit logs, e.g \"--audit-logs-claims email --audit-logs-claims username\"
22
25
  attr_accessor :audit_logs_claims
23
26
 
@@ -64,6 +67,7 @@ module Akeyless
64
67
  def self.attribute_map
65
68
  {
66
69
  :'access_expires' => :'access-expires',
70
+ :'allowed_client_type' => :'allowed-client-type',
67
71
  :'audit_logs_claims' => :'audit-logs-claims',
68
72
  :'bound_ips' => :'bound-ips',
69
73
  :'delete_protection' => :'delete_protection',
@@ -90,6 +94,7 @@ module Akeyless
90
94
  def self.openapi_types
91
95
  {
92
96
  :'access_expires' => :'Integer',
97
+ :'allowed_client_type' => :'Array<String>',
93
98
  :'audit_logs_claims' => :'Array<String>',
94
99
  :'bound_ips' => :'Array<String>',
95
100
  :'delete_protection' => :'String',
@@ -134,6 +139,12 @@ module Akeyless
134
139
  self.access_expires = 0
135
140
  end
136
141
 
142
+ if attributes.key?(:'allowed_client_type')
143
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
144
+ self.allowed_client_type = value
145
+ end
146
+ end
147
+
137
148
  if attributes.key?(:'audit_logs_claims')
138
149
  if (value = attributes[:'audit_logs_claims']).is_a?(Array)
139
150
  self.audit_logs_claims = value
@@ -233,6 +244,7 @@ module Akeyless
233
244
  return true if self.equal?(o)
234
245
  self.class == o.class &&
235
246
  access_expires == o.access_expires &&
247
+ allowed_client_type == o.allowed_client_type &&
236
248
  audit_logs_claims == o.audit_logs_claims &&
237
249
  bound_ips == o.bound_ips &&
238
250
  delete_protection == o.delete_protection &&
@@ -258,7 +270,7 @@ module Akeyless
258
270
  # Calculates hash code according to all attributes.
259
271
  # @return [Integer] Hash code
260
272
  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
273
+ [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
274
  end
263
275
 
264
276
  # 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
 
@@ -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
  :'audit_logs_claims' => :'audit-logs-claims',
96
100
  :'bound_arn' => :'bound-arn',
97
101
  :'bound_aws_account_id' => :'bound-aws-account-id',
@@ -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
  :'audit_logs_claims' => :'Array<String>',
131
136
  :'bound_arn' => :'Array<String>',
132
137
  :'bound_aws_account_id' => :'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?(:'audit_logs_claims')
184
195
  if (value = attributes[:'audit_logs_claims']).is_a?(Array)
185
196
  self.audit_logs_claims = value
@@ -338,6 +349,7 @@ module Akeyless
338
349
  return true if self.equal?(o)
339
350
  self.class == o.class &&
340
351
  access_expires == o.access_expires &&
352
+ allowed_client_type == o.allowed_client_type &&
341
353
  audit_logs_claims == o.audit_logs_claims &&
342
354
  bound_arn == o.bound_arn &&
343
355
  bound_aws_account_id == o.bound_aws_account_id &&
@@ -372,7 +384,7 @@ module Akeyless
372
384
  # Calculates hash code according to all attributes.
373
385
  # @return [Integer] Hash code
374
386
  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
387
+ [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
388
  end
377
389
 
378
390
  # 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
 
@@ -104,6 +107,7 @@ module Akeyless
104
107
  def self.attribute_map
105
108
  {
106
109
  :'access_expires' => :'access-expires',
110
+ :'allowed_client_type' => :'allowed-client-type',
107
111
  :'audience' => :'audience',
108
112
  :'audit_logs_claims' => :'audit-logs-claims',
109
113
  :'bound_group_id' => :'bound-group-id',
@@ -143,6 +147,7 @@ module Akeyless
143
147
  def self.openapi_types
144
148
  {
145
149
  :'access_expires' => :'Integer',
150
+ :'allowed_client_type' => :'Array<String>',
146
151
  :'audience' => :'String',
147
152
  :'audit_logs_claims' => :'Array<String>',
148
153
  :'bound_group_id' => :'Array<String>',
@@ -200,6 +205,12 @@ module Akeyless
200
205
  self.access_expires = 0
201
206
  end
202
207
 
208
+ if attributes.key?(:'allowed_client_type')
209
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
210
+ self.allowed_client_type = value
211
+ end
212
+ end
213
+
203
214
  if attributes.key?(:'audience')
204
215
  self.audience = attributes[:'audience']
205
216
  else
@@ -380,6 +391,7 @@ module Akeyless
380
391
  return true if self.equal?(o)
381
392
  self.class == o.class &&
382
393
  access_expires == o.access_expires &&
394
+ allowed_client_type == o.allowed_client_type &&
383
395
  audience == o.audience &&
384
396
  audit_logs_claims == o.audit_logs_claims &&
385
397
  bound_group_id == o.bound_group_id &&
@@ -418,7 +430,7 @@ module Akeyless
418
430
  # Calculates hash code according to all attributes.
419
431
  # @return [Integer] Hash code
420
432
  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
433
+ [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
434
  end
423
435
 
424
436
  # 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
 
@@ -95,6 +98,7 @@ module Akeyless
95
98
  def self.attribute_map
96
99
  {
97
100
  :'access_expires' => :'access-expires',
101
+ :'allowed_client_type' => :'allowed-client-type',
98
102
  :'allowed_cors' => :'allowed-cors',
99
103
  :'audit_logs_claims' => :'audit-logs-claims',
100
104
  :'bound_common_names' => :'bound-common-names',
@@ -131,6 +135,7 @@ module Akeyless
131
135
  def self.openapi_types
132
136
  {
133
137
  :'access_expires' => :'Integer',
138
+ :'allowed_client_type' => :'Array<String>',
134
139
  :'allowed_cors' => :'String',
135
140
  :'audit_logs_claims' => :'Array<String>',
136
141
  :'bound_common_names' => :'Array<String>',
@@ -185,6 +190,12 @@ module Akeyless
185
190
  self.access_expires = 0
186
191
  end
187
192
 
193
+ if attributes.key?(:'allowed_client_type')
194
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
195
+ self.allowed_client_type = value
196
+ end
197
+ end
198
+
188
199
  if attributes.key?(:'allowed_cors')
189
200
  self.allowed_cors = attributes[:'allowed_cors']
190
201
  end
@@ -345,6 +356,7 @@ module Akeyless
345
356
  return true if self.equal?(o)
346
357
  self.class == o.class &&
347
358
  access_expires == o.access_expires &&
359
+ allowed_client_type == o.allowed_client_type &&
348
360
  allowed_cors == o.allowed_cors &&
349
361
  audit_logs_claims == o.audit_logs_claims &&
350
362
  bound_common_names == o.bound_common_names &&
@@ -380,7 +392,7 @@ module Akeyless
380
392
  # Calculates hash code according to all attributes.
381
393
  # @return [Integer] Hash code
382
394
  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
395
+ [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
396
  end
385
397
 
386
398
  # 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
@@ -254,6 +265,7 @@ module Akeyless
254
265
  return true if self.equal?(o)
255
266
  self.class == o.class &&
256
267
  access_expires == o.access_expires &&
268
+ allowed_client_type == o.allowed_client_type &&
257
269
  audit_logs_claims == o.audit_logs_claims &&
258
270
  bound_ips == o.bound_ips &&
259
271
  delete_protection == o.delete_protection &&
@@ -281,7 +293,7 @@ module Akeyless
281
293
  # Calculates hash code according to all attributes.
282
294
  # @return [Integer] Hash code
283
295
  def hash
284
- [access_expires, audit_logs_claims, bound_ips, delete_protection, description, enable_mfa, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, mfa_type, name, new_name, product_type, token, uid_token].hash
296
+ [access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, description, enable_mfa, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, mfa_type, name, new_name, product_type, token, uid_token].hash
285
297
  end
286
298
 
287
299
  # 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
 
@@ -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_ips' => :'bound-ips',
@@ -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_ips' => :'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
  else
@@ -339,6 +350,7 @@ module Akeyless
339
350
  return true if self.equal?(o)
340
351
  self.class == o.class &&
341
352
  access_expires == o.access_expires &&
353
+ allowed_client_type == o.allowed_client_type &&
342
354
  audience == o.audience &&
343
355
  audit_logs_claims == o.audit_logs_claims &&
344
356
  bound_ips == o.bound_ips &&
@@ -373,7 +385,7 @@ module Akeyless
373
385
  # Calculates hash code according to all attributes.
374
386
  # @return [Integer] Hash code
375
387
  def hash
376
- [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, new_name, product_type, service_account_creds_data, token, type, uid_token, unique_identifier].hash
388
+ [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, new_name, product_type, service_account_creds_data, token, type, uid_token, unique_identifier].hash
377
389
  end
378
390
 
379
391
  # 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
 
@@ -83,6 +86,7 @@ module Akeyless
83
86
  def self.attribute_map
84
87
  {
85
88
  :'access_expires' => :'access-expires',
89
+ :'allowed_client_type' => :'allowed-client-type',
86
90
  :'audience' => :'audience',
87
91
  :'audit_logs_claims' => :'audit-logs-claims',
88
92
  :'bound_ips' => :'bound-ips',
@@ -115,6 +119,7 @@ module Akeyless
115
119
  def self.openapi_types
116
120
  {
117
121
  :'access_expires' => :'Integer',
122
+ :'allowed_client_type' => :'Array<String>',
118
123
  :'audience' => :'String',
119
124
  :'audit_logs_claims' => :'Array<String>',
120
125
  :'bound_ips' => :'Array<String>',
@@ -165,6 +170,12 @@ module Akeyless
165
170
  self.access_expires = 0
166
171
  end
167
172
 
173
+ if attributes.key?(:'allowed_client_type')
174
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
175
+ self.allowed_client_type = value
176
+ end
177
+ end
178
+
168
179
  if attributes.key?(:'audience')
169
180
  self.audience = attributes[:'audience']
170
181
  end
@@ -294,6 +305,7 @@ module Akeyless
294
305
  return true if self.equal?(o)
295
306
  self.class == o.class &&
296
307
  access_expires == o.access_expires &&
308
+ allowed_client_type == o.allowed_client_type &&
297
309
  audience == o.audience &&
298
310
  audit_logs_claims == o.audit_logs_claims &&
299
311
  bound_ips == o.bound_ips &&
@@ -325,7 +337,7 @@ module Akeyless
325
337
  # Calculates hash code according to all attributes.
326
338
  # @return [Integer] Hash code
327
339
  def hash
328
- [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, new_name, product_type, public_key, token, uid_token].hash
340
+ [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, new_name, product_type, public_key, token, uid_token].hash
329
341
  end
330
342
 
331
343
  # 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
 
@@ -98,6 +101,7 @@ module Akeyless
98
101
  def self.attribute_map
99
102
  {
100
103
  :'access_expires' => :'access-expires',
104
+ :'allowed_client_type' => :'allowed-client-type',
101
105
  :'audit_logs_claims' => :'audit-logs-claims',
102
106
  :'bind_dn' => :'bind-dn',
103
107
  :'bind_dn_password' => :'bind-dn-password',
@@ -140,6 +144,7 @@ module Akeyless
140
144
  def self.openapi_types
141
145
  {
142
146
  :'access_expires' => :'Integer',
147
+ :'allowed_client_type' => :'Array<String>',
143
148
  :'audit_logs_claims' => :'Array<String>',
144
149
  :'bind_dn' => :'String',
145
150
  :'bind_dn_password' => :'String',
@@ -200,6 +205,12 @@ module Akeyless
200
205
  self.access_expires = 0
201
206
  end
202
207
 
208
+ if attributes.key?(:'allowed_client_type')
209
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
210
+ self.allowed_client_type = value
211
+ end
212
+ end
213
+
203
214
  if attributes.key?(:'audit_logs_claims')
204
215
  if (value = attributes[:'audit_logs_claims']).is_a?(Array)
205
216
  self.audit_logs_claims = value
@@ -365,6 +376,7 @@ module Akeyless
365
376
  return true if self.equal?(o)
366
377
  self.class == o.class &&
367
378
  access_expires == o.access_expires &&
379
+ allowed_client_type == o.allowed_client_type &&
368
380
  audit_logs_claims == o.audit_logs_claims &&
369
381
  bind_dn == o.bind_dn &&
370
382
  bind_dn_password == o.bind_dn_password &&
@@ -406,7 +418,7 @@ module Akeyless
406
418
  # Calculates hash code according to all attributes.
407
419
  # @return [Integer] Hash code
408
420
  def hash
409
- [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, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, user_attribute, user_dn].hash
421
+ [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, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier, user_attribute, user_dn].hash
410
422
  end
411
423
 
412
424
  # 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
 
@@ -74,6 +77,7 @@ module Akeyless
74
77
  def self.attribute_map
75
78
  {
76
79
  :'access_expires' => :'access-expires',
80
+ :'allowed_client_type' => :'allowed-client-type',
77
81
  :'audit_logs_claims' => :'audit-logs-claims',
78
82
  :'bound_ips' => :'bound-ips',
79
83
  :'delete_protection' => :'delete_protection',
@@ -103,6 +107,7 @@ module Akeyless
103
107
  def self.openapi_types
104
108
  {
105
109
  :'access_expires' => :'Integer',
110
+ :'allowed_client_type' => :'Array<String>',
106
111
  :'audit_logs_claims' => :'Array<String>',
107
112
  :'bound_ips' => :'Array<String>',
108
113
  :'delete_protection' => :'String',
@@ -150,6 +155,12 @@ module Akeyless
150
155
  self.access_expires = 0
151
156
  end
152
157
 
158
+ if attributes.key?(:'allowed_client_type')
159
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
160
+ self.allowed_client_type = value
161
+ end
162
+ end
163
+
153
164
  if attributes.key?(:'audit_logs_claims')
154
165
  if (value = attributes[:'audit_logs_claims']).is_a?(Array)
155
166
  self.audit_logs_claims = value
@@ -263,6 +274,7 @@ module Akeyless
263
274
  return true if self.equal?(o)
264
275
  self.class == o.class &&
265
276
  access_expires == o.access_expires &&
277
+ allowed_client_type == o.allowed_client_type &&
266
278
  audit_logs_claims == o.audit_logs_claims &&
267
279
  bound_ips == o.bound_ips &&
268
280
  delete_protection == o.delete_protection &&
@@ -291,7 +303,7 @@ module Akeyless
291
303
  # Calculates hash code according to all attributes.
292
304
  # @return [Integer] Hash code
293
305
  def hash
294
- [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, new_name, product_type, public_key_data, token, uid_token, unique_identifier].hash
306
+ [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, new_name, product_type, public_key_data, token, uid_token, unique_identifier].hash
295
307
  end
296
308
 
297
309
  # 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
 
@@ -95,6 +98,7 @@ module Akeyless
95
98
  def self.attribute_map
96
99
  {
97
100
  :'access_expires' => :'access-expires',
101
+ :'allowed_client_type' => :'allowed-client-type',
98
102
  :'audience' => :'audience',
99
103
  :'audit_logs_claims' => :'audit-logs-claims',
100
104
  :'bound_client_ids' => :'bound-client-ids',
@@ -131,6 +135,7 @@ module Akeyless
131
135
  def self.openapi_types
132
136
  {
133
137
  :'access_expires' => :'Integer',
138
+ :'allowed_client_type' => :'Array<String>',
134
139
  :'audience' => :'String',
135
140
  :'audit_logs_claims' => :'Array<String>',
136
141
  :'bound_client_ids' => :'Array<String>',
@@ -185,6 +190,12 @@ module Akeyless
185
190
  self.access_expires = 0
186
191
  end
187
192
 
193
+ if attributes.key?(:'allowed_client_type')
194
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
195
+ self.allowed_client_type = value
196
+ end
197
+ end
198
+
188
199
  if attributes.key?(:'audience')
189
200
  self.audience = attributes[:'audience']
190
201
  end
@@ -335,6 +346,7 @@ module Akeyless
335
346
  return true if self.equal?(o)
336
347
  self.class == o.class &&
337
348
  access_expires == o.access_expires &&
349
+ allowed_client_type == o.allowed_client_type &&
338
350
  audience == o.audience &&
339
351
  audit_logs_claims == o.audit_logs_claims &&
340
352
  bound_client_ids == o.bound_client_ids &&
@@ -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, 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, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
385
+ [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, new_name, product_type, subclaims_delimiters, 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
@@ -268,6 +279,7 @@ module Akeyless
268
279
  return true if self.equal?(o)
269
280
  self.class == o.class &&
270
281
  access_expires == o.access_expires &&
282
+ allowed_client_type == o.allowed_client_type &&
271
283
  audit_logs_claims == o.audit_logs_claims &&
272
284
  bound_ips == o.bound_ips &&
273
285
  delete_protection == o.delete_protection &&
@@ -295,7 +307,7 @@ module Akeyless
295
307
  # Calculates hash code according to all attributes.
296
308
  # @return [Integer] Hash code
297
309
  def hash
298
- [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, new_name, product_type, tenant_ocid, token, uid_token].hash
310
+ [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, new_name, product_type, tenant_ocid, token, uid_token].hash
299
311
  end
300
312
 
301
313
  # Builds the object from hash