akeyless 5.0.3 → 5.0.5

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 (241) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -2
  3. data/docs/AWSGatewayCloudIdentityExternalIdOpt.md +22 -0
  4. data/docs/AWSTargetDetails.md +2 -0
  5. data/docs/AccountGeneralSettings.md +6 -0
  6. data/docs/AzureTargetDetails.md +2 -0
  7. data/docs/CertificateExpirationEventsSettings.md +20 -0
  8. data/docs/CreateAWSTarget.md +4 -0
  9. data/docs/CreatePKICertIssuer.md +3 -1
  10. data/docs/DSProducerDetails.md +14 -0
  11. data/docs/DynamicSecretCreateArtifactory.md +2 -0
  12. data/docs/DynamicSecretCreateAws.md +4 -0
  13. data/docs/DynamicSecretCreateAzure.md +4 -0
  14. data/docs/DynamicSecretCreateCassandra.md +2 -0
  15. data/docs/DynamicSecretCreateChef.md +2 -0
  16. data/docs/DynamicSecretCreateGcp.md +2 -0
  17. data/docs/DynamicSecretCreateHanaDb.md +4 -0
  18. data/docs/DynamicSecretCreateK8s.md +2 -0
  19. data/docs/DynamicSecretCreateLdap.md +2 -0
  20. data/docs/DynamicSecretCreateMongoDb.md +4 -0
  21. data/docs/DynamicSecretCreateMsSql.md +4 -0
  22. data/docs/DynamicSecretCreateMySql.md +4 -0
  23. data/docs/DynamicSecretCreateOracleDb.md +2 -0
  24. data/docs/DynamicSecretCreatePostgreSql.md +4 -0
  25. data/docs/DynamicSecretCreateRdp.md +2 -0
  26. data/docs/DynamicSecretCreateRedis.md +2 -0
  27. data/docs/DynamicSecretCreateRedshift.md +2 -0
  28. data/docs/DynamicSecretCreateSnowflake.md +6 -0
  29. data/docs/DynamicSecretUpdateArtifactory.md +2 -0
  30. data/docs/DynamicSecretUpdateAws.md +4 -0
  31. data/docs/DynamicSecretUpdateAzure.md +4 -0
  32. data/docs/DynamicSecretUpdateCassandra.md +2 -0
  33. data/docs/DynamicSecretUpdateChef.md +2 -0
  34. data/docs/DynamicSecretUpdateGcp.md +2 -0
  35. data/docs/DynamicSecretUpdateHanaDb.md +4 -0
  36. data/docs/DynamicSecretUpdateK8s.md +2 -0
  37. data/docs/DynamicSecretUpdateLdap.md +2 -0
  38. data/docs/DynamicSecretUpdateMongoDb.md +4 -0
  39. data/docs/DynamicSecretUpdateMsSql.md +4 -0
  40. data/docs/DynamicSecretUpdateMySql.md +4 -0
  41. data/docs/DynamicSecretUpdateOracleDb.md +2 -0
  42. data/docs/DynamicSecretUpdatePostgreSql.md +4 -0
  43. data/docs/DynamicSecretUpdateRdp.md +2 -0
  44. data/docs/DynamicSecretUpdateRedis.md +2 -0
  45. data/docs/DynamicSecretUpdateRedshift.md +2 -0
  46. data/docs/DynamicSecretUpdateSnowflake.md +6 -0
  47. data/docs/GatewayCreateProducerArtifactory.md +2 -0
  48. data/docs/GatewayCreateProducerAws.md +4 -0
  49. data/docs/GatewayCreateProducerAzure.md +4 -0
  50. data/docs/GatewayCreateProducerCassandra.md +2 -0
  51. data/docs/GatewayCreateProducerChef.md +2 -0
  52. data/docs/GatewayCreateProducerGcp.md +2 -0
  53. data/docs/GatewayCreateProducerHanaDb.md +4 -0
  54. data/docs/GatewayCreateProducerLdap.md +2 -0
  55. data/docs/GatewayCreateProducerMSSQL.md +4 -0
  56. data/docs/GatewayCreateProducerMongo.md +4 -0
  57. data/docs/GatewayCreateProducerMySQL.md +4 -0
  58. data/docs/GatewayCreateProducerNativeK8S.md +2 -0
  59. data/docs/GatewayCreateProducerOracleDb.md +2 -0
  60. data/docs/GatewayCreateProducerPostgreSQL.md +4 -0
  61. data/docs/GatewayCreateProducerRdp.md +2 -0
  62. data/docs/GatewayCreateProducerRedis.md +2 -0
  63. data/docs/GatewayCreateProducerRedshift.md +2 -0
  64. data/docs/GatewayCreateProducerSnowflake.md +6 -0
  65. data/docs/GatewayDetailsForItemReplyObj.md +2 -0
  66. data/docs/GatewayUpdateProducerArtifactory.md +2 -0
  67. data/docs/GatewayUpdateProducerAws.md +4 -0
  68. data/docs/GatewayUpdateProducerAzure.md +4 -0
  69. data/docs/GatewayUpdateProducerCassandra.md +2 -0
  70. data/docs/GatewayUpdateProducerChef.md +2 -0
  71. data/docs/GatewayUpdateProducerGcp.md +2 -0
  72. data/docs/GatewayUpdateProducerHanaDb.md +4 -0
  73. data/docs/GatewayUpdateProducerLdap.md +2 -0
  74. data/docs/GatewayUpdateProducerMSSQL.md +4 -0
  75. data/docs/GatewayUpdateProducerMongo.md +4 -0
  76. data/docs/GatewayUpdateProducerMySQL.md +4 -0
  77. data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
  78. data/docs/GatewayUpdateProducerOracleDb.md +2 -0
  79. data/docs/GatewayUpdateProducerPostgreSQL.md +4 -0
  80. data/docs/GatewayUpdateProducerRdp.md +2 -0
  81. data/docs/GatewayUpdateProducerRedis.md +2 -0
  82. data/docs/GatewayUpdateProducerRedshift.md +2 -0
  83. data/docs/GatewayUpdateProducerSnowflake.md +6 -0
  84. data/docs/GcpTargetDetails.md +2 -0
  85. data/docs/ItemUSCSyncAssociation.md +1 -1
  86. data/docs/ItemVersion.md +4 -0
  87. data/docs/ListItemsInPathOutput.md +2 -0
  88. data/docs/ListItemsOutput.md +2 -0
  89. data/docs/PKICertificateIssueDetails.md +2 -0
  90. data/docs/RotatedSecretCreateAws.md +5 -1
  91. data/docs/RotatedSecretCreateAzure.md +12 -0
  92. data/docs/RotatedSecretCreateCustom.md +11 -1
  93. data/docs/RotatedSecretCreateGcp.md +6 -0
  94. data/docs/RotatedSecretCreateSnowflake.md +6 -2
  95. data/docs/RotatedSecretDeleteSyncOutput.md +20 -0
  96. data/docs/RotatedSecretDetailsInfo.md +8 -0
  97. data/docs/RotatedSecretSync.md +2 -0
  98. data/docs/RotatedSecretUpdateAws.md +5 -1
  99. data/docs/RotatedSecretUpdateAzure.md +12 -0
  100. data/docs/RotatedSecretUpdateCustom.md +11 -1
  101. data/docs/RotatedSecretUpdateGcp.md +6 -0
  102. data/docs/RotatedSecretUpdateSnowflake.md +5 -1
  103. data/docs/SecretSyncOutput.md +22 -0
  104. data/docs/StaticSecretDeleteSync.md +26 -0
  105. data/docs/StaticSecretDeleteSyncOutput.md +20 -0
  106. data/docs/StaticSecretSync.md +30 -0
  107. data/docs/TargetCreateAws.md +4 -0
  108. data/docs/TargetItemVersion.md +4 -0
  109. data/docs/TargetUpdateAws.md +4 -0
  110. data/docs/UpdateAWSTarget.md +4 -0
  111. data/docs/UpdateAccountSettings.md +8 -0
  112. data/docs/UpdatePKICertIssuer.md +3 -1
  113. data/docs/UscCreate.md +2 -0
  114. data/docs/UscSyncInfo.md +26 -0
  115. data/docs/UscUpdate.md +2 -0
  116. data/docs/V2Api.md +130 -4
  117. data/lib/akeyless/api/v2_api.rb +131 -3
  118. data/lib/akeyless/models/account_general_settings.rb +28 -1
  119. data/lib/akeyless/models/aws_gateway_cloud_identity_external_id_opt.rb +232 -0
  120. data/lib/akeyless/models/aws_target_details.rb +10 -1
  121. data/lib/akeyless/models/azure_target_details.rb +10 -1
  122. data/lib/akeyless/models/certificate_expiration_events_settings.rb +226 -0
  123. data/lib/akeyless/models/create_aws_target.rb +21 -1
  124. data/lib/akeyless/models/create_pki_cert_issuer.rb +12 -2
  125. data/lib/akeyless/models/ds_producer_details.rb +64 -1
  126. data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +11 -1
  127. data/lib/akeyless/models/dynamic_secret_create_aws.rb +21 -1
  128. data/lib/akeyless/models/dynamic_secret_create_azure.rb +21 -1
  129. data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +11 -1
  130. data/lib/akeyless/models/dynamic_secret_create_chef.rb +11 -1
  131. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +11 -1
  132. data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +21 -1
  133. data/lib/akeyless/models/dynamic_secret_create_k8s.rb +11 -1
  134. data/lib/akeyless/models/dynamic_secret_create_ldap.rb +11 -1
  135. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +21 -1
  136. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +21 -1
  137. data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +21 -1
  138. data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +11 -1
  139. data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +21 -1
  140. data/lib/akeyless/models/dynamic_secret_create_rdp.rb +11 -1
  141. data/lib/akeyless/models/dynamic_secret_create_redis.rb +11 -1
  142. data/lib/akeyless/models/dynamic_secret_create_redshift.rb +11 -1
  143. data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +32 -1
  144. data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +11 -1
  145. data/lib/akeyless/models/dynamic_secret_update_aws.rb +21 -1
  146. data/lib/akeyless/models/dynamic_secret_update_azure.rb +21 -1
  147. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +11 -1
  148. data/lib/akeyless/models/dynamic_secret_update_chef.rb +11 -1
  149. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +11 -1
  150. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +21 -1
  151. data/lib/akeyless/models/dynamic_secret_update_k8s.rb +11 -1
  152. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +11 -1
  153. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +21 -1
  154. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +21 -1
  155. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +21 -1
  156. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +11 -1
  157. data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +21 -1
  158. data/lib/akeyless/models/dynamic_secret_update_rdp.rb +11 -1
  159. data/lib/akeyless/models/dynamic_secret_update_redis.rb +11 -1
  160. data/lib/akeyless/models/dynamic_secret_update_redshift.rb +11 -1
  161. data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +32 -1
  162. data/lib/akeyless/models/gateway_create_producer_artifactory.rb +11 -1
  163. data/lib/akeyless/models/gateway_create_producer_aws.rb +21 -1
  164. data/lib/akeyless/models/gateway_create_producer_azure.rb +21 -1
  165. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +11 -1
  166. data/lib/akeyless/models/gateway_create_producer_chef.rb +11 -1
  167. data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
  168. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +21 -1
  169. data/lib/akeyless/models/gateway_create_producer_ldap.rb +11 -1
  170. data/lib/akeyless/models/gateway_create_producer_mongo.rb +21 -1
  171. data/lib/akeyless/models/gateway_create_producer_mssql.rb +21 -1
  172. data/lib/akeyless/models/gateway_create_producer_my_sql.rb +21 -1
  173. data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +11 -1
  174. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +11 -1
  175. data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +21 -1
  176. data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
  177. data/lib/akeyless/models/gateway_create_producer_redis.rb +11 -1
  178. data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
  179. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +32 -1
  180. data/lib/akeyless/models/gateway_details_for_item_reply_obj.rb +10 -1
  181. data/lib/akeyless/models/gateway_update_producer_artifactory.rb +11 -1
  182. data/lib/akeyless/models/gateway_update_producer_aws.rb +21 -1
  183. data/lib/akeyless/models/gateway_update_producer_azure.rb +21 -1
  184. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +11 -1
  185. data/lib/akeyless/models/gateway_update_producer_chef.rb +11 -1
  186. data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
  187. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +21 -1
  188. data/lib/akeyless/models/gateway_update_producer_ldap.rb +11 -1
  189. data/lib/akeyless/models/gateway_update_producer_mongo.rb +21 -1
  190. data/lib/akeyless/models/gateway_update_producer_mssql.rb +21 -1
  191. data/lib/akeyless/models/gateway_update_producer_my_sql.rb +21 -1
  192. data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +11 -1
  193. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +11 -1
  194. data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +21 -1
  195. data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
  196. data/lib/akeyless/models/gateway_update_producer_redis.rb +11 -1
  197. data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
  198. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +32 -1
  199. data/lib/akeyless/models/gcp_target_details.rb +10 -1
  200. data/lib/akeyless/models/item_usc_sync_association.rb +1 -1
  201. data/lib/akeyless/models/item_version.rb +19 -1
  202. data/lib/akeyless/models/list_items_in_path_output.rb +10 -1
  203. data/lib/akeyless/models/list_items_output.rb +10 -1
  204. data/lib/akeyless/models/pki_certificate_issue_details.rb +10 -1
  205. data/lib/akeyless/models/rotated_secret_create_aws.rb +22 -2
  206. data/lib/akeyless/models/rotated_secret_create_azure.rb +63 -1
  207. data/lib/akeyless/models/rotated_secret_create_custom.rb +54 -4
  208. data/lib/akeyless/models/rotated_secret_create_gcp.rb +31 -1
  209. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +23 -3
  210. data/lib/akeyless/models/rotated_secret_delete_sync_output.rb +223 -0
  211. data/lib/akeyless/models/rotated_secret_details_info.rb +37 -1
  212. data/lib/akeyless/models/rotated_secret_sync.rb +11 -1
  213. data/lib/akeyless/models/rotated_secret_update_aws.rb +22 -2
  214. data/lib/akeyless/models/rotated_secret_update_azure.rb +63 -1
  215. data/lib/akeyless/models/rotated_secret_update_custom.rb +54 -4
  216. data/lib/akeyless/models/rotated_secret_update_gcp.rb +31 -1
  217. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +22 -2
  218. data/lib/akeyless/models/secret_sync_output.rb +232 -0
  219. data/lib/akeyless/models/static_secret_delete_sync.rb +271 -0
  220. data/lib/akeyless/models/static_secret_delete_sync_output.rb +223 -0
  221. data/lib/akeyless/models/static_secret_sync.rb +284 -0
  222. data/lib/akeyless/models/target_create_aws.rb +21 -1
  223. data/lib/akeyless/models/target_item_version.rb +19 -1
  224. data/lib/akeyless/models/target_update_aws.rb +21 -1
  225. data/lib/akeyless/models/update_account_settings.rb +43 -1
  226. data/lib/akeyless/models/update_aws_target.rb +21 -1
  227. data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
  228. data/lib/akeyless/models/usc_create.rb +11 -1
  229. data/lib/akeyless/models/usc_sync_info.rb +250 -0
  230. data/lib/akeyless/models/usc_update.rb +11 -1
  231. data/lib/akeyless/version.rb +1 -1
  232. data/lib/akeyless.rb +8 -1
  233. data/spec/models/aws_gateway_cloud_identity_external_id_opt_spec.rb +48 -0
  234. data/spec/models/certificate_expiration_events_settings_spec.rb +42 -0
  235. data/spec/models/rotated_secret_delete_sync_output_spec.rb +42 -0
  236. data/spec/models/secret_sync_output_spec.rb +48 -0
  237. data/spec/models/static_secret_delete_sync_output_spec.rb +42 -0
  238. data/spec/models/static_secret_delete_sync_spec.rb +60 -0
  239. data/spec/models/static_secret_sync_spec.rb +72 -0
  240. data/spec/models/usc_sync_info_spec.rb +60 -0
  241. metadata +1089 -1057
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Azure App Object Id
20
20
  attr_accessor :app_obj_id
21
21
 
22
+ # Azure AD administrative unit (relevant only when azure-user-portal-access=true)
23
+ attr_accessor :azure_administrative_unit
24
+
22
25
  # Azure Client ID
23
26
  attr_accessor :azure_client_id
24
27
 
@@ -28,6 +31,9 @@ module Akeyless
28
31
  # Azure Tenant ID
29
32
  attr_accessor :azure_tenant_id
30
33
 
34
+ # Customize how temporary usernames are generated using go template
35
+ attr_accessor :custom_username_template
36
+
31
37
  # Protection from accidental deletion of this object [true/false]
32
38
  attr_accessor :delete_protection
33
39
 
@@ -101,9 +107,11 @@ module Akeyless
101
107
  def self.attribute_map
102
108
  {
103
109
  :'app_obj_id' => :'app-obj-id',
110
+ :'azure_administrative_unit' => :'azure-administrative-unit',
104
111
  :'azure_client_id' => :'azure-client-id',
105
112
  :'azure_client_secret' => :'azure-client-secret',
106
113
  :'azure_tenant_id' => :'azure-tenant-id',
114
+ :'custom_username_template' => :'custom-username-template',
107
115
  :'delete_protection' => :'delete_protection',
108
116
  :'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
109
117
  :'fixed_user_only' => :'fixed-user-only',
@@ -139,9 +147,11 @@ module Akeyless
139
147
  def self.openapi_types
140
148
  {
141
149
  :'app_obj_id' => :'String',
150
+ :'azure_administrative_unit' => :'String',
142
151
  :'azure_client_id' => :'String',
143
152
  :'azure_client_secret' => :'String',
144
153
  :'azure_tenant_id' => :'String',
154
+ :'custom_username_template' => :'String',
145
155
  :'delete_protection' => :'String',
146
156
  :'fixed_user_claim_keyname' => :'String',
147
157
  :'fixed_user_only' => :'Boolean',
@@ -193,6 +203,10 @@ module Akeyless
193
203
  self.app_obj_id = attributes[:'app_obj_id']
194
204
  end
195
205
 
206
+ if attributes.key?(:'azure_administrative_unit')
207
+ self.azure_administrative_unit = attributes[:'azure_administrative_unit']
208
+ end
209
+
196
210
  if attributes.key?(:'azure_client_id')
197
211
  self.azure_client_id = attributes[:'azure_client_id']
198
212
  end
@@ -205,6 +219,10 @@ module Akeyless
205
219
  self.azure_tenant_id = attributes[:'azure_tenant_id']
206
220
  end
207
221
 
222
+ if attributes.key?(:'custom_username_template')
223
+ self.custom_username_template = attributes[:'custom_username_template']
224
+ end
225
+
208
226
  if attributes.key?(:'delete_protection')
209
227
  self.delete_protection = attributes[:'delete_protection']
210
228
  end
@@ -346,9 +364,11 @@ module Akeyless
346
364
  return true if self.equal?(o)
347
365
  self.class == o.class &&
348
366
  app_obj_id == o.app_obj_id &&
367
+ azure_administrative_unit == o.azure_administrative_unit &&
349
368
  azure_client_id == o.azure_client_id &&
350
369
  azure_client_secret == o.azure_client_secret &&
351
370
  azure_tenant_id == o.azure_tenant_id &&
371
+ custom_username_template == o.custom_username_template &&
352
372
  delete_protection == o.delete_protection &&
353
373
  fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
354
374
  fixed_user_only == o.fixed_user_only &&
@@ -383,7 +403,7 @@ module Akeyless
383
403
  # Calculates hash code according to all attributes.
384
404
  # @return [Integer] Hash code
385
405
  def hash
386
- [app_obj_id, azure_client_id, azure_client_secret, azure_tenant_id, delete_protection, fixed_user_claim_keyname, fixed_user_only, json, name, new_name, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
406
+ [app_obj_id, azure_administrative_unit, azure_client_id, azure_client_secret, azure_tenant_id, custom_username_template, delete_protection, fixed_user_claim_keyname, fixed_user_only, json, name, new_name, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
387
407
  end
388
408
 
389
409
  # Builds the object from hash
@@ -31,6 +31,9 @@ module Akeyless
31
31
  # Cassandra superuser username
32
32
  attr_accessor :cassandra_username
33
33
 
34
+ # Customize how temporary usernames are generated using go template
35
+ attr_accessor :custom_username_template
36
+
34
37
  # Protection from accidental deletion of this object [true/false]
35
38
  attr_accessor :delete_protection
36
39
 
@@ -78,6 +81,7 @@ module Akeyless
78
81
  :'cassandra_password' => :'cassandra-password',
79
82
  :'cassandra_port' => :'cassandra-port',
80
83
  :'cassandra_username' => :'cassandra-username',
84
+ :'custom_username_template' => :'custom-username-template',
81
85
  :'delete_protection' => :'delete_protection',
82
86
  :'json' => :'json',
83
87
  :'name' => :'name',
@@ -107,6 +111,7 @@ module Akeyless
107
111
  :'cassandra_password' => :'String',
108
112
  :'cassandra_port' => :'String',
109
113
  :'cassandra_username' => :'String',
114
+ :'custom_username_template' => :'String',
110
115
  :'delete_protection' => :'String',
111
116
  :'json' => :'Boolean',
112
117
  :'name' => :'String',
@@ -166,6 +171,10 @@ module Akeyless
166
171
  self.cassandra_username = attributes[:'cassandra_username']
167
172
  end
168
173
 
174
+ if attributes.key?(:'custom_username_template')
175
+ self.custom_username_template = attributes[:'custom_username_template']
176
+ end
177
+
169
178
  if attributes.key?(:'delete_protection')
170
179
  self.delete_protection = attributes[:'delete_protection']
171
180
  end
@@ -259,6 +268,7 @@ module Akeyless
259
268
  cassandra_password == o.cassandra_password &&
260
269
  cassandra_port == o.cassandra_port &&
261
270
  cassandra_username == o.cassandra_username &&
271
+ custom_username_template == o.custom_username_template &&
262
272
  delete_protection == o.delete_protection &&
263
273
  json == o.json &&
264
274
  name == o.name &&
@@ -283,7 +293,7 @@ module Akeyless
283
293
  # Calculates hash code according to all attributes.
284
294
  # @return [Integer] Hash code
285
295
  def hash
286
- [cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, new_name, password_length, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
296
+ [cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, custom_username_template, delete_protection, json, name, new_name, password_length, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
287
297
  end
288
298
 
289
299
  # Builds the object from hash
@@ -28,6 +28,9 @@ module Akeyless
28
28
  # Server username
29
29
  attr_accessor :chef_server_username
30
30
 
31
+ # Customize how temporary usernames are generated using go template
32
+ attr_accessor :custom_username_template
33
+
31
34
  # Protection from accidental deletion of this object [true/false]
32
35
  attr_accessor :delete_protection
33
36
 
@@ -71,6 +74,7 @@ module Akeyless
71
74
  :'chef_server_key' => :'chef-server-key',
72
75
  :'chef_server_url' => :'chef-server-url',
73
76
  :'chef_server_username' => :'chef-server-username',
77
+ :'custom_username_template' => :'custom-username-template',
74
78
  :'delete_protection' => :'delete_protection',
75
79
  :'json' => :'json',
76
80
  :'name' => :'name',
@@ -98,6 +102,7 @@ module Akeyless
98
102
  :'chef_server_key' => :'String',
99
103
  :'chef_server_url' => :'String',
100
104
  :'chef_server_username' => :'String',
105
+ :'custom_username_template' => :'String',
101
106
  :'delete_protection' => :'String',
102
107
  :'json' => :'Boolean',
103
108
  :'name' => :'String',
@@ -150,6 +155,10 @@ module Akeyless
150
155
  self.chef_server_username = attributes[:'chef_server_username']
151
156
  end
152
157
 
158
+ if attributes.key?(:'custom_username_template')
159
+ self.custom_username_template = attributes[:'custom_username_template']
160
+ end
161
+
153
162
  if attributes.key?(:'delete_protection')
154
163
  self.delete_protection = attributes[:'delete_protection']
155
164
  end
@@ -238,6 +247,7 @@ module Akeyless
238
247
  chef_server_key == o.chef_server_key &&
239
248
  chef_server_url == o.chef_server_url &&
240
249
  chef_server_username == o.chef_server_username &&
250
+ custom_username_template == o.custom_username_template &&
241
251
  delete_protection == o.delete_protection &&
242
252
  json == o.json &&
243
253
  name == o.name &&
@@ -261,7 +271,7 @@ module Akeyless
261
271
  # Calculates hash code according to all attributes.
262
272
  # @return [Integer] Hash code
263
273
  def hash
264
- [chef_orgs, chef_server_key, chef_server_url, chef_server_username, delete_protection, json, name, new_name, password_length, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
274
+ [chef_orgs, chef_server_key, chef_server_url, chef_server_username, custom_username_template, delete_protection, json, name, new_name, password_length, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
265
275
  end
266
276
 
267
277
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayUpdateProducerGcp is a command that updates a GCP producer [Deprecated: Use dynamic-secret-update-gcp command]
18
18
  class GatewayUpdateProducerGcp
19
+ # Customize how temporary usernames are generated using go template
20
+ attr_accessor :custom_username_template
21
+
19
22
  # Protection from accidental deletion of this object [true/false]
20
23
  attr_accessor :delete_protection
21
24
 
@@ -69,6 +72,7 @@ module Akeyless
69
72
  # Attribute mapping from ruby-style variable name to JSON key.
70
73
  def self.attribute_map
71
74
  {
75
+ :'custom_username_template' => :'custom-username-template',
72
76
  :'delete_protection' => :'delete_protection',
73
77
  :'gcp_cred_type' => :'gcp-cred-type',
74
78
  :'gcp_key' => :'gcp-key',
@@ -97,6 +101,7 @@ module Akeyless
97
101
  # Attribute type mapping.
98
102
  def self.openapi_types
99
103
  {
104
+ :'custom_username_template' => :'String',
100
105
  :'delete_protection' => :'String',
101
106
  :'gcp_cred_type' => :'String',
102
107
  :'gcp_key' => :'String',
@@ -138,6 +143,10 @@ module Akeyless
138
143
  h[k.to_sym] = v
139
144
  }
140
145
 
146
+ if attributes.key?(:'custom_username_template')
147
+ self.custom_username_template = attributes[:'custom_username_template']
148
+ end
149
+
141
150
  if attributes.key?(:'delete_protection')
142
151
  self.delete_protection = attributes[:'delete_protection']
143
152
  end
@@ -247,6 +256,7 @@ module Akeyless
247
256
  def ==(o)
248
257
  return true if self.equal?(o)
249
258
  self.class == o.class &&
259
+ custom_username_template == o.custom_username_template &&
250
260
  delete_protection == o.delete_protection &&
251
261
  gcp_cred_type == o.gcp_cred_type &&
252
262
  gcp_key == o.gcp_key &&
@@ -275,7 +285,7 @@ module Akeyless
275
285
  # Calculates hash code according to all attributes.
276
286
  # @return [Integer] Hash code
277
287
  def hash
278
- [delete_protection, gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, json, name, new_name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
288
+ [custom_username_template, delete_protection, gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, json, name, new_name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
279
289
  end
280
290
 
281
291
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayUpdateProducerHanaDb is a command that updates hanadb producer [Deprecated: Use dynamic-secret-update-hanadb command]
18
18
  class GatewayUpdateProducerHanaDb
19
+ # Customize how temporary usernames are generated using go template
20
+ attr_accessor :custom_username_template
21
+
19
22
  # Protection from accidental deletion of this object [true/false]
20
23
  attr_accessor :delete_protection
21
24
 
@@ -61,6 +64,9 @@ module Akeyless
61
64
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
62
65
  attr_accessor :secure_access_certificate_issuer
63
66
 
67
+ # The DB name (relevant only for DB Dynamic-Secret)
68
+ attr_accessor :secure_access_db_name
69
+
64
70
  # The DB schema
65
71
  attr_accessor :secure_access_db_schema
66
72
 
@@ -91,6 +97,7 @@ module Akeyless
91
97
  # Attribute mapping from ruby-style variable name to JSON key.
92
98
  def self.attribute_map
93
99
  {
100
+ :'custom_username_template' => :'custom-username-template',
94
101
  :'delete_protection' => :'delete_protection',
95
102
  :'hana_dbname' => :'hana-dbname',
96
103
  :'hanadb_create_statements' => :'hanadb-create-statements',
@@ -106,6 +113,7 @@ module Akeyless
106
113
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
107
114
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
108
115
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
116
+ :'secure_access_db_name' => :'secure-access-db-name',
109
117
  :'secure_access_db_schema' => :'secure-access-db-schema',
110
118
  :'secure_access_enable' => :'secure-access-enable',
111
119
  :'secure_access_host' => :'secure-access-host',
@@ -126,6 +134,7 @@ module Akeyless
126
134
  # Attribute type mapping.
127
135
  def self.openapi_types
128
136
  {
137
+ :'custom_username_template' => :'String',
129
138
  :'delete_protection' => :'String',
130
139
  :'hana_dbname' => :'String',
131
140
  :'hanadb_create_statements' => :'String',
@@ -141,6 +150,7 @@ module Akeyless
141
150
  :'producer_encryption_key_name' => :'String',
142
151
  :'secure_access_bastion_issuer' => :'String',
143
152
  :'secure_access_certificate_issuer' => :'String',
153
+ :'secure_access_db_name' => :'String',
144
154
  :'secure_access_db_schema' => :'String',
145
155
  :'secure_access_enable' => :'String',
146
156
  :'secure_access_host' => :'Array<String>',
@@ -174,6 +184,10 @@ module Akeyless
174
184
  h[k.to_sym] = v
175
185
  }
176
186
 
187
+ if attributes.key?(:'custom_username_template')
188
+ self.custom_username_template = attributes[:'custom_username_template']
189
+ end
190
+
177
191
  if attributes.key?(:'delete_protection')
178
192
  self.delete_protection = attributes[:'delete_protection']
179
193
  end
@@ -242,6 +256,10 @@ module Akeyless
242
256
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
243
257
  end
244
258
 
259
+ if attributes.key?(:'secure_access_db_name')
260
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
261
+ end
262
+
245
263
  if attributes.key?(:'secure_access_db_schema')
246
264
  self.secure_access_db_schema = attributes[:'secure_access_db_schema']
247
265
  end
@@ -312,6 +330,7 @@ module Akeyless
312
330
  def ==(o)
313
331
  return true if self.equal?(o)
314
332
  self.class == o.class &&
333
+ custom_username_template == o.custom_username_template &&
315
334
  delete_protection == o.delete_protection &&
316
335
  hana_dbname == o.hana_dbname &&
317
336
  hanadb_create_statements == o.hanadb_create_statements &&
@@ -327,6 +346,7 @@ module Akeyless
327
346
  producer_encryption_key_name == o.producer_encryption_key_name &&
328
347
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
329
348
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
349
+ secure_access_db_name == o.secure_access_db_name &&
330
350
  secure_access_db_schema == o.secure_access_db_schema &&
331
351
  secure_access_enable == o.secure_access_enable &&
332
352
  secure_access_host == o.secure_access_host &&
@@ -347,7 +367,7 @@ module Akeyless
347
367
  # Calculates hash code according to all attributes.
348
368
  # @return [Integer] Hash code
349
369
  def hash
350
- [delete_protection, hana_dbname, hanadb_create_statements, hanadb_host, hanadb_password, hanadb_port, hanadb_revocation_statements, hanadb_username, json, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
370
+ [custom_username_template, delete_protection, hana_dbname, hanadb_create_statements, hanadb_host, hanadb_password, hanadb_port, hanadb_revocation_statements, hanadb_username, json, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
351
371
  end
352
372
 
353
373
  # Builds the object from hash
@@ -24,6 +24,9 @@ module Akeyless
24
24
  # Bind DN Password
25
25
  attr_accessor :bind_dn_password
26
26
 
27
+ # Customize how temporary usernames are generated using go template
28
+ attr_accessor :custom_username_template
29
+
27
30
  # Protection from accidental deletion of this object [true/false]
28
31
  attr_accessor :delete_protection
29
32
 
@@ -114,6 +117,7 @@ module Akeyless
114
117
  :'provider_type' => :'ProviderType',
115
118
  :'bind_dn' => :'bind-dn',
116
119
  :'bind_dn_password' => :'bind-dn-password',
120
+ :'custom_username_template' => :'custom-username-template',
117
121
  :'delete_protection' => :'delete_protection',
118
122
  :'external_username' => :'external-username',
119
123
  :'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
@@ -156,6 +160,7 @@ module Akeyless
156
160
  :'provider_type' => :'String',
157
161
  :'bind_dn' => :'String',
158
162
  :'bind_dn_password' => :'String',
163
+ :'custom_username_template' => :'String',
159
164
  :'delete_protection' => :'String',
160
165
  :'external_username' => :'String',
161
166
  :'fixed_user_claim_keyname' => :'String',
@@ -220,6 +225,10 @@ module Akeyless
220
225
  self.bind_dn_password = attributes[:'bind_dn_password']
221
226
  end
222
227
 
228
+ if attributes.key?(:'custom_username_template')
229
+ self.custom_username_template = attributes[:'custom_username_template']
230
+ end
231
+
223
232
  if attributes.key?(:'delete_protection')
224
233
  self.delete_protection = attributes[:'delete_protection']
225
234
  end
@@ -377,6 +386,7 @@ module Akeyless
377
386
  provider_type == o.provider_type &&
378
387
  bind_dn == o.bind_dn &&
379
388
  bind_dn_password == o.bind_dn_password &&
389
+ custom_username_template == o.custom_username_template &&
380
390
  delete_protection == o.delete_protection &&
381
391
  external_username == o.external_username &&
382
392
  fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
@@ -416,7 +426,7 @@ module Akeyless
416
426
  # Calculates hash code according to all attributes.
417
427
  # @return [Integer] Hash code
418
428
  def hash
419
- [provider_type, bind_dn, bind_dn_password, delete_protection, external_username, fixed_user_claim_keyname, group_dn, host_provider, json, ldap_ca_cert, ldap_url, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, tags, target, target_name, token, token_expiration, uid_token, user_attribute, user_dn, user_ttl].hash
429
+ [provider_type, bind_dn, bind_dn_password, custom_username_template, delete_protection, external_username, fixed_user_claim_keyname, group_dn, host_provider, json, ldap_ca_cert, ldap_url, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, tags, target, target_name, token, token_expiration, uid_token, user_attribute, user_dn, user_ttl].hash
420
430
  end
421
431
 
422
432
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayUpdateProducerMongo is a command that updates either mongodb producer or mongodb atlas producer [Deprecated: Use dynamic-secret-update-mongodb command]
18
18
  class GatewayUpdateProducerMongo
19
+ # Customize how temporary usernames are generated using go template
20
+ attr_accessor :custom_username_template
21
+
19
22
  # Protection from accidental deletion of this object [true/false]
20
23
  attr_accessor :delete_protection
21
24
 
@@ -76,6 +79,9 @@ module Akeyless
76
79
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
77
80
  attr_accessor :secure_access_certificate_issuer
78
81
 
82
+ # The DB name (relevant only for DB Dynamic-Secret)
83
+ attr_accessor :secure_access_db_name
84
+
79
85
  # The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
80
86
  attr_accessor :secure_access_delay
81
87
 
@@ -106,6 +112,7 @@ module Akeyless
106
112
  # Attribute mapping from ruby-style variable name to JSON key.
107
113
  def self.attribute_map
108
114
  {
115
+ :'custom_username_template' => :'custom-username-template',
109
116
  :'delete_protection' => :'delete_protection',
110
117
  :'json' => :'json',
111
118
  :'mongodb_atlas_api_private_key' => :'mongodb-atlas-api-private-key',
@@ -126,6 +133,7 @@ module Akeyless
126
133
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
127
134
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
128
135
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
136
+ :'secure_access_db_name' => :'secure-access-db-name',
129
137
  :'secure_access_delay' => :'secure-access-delay',
130
138
  :'secure_access_enable' => :'secure-access-enable',
131
139
  :'secure_access_host' => :'secure-access-host',
@@ -146,6 +154,7 @@ module Akeyless
146
154
  # Attribute type mapping.
147
155
  def self.openapi_types
148
156
  {
157
+ :'custom_username_template' => :'String',
149
158
  :'delete_protection' => :'String',
150
159
  :'json' => :'Boolean',
151
160
  :'mongodb_atlas_api_private_key' => :'String',
@@ -166,6 +175,7 @@ module Akeyless
166
175
  :'producer_encryption_key_name' => :'String',
167
176
  :'secure_access_bastion_issuer' => :'String',
168
177
  :'secure_access_certificate_issuer' => :'String',
178
+ :'secure_access_db_name' => :'String',
169
179
  :'secure_access_delay' => :'Integer',
170
180
  :'secure_access_enable' => :'String',
171
181
  :'secure_access_host' => :'Array<String>',
@@ -199,6 +209,10 @@ module Akeyless
199
209
  h[k.to_sym] = v
200
210
  }
201
211
 
212
+ if attributes.key?(:'custom_username_template')
213
+ self.custom_username_template = attributes[:'custom_username_template']
214
+ end
215
+
202
216
  if attributes.key?(:'delete_protection')
203
217
  self.delete_protection = attributes[:'delete_protection']
204
218
  end
@@ -285,6 +299,10 @@ module Akeyless
285
299
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
286
300
  end
287
301
 
302
+ if attributes.key?(:'secure_access_db_name')
303
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
304
+ end
305
+
288
306
  if attributes.key?(:'secure_access_delay')
289
307
  self.secure_access_delay = attributes[:'secure_access_delay']
290
308
  end
@@ -355,6 +373,7 @@ module Akeyless
355
373
  def ==(o)
356
374
  return true if self.equal?(o)
357
375
  self.class == o.class &&
376
+ custom_username_template == o.custom_username_template &&
358
377
  delete_protection == o.delete_protection &&
359
378
  json == o.json &&
360
379
  mongodb_atlas_api_private_key == o.mongodb_atlas_api_private_key &&
@@ -375,6 +394,7 @@ module Akeyless
375
394
  producer_encryption_key_name == o.producer_encryption_key_name &&
376
395
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
377
396
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
397
+ secure_access_db_name == o.secure_access_db_name &&
378
398
  secure_access_delay == o.secure_access_delay &&
379
399
  secure_access_enable == o.secure_access_enable &&
380
400
  secure_access_host == o.secure_access_host &&
@@ -395,7 +415,7 @@ module Akeyless
395
415
  # Calculates hash code according to all attributes.
396
416
  # @return [Integer] Hash code
397
417
  def hash
398
- [delete_protection, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
418
+ [custom_username_template, delete_protection, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
399
419
  end
400
420
 
401
421
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayUpdateProducerMSSQL is a command that updates mssql producer [Deprecated: Use dynamic-secret-update-mssql command]
18
18
  class GatewayUpdateProducerMSSQL
19
+ # Customize how temporary usernames are generated using go template
20
+ attr_accessor :custom_username_template
21
+
19
22
  # Protection from accidental deletion of this object [true/false]
20
23
  attr_accessor :delete_protection
21
24
 
@@ -61,6 +64,9 @@ module Akeyless
61
64
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
62
65
  attr_accessor :secure_access_certificate_issuer
63
66
 
67
+ # The DB name (relevant only for DB Dynamic-Secret)
68
+ attr_accessor :secure_access_db_name
69
+
64
70
  # The DB schema
65
71
  attr_accessor :secure_access_db_schema
66
72
 
@@ -94,6 +100,7 @@ module Akeyless
94
100
  # Attribute mapping from ruby-style variable name to JSON key.
95
101
  def self.attribute_map
96
102
  {
103
+ :'custom_username_template' => :'custom-username-template',
97
104
  :'delete_protection' => :'delete_protection',
98
105
  :'json' => :'json',
99
106
  :'mssql_create_statements' => :'mssql-create-statements',
@@ -109,6 +116,7 @@ module Akeyless
109
116
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
110
117
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
111
118
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
119
+ :'secure_access_db_name' => :'secure-access-db-name',
112
120
  :'secure_access_db_schema' => :'secure-access-db-schema',
113
121
  :'secure_access_delay' => :'secure-access-delay',
114
122
  :'secure_access_enable' => :'secure-access-enable',
@@ -130,6 +138,7 @@ module Akeyless
130
138
  # Attribute type mapping.
131
139
  def self.openapi_types
132
140
  {
141
+ :'custom_username_template' => :'String',
133
142
  :'delete_protection' => :'String',
134
143
  :'json' => :'Boolean',
135
144
  :'mssql_create_statements' => :'String',
@@ -145,6 +154,7 @@ module Akeyless
145
154
  :'producer_encryption_key_name' => :'String',
146
155
  :'secure_access_bastion_issuer' => :'String',
147
156
  :'secure_access_certificate_issuer' => :'String',
157
+ :'secure_access_db_name' => :'String',
148
158
  :'secure_access_db_schema' => :'String',
149
159
  :'secure_access_delay' => :'Integer',
150
160
  :'secure_access_enable' => :'String',
@@ -179,6 +189,10 @@ module Akeyless
179
189
  h[k.to_sym] = v
180
190
  }
181
191
 
192
+ if attributes.key?(:'custom_username_template')
193
+ self.custom_username_template = attributes[:'custom_username_template']
194
+ end
195
+
182
196
  if attributes.key?(:'delete_protection')
183
197
  self.delete_protection = attributes[:'delete_protection']
184
198
  end
@@ -247,6 +261,10 @@ module Akeyless
247
261
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
248
262
  end
249
263
 
264
+ if attributes.key?(:'secure_access_db_name')
265
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
266
+ end
267
+
250
268
  if attributes.key?(:'secure_access_db_schema')
251
269
  self.secure_access_db_schema = attributes[:'secure_access_db_schema']
252
270
  end
@@ -321,6 +339,7 @@ module Akeyless
321
339
  def ==(o)
322
340
  return true if self.equal?(o)
323
341
  self.class == o.class &&
342
+ custom_username_template == o.custom_username_template &&
324
343
  delete_protection == o.delete_protection &&
325
344
  json == o.json &&
326
345
  mssql_create_statements == o.mssql_create_statements &&
@@ -336,6 +355,7 @@ module Akeyless
336
355
  producer_encryption_key_name == o.producer_encryption_key_name &&
337
356
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
338
357
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
358
+ secure_access_db_name == o.secure_access_db_name &&
339
359
  secure_access_db_schema == o.secure_access_db_schema &&
340
360
  secure_access_delay == o.secure_access_delay &&
341
361
  secure_access_enable == o.secure_access_enable &&
@@ -357,7 +377,7 @@ module Akeyless
357
377
  # Calculates hash code according to all attributes.
358
378
  # @return [Integer] Hash code
359
379
  def hash
360
- [delete_protection, json, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
380
+ [custom_username_template, delete_protection, json, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
361
381
  end
362
382
 
363
383
  # Builds the object from hash