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.
Files changed (231) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -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/CreateESM.md +2 -0
  51. data/docs/CreatePKICertIssuer.md +6 -0
  52. data/docs/CreateRole.md +2 -0
  53. data/docs/CreateUSC.md +2 -0
  54. data/docs/DSProducerDetails.md +10 -0
  55. data/docs/DecryptWithClassicKey.md +2 -0
  56. data/docs/DynamicSecretCreateGcp.md +23 -5
  57. data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
  58. data/docs/DynamicSecretCreateMongoDb.md +2 -0
  59. data/docs/DynamicSecretCreateMsSql.md +2 -0
  60. data/docs/DynamicSecretGetValue.md +2 -0
  61. data/docs/DynamicSecretUpdateGcp.md +23 -5
  62. data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
  63. data/docs/DynamicSecretUpdateMongoDb.md +2 -0
  64. data/docs/DynamicSecretUpdateMsSql.md +2 -0
  65. data/docs/EncryptWithClassicKey.md +2 -0
  66. data/docs/EventForwarderGetOutput.md +3 -1
  67. data/docs/FolderCreate.md +34 -0
  68. data/docs/FolderCreateOutput.md +18 -0
  69. data/docs/FolderDelete.md +28 -0
  70. data/docs/FolderGet.md +28 -0
  71. data/docs/FolderGetOutput.md +18 -0
  72. data/docs/FolderUpdate.md +36 -0
  73. data/docs/GatewayCreateMigration.md +2 -0
  74. data/docs/GatewayCreateProducerGcp.md +23 -5
  75. data/docs/GatewayCreateProducerMSSQL.md +2 -0
  76. data/docs/GatewayCreateProducerMongo.md +2 -0
  77. data/docs/GatewayUpdateMigration.md +2 -0
  78. data/docs/GatewayUpdateProducerGcp.md +23 -5
  79. data/docs/GatewayUpdateProducerMSSQL.md +2 -0
  80. data/docs/GatewayUpdateProducerMongo.md +2 -0
  81. data/docs/GatewayUpdateRemoteAccess.md +4 -0
  82. data/docs/GetDynamicSecretValue.md +2 -0
  83. data/docs/GetFolderOutput.md +36 -0
  84. data/docs/NotiForwarderDetailsInput.md +28 -0
  85. data/docs/PKICertificateIssueDetails.md +6 -0
  86. data/docs/RotatedSecretCreateSsh.md +4 -0
  87. data/docs/RotatedSecretDeleteSync.md +2 -0
  88. data/docs/RotatedSecretDetailsInfo.md +4 -0
  89. data/docs/RotatedSecretUpdateSsh.md +4 -0
  90. data/docs/SlackNotiForwarderDetails.md +18 -0
  91. data/docs/StaticSecretDeleteSync.md +2 -0
  92. data/docs/TeamsNotiForwarderDetails.md +18 -0
  93. data/docs/UpdateAccountSettings.md +4 -0
  94. data/docs/UpdateAuthMethod.md +2 -0
  95. data/docs/UpdateAuthMethodAWSIAM.md +2 -0
  96. data/docs/UpdateAuthMethodAzureAD.md +2 -0
  97. data/docs/UpdateAuthMethodCert.md +2 -0
  98. data/docs/UpdateAuthMethodGCP.md +2 -0
  99. data/docs/UpdateAuthMethodK8S.md +2 -0
  100. data/docs/UpdateAuthMethodLDAP.md +2 -0
  101. data/docs/UpdateAuthMethodOAuth2.md +2 -0
  102. data/docs/UpdateAuthMethodOCI.md +2 -0
  103. data/docs/UpdateAuthMethodOIDC.md +2 -0
  104. data/docs/UpdateAuthMethodSAML.md +2 -0
  105. data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
  106. data/docs/UpdatePKICertIssuer.md +6 -0
  107. data/docs/V2Api.md +256 -4
  108. data/docs/WebhookNotiForwarderDetails.md +26 -0
  109. data/docs/WindowsServiceAttributes.md +4 -0
  110. data/lib/akeyless/api/v2_api.rb +256 -0
  111. data/lib/akeyless/models/account_general_settings.rb +10 -1
  112. data/lib/akeyless/models/active_directory_payload.rb +10 -1
  113. data/lib/akeyless/models/allowed_client_type.rb +225 -0
  114. data/lib/akeyless/models/auth_method_access_info.rb +12 -1
  115. data/lib/akeyless/models/auth_method_create_api_key.rb +12 -1
  116. data/lib/akeyless/models/auth_method_create_aws_iam.rb +12 -1
  117. data/lib/akeyless/models/auth_method_create_azure_ad.rb +12 -1
  118. data/lib/akeyless/models/auth_method_create_cert.rb +12 -1
  119. data/lib/akeyless/models/auth_method_create_email.rb +12 -1
  120. data/lib/akeyless/models/auth_method_create_gcp.rb +12 -1
  121. data/lib/akeyless/models/auth_method_create_k8s.rb +12 -1
  122. data/lib/akeyless/models/auth_method_create_kerberos.rb +12 -1
  123. data/lib/akeyless/models/auth_method_create_ldap.rb +12 -1
  124. data/lib/akeyless/models/auth_method_create_oauth2.rb +12 -1
  125. data/lib/akeyless/models/auth_method_create_oci.rb +12 -1
  126. data/lib/akeyless/models/auth_method_create_oidc.rb +12 -1
  127. data/lib/akeyless/models/auth_method_create_saml.rb +12 -1
  128. data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -1
  129. data/lib/akeyless/models/auth_method_update_api_key.rb +12 -1
  130. data/lib/akeyless/models/auth_method_update_aws_iam.rb +12 -1
  131. data/lib/akeyless/models/auth_method_update_azure_ad.rb +12 -1
  132. data/lib/akeyless/models/auth_method_update_cert.rb +12 -1
  133. data/lib/akeyless/models/auth_method_update_email.rb +12 -1
  134. data/lib/akeyless/models/auth_method_update_gcp.rb +12 -1
  135. data/lib/akeyless/models/auth_method_update_k8s.rb +12 -1
  136. data/lib/akeyless/models/auth_method_update_kerberos.rb +12 -1
  137. data/lib/akeyless/models/auth_method_update_ldap.rb +12 -1
  138. data/lib/akeyless/models/auth_method_update_oauth2.rb +12 -1
  139. data/lib/akeyless/models/auth_method_update_oci.rb +12 -1
  140. data/lib/akeyless/models/auth_method_update_oidc.rb +12 -1
  141. data/lib/akeyless/models/auth_method_update_saml.rb +12 -1
  142. data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -1
  143. data/lib/akeyless/models/bastion_global_conf.rb +19 -1
  144. data/lib/akeyless/models/create_auth_method.rb +12 -1
  145. data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
  146. data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
  147. data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
  148. data/lib/akeyless/models/create_auth_method_email.rb +12 -1
  149. data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
  150. data/lib/akeyless/models/create_auth_method_huawei.rb +12 -1
  151. data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
  152. data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
  153. data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
  154. data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
  155. data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
  156. data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
  157. data/lib/akeyless/models/create_auth_method_universal_identity.rb +12 -1
  158. data/lib/akeyless/models/create_esm.rb +11 -1
  159. data/lib/akeyless/models/create_pki_cert_issuer.rb +28 -1
  160. data/lib/akeyless/models/create_role.rb +13 -1
  161. data/lib/akeyless/models/create_usc.rb +11 -1
  162. data/lib/akeyless/models/decrypt_with_classic_key.rb +13 -1
  163. data/lib/akeyless/models/ds_producer_details.rb +47 -1
  164. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +101 -11
  165. data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +11 -1
  166. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +11 -1
  167. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +11 -1
  168. data/lib/akeyless/models/dynamic_secret_get_value.rb +11 -1
  169. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +101 -11
  170. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +11 -1
  171. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +11 -1
  172. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +11 -1
  173. data/lib/akeyless/models/encrypt_with_classic_key.rb +13 -1
  174. data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
  175. data/lib/akeyless/models/folder_create.rb +308 -0
  176. data/lib/akeyless/models/folder_create_output.rb +214 -0
  177. data/lib/akeyless/models/folder_delete.rb +276 -0
  178. data/lib/akeyless/models/folder_get.rb +276 -0
  179. data/lib/akeyless/models/folder_get_output.rb +214 -0
  180. data/lib/akeyless/models/folder_update.rb +320 -0
  181. data/lib/akeyless/models/gateway_create_migration.rb +13 -1
  182. data/lib/akeyless/models/gateway_create_producer_gcp.rb +101 -11
  183. data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
  184. data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
  185. data/lib/akeyless/models/gateway_update_migration.rb +13 -1
  186. data/lib/akeyless/models/gateway_update_producer_gcp.rb +101 -11
  187. data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
  188. data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
  189. data/lib/akeyless/models/gateway_update_remote_access.rb +25 -1
  190. data/lib/akeyless/models/get_dynamic_secret_value.rb +11 -1
  191. data/lib/akeyless/models/get_folder_output.rb +298 -0
  192. data/lib/akeyless/models/noti_forwarder_details_input.rb +261 -0
  193. data/lib/akeyless/models/pki_certificate_issue_details.rb +31 -1
  194. data/lib/akeyless/models/rotated_secret_create_ssh.rb +21 -1
  195. data/lib/akeyless/models/rotated_secret_delete_sync.rb +11 -1
  196. data/lib/akeyless/models/rotated_secret_details_info.rb +21 -1
  197. data/lib/akeyless/models/rotated_secret_update_ssh.rb +21 -1
  198. data/lib/akeyless/models/slack_noti_forwarder_details.rb +214 -0
  199. data/lib/akeyless/models/static_secret_delete_sync.rb +11 -1
  200. data/lib/akeyless/models/teams_noti_forwarder_details.rb +214 -0
  201. data/lib/akeyless/models/update_account_settings.rb +21 -1
  202. data/lib/akeyless/models/update_auth_method.rb +12 -1
  203. data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
  204. data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
  205. data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
  206. data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
  207. data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
  208. data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
  209. data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
  210. data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
  211. data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
  212. data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
  213. data/lib/akeyless/models/update_auth_method_universal_identity.rb +12 -1
  214. data/lib/akeyless/models/update_pki_cert_issuer.rb +28 -1
  215. data/lib/akeyless/models/webhook_noti_forwarder_details.rb +253 -0
  216. data/lib/akeyless/models/windows_service_attributes.rb +21 -1
  217. data/lib/akeyless/version.rb +1 -1
  218. data/lib/akeyless.rb +12 -0
  219. data/spec/models/allowed_client_type_spec.rb +42 -0
  220. data/spec/models/folder_create_output_spec.rb +36 -0
  221. data/spec/models/folder_create_spec.rb +84 -0
  222. data/spec/models/folder_delete_spec.rb +66 -0
  223. data/spec/models/folder_get_output_spec.rb +36 -0
  224. data/spec/models/folder_get_spec.rb +66 -0
  225. data/spec/models/folder_update_spec.rb +90 -0
  226. data/spec/models/get_folder_output_spec.rb +90 -0
  227. data/spec/models/noti_forwarder_details_input_spec.rb +66 -0
  228. data/spec/models/slack_noti_forwarder_details_spec.rb +36 -0
  229. data/spec/models/teams_noti_forwarder_details_spec.rb +36 -0
  230. data/spec/models/webhook_noti_forwarder_details_spec.rb +60 -0
  231. 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
  # 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, 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
295
+ [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
296
  end
286
297
 
287
298
  # 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 to verify in the JWT received by the client
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_ips' => :'bound-ips',
@@ -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_ips' => :'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
  else
@@ -339,6 +349,7 @@ module Akeyless
339
349
  return true if self.equal?(o)
340
350
  self.class == o.class &&
341
351
  access_expires == o.access_expires &&
352
+ allowed_client_type == o.allowed_client_type &&
342
353
  audience == o.audience &&
343
354
  audit_logs_claims == o.audit_logs_claims &&
344
355
  bound_ips == o.bound_ips &&
@@ -373,7 +384,7 @@ module Akeyless
373
384
  # Calculates hash code according to all attributes.
374
385
  # @return [Integer] Hash code
375
386
  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
387
+ [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
388
  end
378
389
 
379
390
  # 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 Kubernetes JWT that the access is restricted to
23
25
  attr_accessor :audience
24
26
 
@@ -83,6 +85,7 @@ module Akeyless
83
85
  def self.attribute_map
84
86
  {
85
87
  :'access_expires' => :'access-expires',
88
+ :'allowed_client_type' => :'allowed-client-type',
86
89
  :'audience' => :'audience',
87
90
  :'audit_logs_claims' => :'audit-logs-claims',
88
91
  :'bound_ips' => :'bound-ips',
@@ -115,6 +118,7 @@ module Akeyless
115
118
  def self.openapi_types
116
119
  {
117
120
  :'access_expires' => :'Integer',
121
+ :'allowed_client_type' => :'Array<String>',
118
122
  :'audience' => :'String',
119
123
  :'audit_logs_claims' => :'Array<String>',
120
124
  :'bound_ips' => :'Array<String>',
@@ -165,6 +169,12 @@ module Akeyless
165
169
  self.access_expires = 0
166
170
  end
167
171
 
172
+ if attributes.key?(:'allowed_client_type')
173
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
174
+ self.allowed_client_type = value
175
+ end
176
+ end
177
+
168
178
  if attributes.key?(:'audience')
169
179
  self.audience = attributes[:'audience']
170
180
  end
@@ -294,6 +304,7 @@ module Akeyless
294
304
  return true if self.equal?(o)
295
305
  self.class == o.class &&
296
306
  access_expires == o.access_expires &&
307
+ allowed_client_type == o.allowed_client_type &&
297
308
  audience == o.audience &&
298
309
  audit_logs_claims == o.audit_logs_claims &&
299
310
  bound_ips == o.bound_ips &&
@@ -325,7 +336,7 @@ module Akeyless
325
336
  # Calculates hash code according to all attributes.
326
337
  # @return [Integer] Hash code
327
338
  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
339
+ [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
340
  end
330
341
 
331
342
  # 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
 
@@ -98,6 +100,7 @@ module Akeyless
98
100
  def self.attribute_map
99
101
  {
100
102
  :'access_expires' => :'access-expires',
103
+ :'allowed_client_type' => :'allowed-client-type',
101
104
  :'audit_logs_claims' => :'audit-logs-claims',
102
105
  :'bind_dn' => :'bind-dn',
103
106
  :'bind_dn_password' => :'bind-dn-password',
@@ -140,6 +143,7 @@ module Akeyless
140
143
  def self.openapi_types
141
144
  {
142
145
  :'access_expires' => :'Integer',
146
+ :'allowed_client_type' => :'Array<String>',
143
147
  :'audit_logs_claims' => :'Array<String>',
144
148
  :'bind_dn' => :'String',
145
149
  :'bind_dn_password' => :'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?(:'audit_logs_claims')
204
214
  if (value = attributes[:'audit_logs_claims']).is_a?(Array)
205
215
  self.audit_logs_claims = value
@@ -365,6 +375,7 @@ module Akeyless
365
375
  return true if self.equal?(o)
366
376
  self.class == o.class &&
367
377
  access_expires == o.access_expires &&
378
+ allowed_client_type == o.allowed_client_type &&
368
379
  audit_logs_claims == o.audit_logs_claims &&
369
380
  bind_dn == o.bind_dn &&
370
381
  bind_dn_password == o.bind_dn_password &&
@@ -406,7 +417,7 @@ module Akeyless
406
417
  # Calculates hash code according to all attributes.
407
418
  # @return [Integer] Hash code
408
419
  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
420
+ [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
421
  end
411
422
 
412
423
  # 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
 
@@ -74,6 +76,7 @@ module Akeyless
74
76
  def self.attribute_map
75
77
  {
76
78
  :'access_expires' => :'access-expires',
79
+ :'allowed_client_type' => :'allowed-client-type',
77
80
  :'audit_logs_claims' => :'audit-logs-claims',
78
81
  :'bound_ips' => :'bound-ips',
79
82
  :'delete_protection' => :'delete_protection',
@@ -103,6 +106,7 @@ module Akeyless
103
106
  def self.openapi_types
104
107
  {
105
108
  :'access_expires' => :'Integer',
109
+ :'allowed_client_type' => :'Array<String>',
106
110
  :'audit_logs_claims' => :'Array<String>',
107
111
  :'bound_ips' => :'Array<String>',
108
112
  :'delete_protection' => :'String',
@@ -150,6 +154,12 @@ module Akeyless
150
154
  self.access_expires = 0
151
155
  end
152
156
 
157
+ if attributes.key?(:'allowed_client_type')
158
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
159
+ self.allowed_client_type = value
160
+ end
161
+ end
162
+
153
163
  if attributes.key?(:'audit_logs_claims')
154
164
  if (value = attributes[:'audit_logs_claims']).is_a?(Array)
155
165
  self.audit_logs_claims = value
@@ -263,6 +273,7 @@ module Akeyless
263
273
  return true if self.equal?(o)
264
274
  self.class == o.class &&
265
275
  access_expires == o.access_expires &&
276
+ allowed_client_type == o.allowed_client_type &&
266
277
  audit_logs_claims == o.audit_logs_claims &&
267
278
  bound_ips == o.bound_ips &&
268
279
  delete_protection == o.delete_protection &&
@@ -291,7 +302,7 @@ module Akeyless
291
302
  # Calculates hash code according to all attributes.
292
303
  # @return [Integer] Hash code
293
304
  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
305
+ [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
306
  end
296
307
 
297
308
  # 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
 
@@ -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
  :'audience' => :'audience',
99
102
  :'audit_logs_claims' => :'audit-logs-claims',
100
103
  :'bound_client_ids' => :'bound-client-ids',
@@ -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
  :'audience' => :'String',
135
139
  :'audit_logs_claims' => :'Array<String>',
136
140
  :'bound_client_ids' => :'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?(:'audience')
189
199
  self.audience = attributes[:'audience']
190
200
  end
@@ -335,6 +345,7 @@ module Akeyless
335
345
  return true if self.equal?(o)
336
346
  self.class == o.class &&
337
347
  access_expires == o.access_expires &&
348
+ allowed_client_type == o.allowed_client_type &&
338
349
  audience == o.audience &&
339
350
  audit_logs_claims == o.audit_logs_claims &&
340
351
  bound_client_ids == o.bound_client_ids &&
@@ -370,7 +381,7 @@ module Akeyless
370
381
  # Calculates hash code according to all attributes.
371
382
  # @return [Integer] Hash code
372
383
  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
384
+ [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
385
  end
375
386
 
376
387
  # 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
@@ -268,6 +278,7 @@ module Akeyless
268
278
  return true if self.equal?(o)
269
279
  self.class == o.class &&
270
280
  access_expires == o.access_expires &&
281
+ allowed_client_type == o.allowed_client_type &&
271
282
  audit_logs_claims == o.audit_logs_claims &&
272
283
  bound_ips == o.bound_ips &&
273
284
  delete_protection == o.delete_protection &&
@@ -295,7 +306,7 @@ module Akeyless
295
306
  # Calculates hash code according to all attributes.
296
307
  # @return [Integer] Hash code
297
308
  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
309
+ [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
310
  end
300
311
 
301
312
  # 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
 
@@ -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
  :'allowed_redirect_uri' => :'allowed-redirect-uri',
96
99
  :'audience' => :'audience',
97
100
  :'audit_logs_claims' => :'audit-logs-claims',
@@ -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
  :'allowed_redirect_uri' => :'Array<String>',
131
135
  :'audience' => :'String',
132
136
  :'audit_logs_claims' => :'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?(:'allowed_redirect_uri')
184
194
  if (value = attributes[:'allowed_redirect_uri']).is_a?(Array)
185
195
  self.allowed_redirect_uri = value
@@ -328,6 +338,7 @@ module Akeyless
328
338
  return true if self.equal?(o)
329
339
  self.class == o.class &&
330
340
  access_expires == o.access_expires &&
341
+ allowed_client_type == o.allowed_client_type &&
331
342
  allowed_redirect_uri == o.allowed_redirect_uri &&
332
343
  audience == o.audience &&
333
344
  audit_logs_claims == o.audit_logs_claims &&
@@ -362,7 +373,7 @@ module Akeyless
362
373
  # Calculates hash code according to all attributes.
363
374
  # @return [Integer] Hash code
364
375
  def hash
365
- [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, new_name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
376
+ [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, new_name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
366
377
  end
367
378
 
368
379
  # 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
 
@@ -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
  :'allowed_redirect_uri' => :'allowed-redirect-uri',
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
  :'allowed_redirect_uri' => :'Array<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?(:'allowed_redirect_uri')
164
174
  if (value = attributes[:'allowed_redirect_uri']).is_a?(Array)
165
175
  self.allowed_redirect_uri = value
@@ -290,6 +300,7 @@ module Akeyless
290
300
  return true if self.equal?(o)
291
301
  self.class == o.class &&
292
302
  access_expires == o.access_expires &&
303
+ allowed_client_type == o.allowed_client_type &&
293
304
  allowed_redirect_uri == o.allowed_redirect_uri &&
294
305
  audit_logs_claims == o.audit_logs_claims &&
295
306
  bound_ips == o.bound_ips &&
@@ -320,7 +331,7 @@ module Akeyless
320
331
  # Calculates hash code according to all attributes.
321
332
  # @return [Integer] Hash code
322
333
  def hash
323
- [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, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
334
+ [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, new_name, product_type, subclaims_delimiters, token, uid_token, unique_identifier].hash
324
335
  end
325
336
 
326
337
  # 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
 
@@ -74,6 +76,7 @@ module Akeyless
74
76
  def self.attribute_map
75
77
  {
76
78
  :'access_expires' => :'access-expires',
79
+ :'allowed_client_type' => :'allowed-client-type',
77
80
  :'audit_logs_claims' => :'audit-logs-claims',
78
81
  :'bound_ips' => :'bound-ips',
79
82
  :'delete_protection' => :'delete_protection',
@@ -103,6 +106,7 @@ module Akeyless
103
106
  def self.openapi_types
104
107
  {
105
108
  :'access_expires' => :'Integer',
109
+ :'allowed_client_type' => :'Array<String>',
106
110
  :'audit_logs_claims' => :'Array<String>',
107
111
  :'bound_ips' => :'Array<String>',
108
112
  :'delete_protection' => :'String',
@@ -150,6 +154,12 @@ module Akeyless
150
154
  self.access_expires = 0
151
155
  end
152
156
 
157
+ if attributes.key?(:'allowed_client_type')
158
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
159
+ self.allowed_client_type = value
160
+ end
161
+ end
162
+
153
163
  if attributes.key?(:'audit_logs_claims')
154
164
  if (value = attributes[:'audit_logs_claims']).is_a?(Array)
155
165
  self.audit_logs_claims = value
@@ -263,6 +273,7 @@ module Akeyless
263
273
  return true if self.equal?(o)
264
274
  self.class == o.class &&
265
275
  access_expires == o.access_expires &&
276
+ allowed_client_type == o.allowed_client_type &&
266
277
  audit_logs_claims == o.audit_logs_claims &&
267
278
  bound_ips == o.bound_ips &&
268
279
  delete_protection == o.delete_protection &&
@@ -291,7 +302,7 @@ module Akeyless
291
302
  # Calculates hash code according to all attributes.
292
303
  # @return [Integer] Hash code
293
304
  def hash
294
- [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, new_name, product_type, token, ttl, uid_token].hash
305
+ [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, new_name, product_type, token, ttl, uid_token].hash
295
306
  end
296
307
 
297
308
  # Builds the object from hash
@@ -17,6 +17,10 @@ module Akeyless
17
17
  class BastionGlobalConf
18
18
  attr_accessor :allowed_bastion_urls
19
19
 
20
+ attr_accessor :allowed_ssh_url
21
+
22
+ attr_accessor :default_session_ttl_minutes
23
+
20
24
  attr_accessor :legacy_signing_alg
21
25
 
22
26
  attr_accessor :rdp_username_sub_claim
@@ -27,6 +31,8 @@ module Akeyless
27
31
  def self.attribute_map
28
32
  {
29
33
  :'allowed_bastion_urls' => :'allowed_bastion_urls',
34
+ :'allowed_ssh_url' => :'allowed_ssh_url',
35
+ :'default_session_ttl_minutes' => :'default_session_ttl_minutes',
30
36
  :'legacy_signing_alg' => :'legacy_signing_alg',
31
37
  :'rdp_username_sub_claim' => :'rdp_username_sub_claim',
32
38
  :'ssh_username_sub_claim' => :'ssh_username_sub_claim'
@@ -42,6 +48,8 @@ module Akeyless
42
48
  def self.openapi_types
43
49
  {
44
50
  :'allowed_bastion_urls' => :'Array<String>',
51
+ :'allowed_ssh_url' => :'String',
52
+ :'default_session_ttl_minutes' => :'Integer',
45
53
  :'legacy_signing_alg' => :'Boolean',
46
54
  :'rdp_username_sub_claim' => :'String',
47
55
  :'ssh_username_sub_claim' => :'String'
@@ -75,6 +83,14 @@ module Akeyless
75
83
  end
76
84
  end
77
85
 
86
+ if attributes.key?(:'allowed_ssh_url')
87
+ self.allowed_ssh_url = attributes[:'allowed_ssh_url']
88
+ end
89
+
90
+ if attributes.key?(:'default_session_ttl_minutes')
91
+ self.default_session_ttl_minutes = attributes[:'default_session_ttl_minutes']
92
+ end
93
+
78
94
  if attributes.key?(:'legacy_signing_alg')
79
95
  self.legacy_signing_alg = attributes[:'legacy_signing_alg']
80
96
  end
@@ -109,6 +125,8 @@ module Akeyless
109
125
  return true if self.equal?(o)
110
126
  self.class == o.class &&
111
127
  allowed_bastion_urls == o.allowed_bastion_urls &&
128
+ allowed_ssh_url == o.allowed_ssh_url &&
129
+ default_session_ttl_minutes == o.default_session_ttl_minutes &&
112
130
  legacy_signing_alg == o.legacy_signing_alg &&
113
131
  rdp_username_sub_claim == o.rdp_username_sub_claim &&
114
132
  ssh_username_sub_claim == o.ssh_username_sub_claim
@@ -123,7 +141,7 @@ module Akeyless
123
141
  # Calculates hash code according to all attributes.
124
142
  # @return [Integer] Hash code
125
143
  def hash
126
- [allowed_bastion_urls, legacy_signing_alg, rdp_username_sub_claim, ssh_username_sub_claim].hash
144
+ [allowed_bastion_urls, allowed_ssh_url, default_session_ttl_minutes, legacy_signing_alg, rdp_username_sub_claim, ssh_username_sub_claim].hash
127
145
  end
128
146
 
129
147
  # 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
 
@@ -62,6 +64,7 @@ module Akeyless
62
64
  def self.attribute_map
63
65
  {
64
66
  :'access_expires' => :'access-expires',
67
+ :'allowed_client_type' => :'allowed-client-type',
65
68
  :'audit_logs_claims' => :'audit-logs-claims',
66
69
  :'bound_ips' => :'bound-ips',
67
70
  :'delete_protection' => :'delete_protection',
@@ -87,6 +90,7 @@ module Akeyless
87
90
  def self.openapi_types
88
91
  {
89
92
  :'access_expires' => :'Integer',
93
+ :'allowed_client_type' => :'Array<String>',
90
94
  :'audit_logs_claims' => :'Array<String>',
91
95
  :'bound_ips' => :'Array<String>',
92
96
  :'delete_protection' => :'String',
@@ -130,6 +134,12 @@ module Akeyless
130
134
  self.access_expires = 0
131
135
  end
132
136
 
137
+ if attributes.key?(:'allowed_client_type')
138
+ if (value = attributes[:'allowed_client_type']).is_a?(Array)
139
+ self.allowed_client_type = value
140
+ end
141
+ end
142
+
133
143
  if attributes.key?(:'audit_logs_claims')
134
144
  if (value = attributes[:'audit_logs_claims']).is_a?(Array)
135
145
  self.audit_logs_claims = value
@@ -225,6 +235,7 @@ module Akeyless
225
235
  return true if self.equal?(o)
226
236
  self.class == o.class &&
227
237
  access_expires == o.access_expires &&
238
+ allowed_client_type == o.allowed_client_type &&
228
239
  audit_logs_claims == o.audit_logs_claims &&
229
240
  bound_ips == o.bound_ips &&
230
241
  delete_protection == o.delete_protection &&
@@ -249,7 +260,7 @@ module Akeyless
249
260
  # Calculates hash code according to all attributes.
250
261
  # @return [Integer] Hash code
251
262
  def hash
252
- [access_expires, audit_logs_claims, bound_ips, delete_protection, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
263
+ [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, product_type, token, uid_token].hash
253
264
  end
254
265
 
255
266
  # Builds the object from hash