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
@@ -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
 
@@ -81,6 +84,7 @@ module Akeyless
81
84
  :'cassandra_password' => :'cassandra-password',
82
85
  :'cassandra_port' => :'cassandra-port',
83
86
  :'cassandra_username' => :'cassandra-username',
87
+ :'custom_username_template' => :'custom-username-template',
84
88
  :'delete_protection' => :'delete_protection',
85
89
  :'description' => :'description',
86
90
  :'json' => :'json',
@@ -111,6 +115,7 @@ module Akeyless
111
115
  :'cassandra_password' => :'String',
112
116
  :'cassandra_port' => :'String',
113
117
  :'cassandra_username' => :'String',
118
+ :'custom_username_template' => :'String',
114
119
  :'delete_protection' => :'String',
115
120
  :'description' => :'String',
116
121
  :'json' => :'Boolean',
@@ -171,6 +176,10 @@ module Akeyless
171
176
  self.cassandra_username = attributes[:'cassandra_username']
172
177
  end
173
178
 
179
+ if attributes.key?(:'custom_username_template')
180
+ self.custom_username_template = attributes[:'custom_username_template']
181
+ end
182
+
174
183
  if attributes.key?(:'delete_protection')
175
184
  self.delete_protection = attributes[:'delete_protection']
176
185
  end
@@ -268,6 +277,7 @@ module Akeyless
268
277
  cassandra_password == o.cassandra_password &&
269
278
  cassandra_port == o.cassandra_port &&
270
279
  cassandra_username == o.cassandra_username &&
280
+ custom_username_template == o.custom_username_template &&
271
281
  delete_protection == o.delete_protection &&
272
282
  description == o.description &&
273
283
  json == o.json &&
@@ -293,7 +303,7 @@ module Akeyless
293
303
  # Calculates hash code according to all attributes.
294
304
  # @return [Integer] Hash code
295
305
  def hash
296
- [cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, description, json, name, new_name, password_length, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
306
+ [cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, custom_username_template, delete_protection, description, json, name, new_name, password_length, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
297
307
  end
298
308
 
299
309
  # 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
 
@@ -74,6 +77,7 @@ module Akeyless
74
77
  :'chef_server_key' => :'chef-server-key',
75
78
  :'chef_server_url' => :'chef-server-url',
76
79
  :'chef_server_username' => :'chef-server-username',
80
+ :'custom_username_template' => :'custom-username-template',
77
81
  :'delete_protection' => :'delete_protection',
78
82
  :'description' => :'description',
79
83
  :'json' => :'json',
@@ -102,6 +106,7 @@ module Akeyless
102
106
  :'chef_server_key' => :'String',
103
107
  :'chef_server_url' => :'String',
104
108
  :'chef_server_username' => :'String',
109
+ :'custom_username_template' => :'String',
105
110
  :'delete_protection' => :'String',
106
111
  :'description' => :'String',
107
112
  :'json' => :'Boolean',
@@ -155,6 +160,10 @@ module Akeyless
155
160
  self.chef_server_username = attributes[:'chef_server_username']
156
161
  end
157
162
 
163
+ if attributes.key?(:'custom_username_template')
164
+ self.custom_username_template = attributes[:'custom_username_template']
165
+ end
166
+
158
167
  if attributes.key?(:'delete_protection')
159
168
  self.delete_protection = attributes[:'delete_protection']
160
169
  end
@@ -247,6 +256,7 @@ module Akeyless
247
256
  chef_server_key == o.chef_server_key &&
248
257
  chef_server_url == o.chef_server_url &&
249
258
  chef_server_username == o.chef_server_username &&
259
+ custom_username_template == o.custom_username_template &&
250
260
  delete_protection == o.delete_protection &&
251
261
  description == o.description &&
252
262
  json == o.json &&
@@ -271,7 +281,7 @@ module Akeyless
271
281
  # Calculates hash code according to all attributes.
272
282
  # @return [Integer] Hash code
273
283
  def hash
274
- [chef_orgs, chef_server_key, chef_server_url, chef_server_username, delete_protection, description, json, name, new_name, password_length, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
284
+ [chef_orgs, chef_server_key, chef_server_url, chef_server_username, custom_username_template, delete_protection, description, json, name, new_name, password_length, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
275
285
  end
276
286
 
277
287
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # dynamicSecretUpdateGcp is a command that updates a GCP dynamic secret
18
18
  class DynamicSecretUpdateGcp
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
 
@@ -72,6 +75,7 @@ module Akeyless
72
75
  # Attribute mapping from ruby-style variable name to JSON key.
73
76
  def self.attribute_map
74
77
  {
78
+ :'custom_username_template' => :'custom-username-template',
75
79
  :'delete_protection' => :'delete_protection',
76
80
  :'description' => :'description',
77
81
  :'gcp_cred_type' => :'gcp-cred-type',
@@ -101,6 +105,7 @@ module Akeyless
101
105
  # Attribute type mapping.
102
106
  def self.openapi_types
103
107
  {
108
+ :'custom_username_template' => :'String',
104
109
  :'delete_protection' => :'String',
105
110
  :'description' => :'String',
106
111
  :'gcp_cred_type' => :'String',
@@ -143,6 +148,10 @@ module Akeyless
143
148
  h[k.to_sym] = v
144
149
  }
145
150
 
151
+ if attributes.key?(:'custom_username_template')
152
+ self.custom_username_template = attributes[:'custom_username_template']
153
+ end
154
+
146
155
  if attributes.key?(:'delete_protection')
147
156
  self.delete_protection = attributes[:'delete_protection']
148
157
  end
@@ -256,6 +265,7 @@ module Akeyless
256
265
  def ==(o)
257
266
  return true if self.equal?(o)
258
267
  self.class == o.class &&
268
+ custom_username_template == o.custom_username_template &&
259
269
  delete_protection == o.delete_protection &&
260
270
  description == o.description &&
261
271
  gcp_cred_type == o.gcp_cred_type &&
@@ -285,7 +295,7 @@ module Akeyless
285
295
  # Calculates hash code according to all attributes.
286
296
  # @return [Integer] Hash code
287
297
  def hash
288
- [delete_protection, description, 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
298
+ [custom_username_template, delete_protection, description, 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
289
299
  end
290
300
 
291
301
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # dynamicSecretUpdateHanaDb is a command that updates hanadb dynamic secret
18
18
  class DynamicSecretUpdateHanaDb
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
 
@@ -64,6 +67,9 @@ module Akeyless
64
67
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
65
68
  attr_accessor :secure_access_certificate_issuer
66
69
 
70
+ # The DB name (relevant only for DB Dynamic-Secret)
71
+ attr_accessor :secure_access_db_name
72
+
67
73
  # The DB schema
68
74
  attr_accessor :secure_access_db_schema
69
75
 
@@ -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
  :'description' => :'description',
99
106
  :'hana_dbname' => :'hana-dbname',
@@ -110,6 +117,7 @@ module Akeyless
110
117
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
111
118
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
112
119
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
120
+ :'secure_access_db_name' => :'secure-access-db-name',
113
121
  :'secure_access_db_schema' => :'secure-access-db-schema',
114
122
  :'secure_access_enable' => :'secure-access-enable',
115
123
  :'secure_access_host' => :'secure-access-host',
@@ -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
  :'description' => :'String',
135
144
  :'hana_dbname' => :'String',
@@ -146,6 +155,7 @@ module Akeyless
146
155
  :'producer_encryption_key_name' => :'String',
147
156
  :'secure_access_bastion_issuer' => :'String',
148
157
  :'secure_access_certificate_issuer' => :'String',
158
+ :'secure_access_db_name' => :'String',
149
159
  :'secure_access_db_schema' => :'String',
150
160
  :'secure_access_enable' => :'String',
151
161
  :'secure_access_host' => :'Array<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
@@ -251,6 +265,10 @@ module Akeyless
251
265
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
252
266
  end
253
267
 
268
+ if attributes.key?(:'secure_access_db_name')
269
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
270
+ end
271
+
254
272
  if attributes.key?(:'secure_access_db_schema')
255
273
  self.secure_access_db_schema = attributes[:'secure_access_db_schema']
256
274
  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
  description == o.description &&
326
345
  hana_dbname == o.hana_dbname &&
@@ -337,6 +356,7 @@ module Akeyless
337
356
  producer_encryption_key_name == o.producer_encryption_key_name &&
338
357
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
339
358
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
359
+ secure_access_db_name == o.secure_access_db_name &&
340
360
  secure_access_db_schema == o.secure_access_db_schema &&
341
361
  secure_access_enable == o.secure_access_enable &&
342
362
  secure_access_host == o.secure_access_host &&
@@ -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, description, 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
380
+ [custom_username_template, delete_protection, description, 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
361
381
  end
362
382
 
363
383
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # dynamicSecretUpdateK8s is a command that updates k8s dynamic secret
18
18
  class DynamicSecretUpdateK8s
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
 
@@ -118,6 +121,7 @@ module Akeyless
118
121
  # Attribute mapping from ruby-style variable name to JSON key.
119
122
  def self.attribute_map
120
123
  {
124
+ :'custom_username_template' => :'custom-username-template',
121
125
  :'delete_protection' => :'delete_protection',
122
126
  :'description' => :'description',
123
127
  :'json' => :'json',
@@ -162,6 +166,7 @@ module Akeyless
162
166
  # Attribute type mapping.
163
167
  def self.openapi_types
164
168
  {
169
+ :'custom_username_template' => :'String',
165
170
  :'delete_protection' => :'String',
166
171
  :'description' => :'String',
167
172
  :'json' => :'Boolean',
@@ -219,6 +224,10 @@ module Akeyless
219
224
  h[k.to_sym] = v
220
225
  }
221
226
 
227
+ if attributes.key?(:'custom_username_template')
228
+ self.custom_username_template = attributes[:'custom_username_template']
229
+ end
230
+
222
231
  if attributes.key?(:'delete_protection')
223
232
  self.delete_protection = attributes[:'delete_protection']
224
233
  end
@@ -391,6 +400,7 @@ module Akeyless
391
400
  def ==(o)
392
401
  return true if self.equal?(o)
393
402
  self.class == o.class &&
403
+ custom_username_template == o.custom_username_template &&
394
404
  delete_protection == o.delete_protection &&
395
405
  description == o.description &&
396
406
  json == o.json &&
@@ -435,7 +445,7 @@ module Akeyless
435
445
  # Calculates hash code according to all attributes.
436
446
  # @return [Integer] Hash code
437
447
  def hash
438
- [delete_protection, description, json, k8s_allowed_namespaces, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, k8s_namespace, k8s_predefined_role_name, k8s_predefined_role_type, k8s_rolebinding_yaml_def, k8s_service_account, k8s_service_account_type, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, use_gw_service_account, user_ttl].hash
448
+ [custom_username_template, delete_protection, description, json, k8s_allowed_namespaces, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, k8s_namespace, k8s_predefined_role_name, k8s_predefined_role_type, k8s_rolebinding_yaml_def, k8s_service_account, k8s_service_account_type, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, use_gw_service_account, user_ttl].hash
439
449
  end
440
450
 
441
451
  # 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
 
@@ -117,6 +120,7 @@ module Akeyless
117
120
  :'provider_type' => :'ProviderType',
118
121
  :'bind_dn' => :'bind-dn',
119
122
  :'bind_dn_password' => :'bind-dn-password',
123
+ :'custom_username_template' => :'custom-username-template',
120
124
  :'delete_protection' => :'delete_protection',
121
125
  :'description' => :'description',
122
126
  :'external_username' => :'external-username',
@@ -160,6 +164,7 @@ module Akeyless
160
164
  :'provider_type' => :'String',
161
165
  :'bind_dn' => :'String',
162
166
  :'bind_dn_password' => :'String',
167
+ :'custom_username_template' => :'String',
163
168
  :'delete_protection' => :'String',
164
169
  :'description' => :'String',
165
170
  :'external_username' => :'String',
@@ -225,6 +230,10 @@ module Akeyless
225
230
  self.bind_dn_password = attributes[:'bind_dn_password']
226
231
  end
227
232
 
233
+ if attributes.key?(:'custom_username_template')
234
+ self.custom_username_template = attributes[:'custom_username_template']
235
+ end
236
+
228
237
  if attributes.key?(:'delete_protection')
229
238
  self.delete_protection = attributes[:'delete_protection']
230
239
  end
@@ -386,6 +395,7 @@ module Akeyless
386
395
  provider_type == o.provider_type &&
387
396
  bind_dn == o.bind_dn &&
388
397
  bind_dn_password == o.bind_dn_password &&
398
+ custom_username_template == o.custom_username_template &&
389
399
  delete_protection == o.delete_protection &&
390
400
  description == o.description &&
391
401
  external_username == o.external_username &&
@@ -426,7 +436,7 @@ module Akeyless
426
436
  # Calculates hash code according to all attributes.
427
437
  # @return [Integer] Hash code
428
438
  def hash
429
- [provider_type, bind_dn, bind_dn_password, delete_protection, description, 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
439
+ [provider_type, bind_dn, bind_dn_password, custom_username_template, delete_protection, description, 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
430
440
  end
431
441
 
432
442
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # dynamicSecretUpdateMongoDb is a command that updates either mongodb dynamic secret or mongodb atlas dynamic secret
18
18
  class DynamicSecretUpdateMongoDb
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
 
@@ -79,6 +82,9 @@ module Akeyless
79
82
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
80
83
  attr_accessor :secure_access_certificate_issuer
81
84
 
85
+ # The DB name (relevant only for DB Dynamic-Secret)
86
+ attr_accessor :secure_access_db_name
87
+
82
88
  # The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
83
89
  attr_accessor :secure_access_delay
84
90
 
@@ -109,6 +115,7 @@ module Akeyless
109
115
  # Attribute mapping from ruby-style variable name to JSON key.
110
116
  def self.attribute_map
111
117
  {
118
+ :'custom_username_template' => :'custom-username-template',
112
119
  :'delete_protection' => :'delete_protection',
113
120
  :'description' => :'description',
114
121
  :'json' => :'json',
@@ -130,6 +137,7 @@ module Akeyless
130
137
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
131
138
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
132
139
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
140
+ :'secure_access_db_name' => :'secure-access-db-name',
133
141
  :'secure_access_delay' => :'secure-access-delay',
134
142
  :'secure_access_enable' => :'secure-access-enable',
135
143
  :'secure_access_host' => :'secure-access-host',
@@ -150,6 +158,7 @@ module Akeyless
150
158
  # Attribute type mapping.
151
159
  def self.openapi_types
152
160
  {
161
+ :'custom_username_template' => :'String',
153
162
  :'delete_protection' => :'String',
154
163
  :'description' => :'String',
155
164
  :'json' => :'Boolean',
@@ -171,6 +180,7 @@ module Akeyless
171
180
  :'producer_encryption_key_name' => :'String',
172
181
  :'secure_access_bastion_issuer' => :'String',
173
182
  :'secure_access_certificate_issuer' => :'String',
183
+ :'secure_access_db_name' => :'String',
174
184
  :'secure_access_delay' => :'Integer',
175
185
  :'secure_access_enable' => :'String',
176
186
  :'secure_access_host' => :'Array<String>',
@@ -204,6 +214,10 @@ module Akeyless
204
214
  h[k.to_sym] = v
205
215
  }
206
216
 
217
+ if attributes.key?(:'custom_username_template')
218
+ self.custom_username_template = attributes[:'custom_username_template']
219
+ end
220
+
207
221
  if attributes.key?(:'delete_protection')
208
222
  self.delete_protection = attributes[:'delete_protection']
209
223
  end
@@ -294,6 +308,10 @@ module Akeyless
294
308
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
295
309
  end
296
310
 
311
+ if attributes.key?(:'secure_access_db_name')
312
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
313
+ end
314
+
297
315
  if attributes.key?(:'secure_access_delay')
298
316
  self.secure_access_delay = attributes[:'secure_access_delay']
299
317
  end
@@ -364,6 +382,7 @@ module Akeyless
364
382
  def ==(o)
365
383
  return true if self.equal?(o)
366
384
  self.class == o.class &&
385
+ custom_username_template == o.custom_username_template &&
367
386
  delete_protection == o.delete_protection &&
368
387
  description == o.description &&
369
388
  json == o.json &&
@@ -385,6 +404,7 @@ module Akeyless
385
404
  producer_encryption_key_name == o.producer_encryption_key_name &&
386
405
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
387
406
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
407
+ secure_access_db_name == o.secure_access_db_name &&
388
408
  secure_access_delay == o.secure_access_delay &&
389
409
  secure_access_enable == o.secure_access_enable &&
390
410
  secure_access_host == o.secure_access_host &&
@@ -405,7 +425,7 @@ module Akeyless
405
425
  # Calculates hash code according to all attributes.
406
426
  # @return [Integer] Hash code
407
427
  def hash
408
- [delete_protection, description, 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
428
+ [custom_username_template, delete_protection, description, 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
409
429
  end
410
430
 
411
431
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # dynamicSecretUpdateMsSql is a command that updates mssql dynamic secret
18
18
  class DynamicSecretUpdateMsSql
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
 
@@ -64,6 +67,9 @@ module Akeyless
64
67
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
65
68
  attr_accessor :secure_access_certificate_issuer
66
69
 
70
+ # The DB name (relevant only for DB Dynamic-Secret)
71
+ attr_accessor :secure_access_db_name
72
+
67
73
  # The DB schema
68
74
  attr_accessor :secure_access_db_schema
69
75
 
@@ -97,6 +103,7 @@ module Akeyless
97
103
  # Attribute mapping from ruby-style variable name to JSON key.
98
104
  def self.attribute_map
99
105
  {
106
+ :'custom_username_template' => :'custom-username-template',
100
107
  :'delete_protection' => :'delete_protection',
101
108
  :'description' => :'description',
102
109
  :'json' => :'json',
@@ -113,6 +120,7 @@ module Akeyless
113
120
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
114
121
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
115
122
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
123
+ :'secure_access_db_name' => :'secure-access-db-name',
116
124
  :'secure_access_db_schema' => :'secure-access-db-schema',
117
125
  :'secure_access_delay' => :'secure-access-delay',
118
126
  :'secure_access_enable' => :'secure-access-enable',
@@ -134,6 +142,7 @@ module Akeyless
134
142
  # Attribute type mapping.
135
143
  def self.openapi_types
136
144
  {
145
+ :'custom_username_template' => :'String',
137
146
  :'delete_protection' => :'String',
138
147
  :'description' => :'String',
139
148
  :'json' => :'Boolean',
@@ -150,6 +159,7 @@ module Akeyless
150
159
  :'producer_encryption_key_name' => :'String',
151
160
  :'secure_access_bastion_issuer' => :'String',
152
161
  :'secure_access_certificate_issuer' => :'String',
162
+ :'secure_access_db_name' => :'String',
153
163
  :'secure_access_db_schema' => :'String',
154
164
  :'secure_access_delay' => :'Integer',
155
165
  :'secure_access_enable' => :'String',
@@ -184,6 +194,10 @@ module Akeyless
184
194
  h[k.to_sym] = v
185
195
  }
186
196
 
197
+ if attributes.key?(:'custom_username_template')
198
+ self.custom_username_template = attributes[:'custom_username_template']
199
+ end
200
+
187
201
  if attributes.key?(:'delete_protection')
188
202
  self.delete_protection = attributes[:'delete_protection']
189
203
  end
@@ -256,6 +270,10 @@ module Akeyless
256
270
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
257
271
  end
258
272
 
273
+ if attributes.key?(:'secure_access_db_name')
274
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
275
+ end
276
+
259
277
  if attributes.key?(:'secure_access_db_schema')
260
278
  self.secure_access_db_schema = attributes[:'secure_access_db_schema']
261
279
  end
@@ -330,6 +348,7 @@ module Akeyless
330
348
  def ==(o)
331
349
  return true if self.equal?(o)
332
350
  self.class == o.class &&
351
+ custom_username_template == o.custom_username_template &&
333
352
  delete_protection == o.delete_protection &&
334
353
  description == o.description &&
335
354
  json == o.json &&
@@ -346,6 +365,7 @@ module Akeyless
346
365
  producer_encryption_key_name == o.producer_encryption_key_name &&
347
366
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
348
367
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
368
+ secure_access_db_name == o.secure_access_db_name &&
349
369
  secure_access_db_schema == o.secure_access_db_schema &&
350
370
  secure_access_delay == o.secure_access_delay &&
351
371
  secure_access_enable == o.secure_access_enable &&
@@ -367,7 +387,7 @@ module Akeyless
367
387
  # Calculates hash code according to all attributes.
368
388
  # @return [Integer] Hash code
369
389
  def hash
370
- [delete_protection, description, 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
390
+ [custom_username_template, delete_protection, description, 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
371
391
  end
372
392
 
373
393
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # dynamicSecretUpdateMySql is a command that updates mysql dynamic secret
18
18
  class DynamicSecretUpdateMySql
19
+ # Customize how temporary usernames are generated using go template
20
+ attr_accessor :custom_username_template
21
+
19
22
  # (Optional) DB server certificates
20
23
  attr_accessor :db_server_certificates
21
24
 
@@ -70,6 +73,9 @@ module Akeyless
70
73
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
71
74
  attr_accessor :secure_access_certificate_issuer
72
75
 
76
+ # The DB name (relevant only for DB Dynamic-Secret)
77
+ attr_accessor :secure_access_db_name
78
+
73
79
  # The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
74
80
  attr_accessor :secure_access_delay
75
81
 
@@ -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
  :'db_server_certificates' => :'db-server-certificates',
110
117
  :'db_server_name' => :'db-server-name',
111
118
  :'delete_protection' => :'delete_protection',
@@ -124,6 +131,7 @@ module Akeyless
124
131
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
125
132
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
126
133
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
134
+ :'secure_access_db_name' => :'secure-access-db-name',
127
135
  :'secure_access_delay' => :'secure-access-delay',
128
136
  :'secure_access_enable' => :'secure-access-enable',
129
137
  :'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
  :'db_server_certificates' => :'String',
150
159
  :'db_server_name' => :'String',
151
160
  :'delete_protection' => :'String',
@@ -164,6 +173,7 @@ module Akeyless
164
173
  :'producer_encryption_key_name' => :'String',
165
174
  :'secure_access_bastion_issuer' => :'String',
166
175
  :'secure_access_certificate_issuer' => :'String',
176
+ :'secure_access_db_name' => :'String',
167
177
  :'secure_access_delay' => :'Integer',
168
178
  :'secure_access_enable' => :'String',
169
179
  :'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?(:'db_server_certificates')
203
217
  self.db_server_certificates = attributes[:'db_server_certificates']
204
218
  end
@@ -279,6 +293,10 @@ module Akeyless
279
293
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
280
294
  end
281
295
 
296
+ if attributes.key?(:'secure_access_db_name')
297
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
298
+ end
299
+
282
300
  if attributes.key?(:'secure_access_delay')
283
301
  self.secure_access_delay = attributes[:'secure_access_delay']
284
302
  end
@@ -359,6 +377,7 @@ module Akeyless
359
377
  def ==(o)
360
378
  return true if self.equal?(o)
361
379
  self.class == o.class &&
380
+ custom_username_template == o.custom_username_template &&
362
381
  db_server_certificates == o.db_server_certificates &&
363
382
  db_server_name == o.db_server_name &&
364
383
  delete_protection == o.delete_protection &&
@@ -377,6 +396,7 @@ module Akeyless
377
396
  producer_encryption_key_name == o.producer_encryption_key_name &&
378
397
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
379
398
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
399
+ secure_access_db_name == o.secure_access_db_name &&
380
400
  secure_access_delay == o.secure_access_delay &&
381
401
  secure_access_enable == o.secure_access_enable &&
382
402
  secure_access_host == o.secure_access_host &&
@@ -399,7 +419,7 @@ module Akeyless
399
419
  # Calculates hash code according to all attributes.
400
420
  # @return [Integer] Hash code
401
421
  def hash
402
- [db_server_certificates, db_server_name, delete_protection, description, json, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_revocation_statements, mysql_screation_statements, mysql_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, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
422
+ [custom_username_template, db_server_certificates, db_server_name, delete_protection, description, json, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_revocation_statements, mysql_screation_statements, mysql_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, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
403
423
  end
404
424
 
405
425
  # Builds the object from hash