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
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayCreateProducerOracleDb is a command that creates oracle db producer [Deprecated: Use dynamic-secret-create-oracledb command]
18
18
  class GatewayCreateProducerOracleDb
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
 
@@ -91,6 +94,7 @@ module Akeyless
91
94
  # Attribute mapping from ruby-style variable name to JSON key.
92
95
  def self.attribute_map
93
96
  {
97
+ :'custom_username_template' => :'custom-username-template',
94
98
  :'db_server_certificates' => :'db-server-certificates',
95
99
  :'db_server_name' => :'db-server-name',
96
100
  :'delete_protection' => :'delete_protection',
@@ -126,6 +130,7 @@ module Akeyless
126
130
  # Attribute type mapping.
127
131
  def self.openapi_types
128
132
  {
133
+ :'custom_username_template' => :'String',
129
134
  :'db_server_certificates' => :'String',
130
135
  :'db_server_name' => :'String',
131
136
  :'delete_protection' => :'String',
@@ -174,6 +179,10 @@ module Akeyless
174
179
  h[k.to_sym] = v
175
180
  }
176
181
 
182
+ if attributes.key?(:'custom_username_template')
183
+ self.custom_username_template = attributes[:'custom_username_template']
184
+ end
185
+
177
186
  if attributes.key?(:'db_server_certificates')
178
187
  self.db_server_certificates = attributes[:'db_server_certificates']
179
188
  end
@@ -314,6 +323,7 @@ module Akeyless
314
323
  def ==(o)
315
324
  return true if self.equal?(o)
316
325
  self.class == o.class &&
326
+ custom_username_template == o.custom_username_template &&
317
327
  db_server_certificates == o.db_server_certificates &&
318
328
  db_server_name == o.db_server_name &&
319
329
  delete_protection == o.delete_protection &&
@@ -349,7 +359,7 @@ module Akeyless
349
359
  # Calculates hash code according to all attributes.
350
360
  # @return [Integer] Hash code
351
361
  def hash
352
- [db_server_certificates, db_server_name, delete_protection, json, name, oracle_host, oracle_password, oracle_port, oracle_revocation_statements, oracle_screation_statements, oracle_service_name, oracle_username, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
362
+ [custom_username_template, db_server_certificates, db_server_name, delete_protection, json, name, oracle_host, oracle_password, oracle_port, oracle_revocation_statements, oracle_screation_statements, oracle_service_name, oracle_username, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
353
363
  end
354
364
 
355
365
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # PostgreSQL Creation statements
20
20
  attr_accessor :creation_statements
21
21
 
22
+ # Customize how temporary usernames are generated using go template
23
+ attr_accessor :custom_username_template
24
+
22
25
  # Protection from accidental deletion of this object [true/false]
23
26
  attr_accessor :delete_protection
24
27
 
@@ -58,6 +61,9 @@ module Akeyless
58
61
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
59
62
  attr_accessor :secure_access_certificate_issuer
60
63
 
64
+ # The DB name (relevant only for DB Dynamic-Secret)
65
+ attr_accessor :secure_access_db_name
66
+
61
67
  # The DB schema
62
68
  attr_accessor :secure_access_db_schema
63
69
 
@@ -95,6 +101,7 @@ module Akeyless
95
101
  def self.attribute_map
96
102
  {
97
103
  :'creation_statements' => :'creation-statements',
104
+ :'custom_username_template' => :'custom-username-template',
98
105
  :'delete_protection' => :'delete_protection',
99
106
  :'json' => :'json',
100
107
  :'name' => :'name',
@@ -108,6 +115,7 @@ module Akeyless
108
115
  :'revocation_statement' => :'revocation-statement',
109
116
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
110
117
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
118
+ :'secure_access_db_name' => :'secure-access-db-name',
111
119
  :'secure_access_db_schema' => :'secure-access-db-schema',
112
120
  :'secure_access_delay' => :'secure-access-delay',
113
121
  :'secure_access_enable' => :'secure-access-enable',
@@ -131,6 +139,7 @@ module Akeyless
131
139
  def self.openapi_types
132
140
  {
133
141
  :'creation_statements' => :'String',
142
+ :'custom_username_template' => :'String',
134
143
  :'delete_protection' => :'String',
135
144
  :'json' => :'Boolean',
136
145
  :'name' => :'String',
@@ -144,6 +153,7 @@ module Akeyless
144
153
  :'revocation_statement' => :'String',
145
154
  :'secure_access_bastion_issuer' => :'String',
146
155
  :'secure_access_certificate_issuer' => :'String',
156
+ :'secure_access_db_name' => :'String',
147
157
  :'secure_access_db_schema' => :'String',
148
158
  :'secure_access_delay' => :'Integer',
149
159
  :'secure_access_enable' => :'String',
@@ -183,6 +193,10 @@ module Akeyless
183
193
  self.creation_statements = attributes[:'creation_statements']
184
194
  end
185
195
 
196
+ if attributes.key?(:'custom_username_template')
197
+ self.custom_username_template = attributes[:'custom_username_template']
198
+ end
199
+
186
200
  if attributes.key?(:'delete_protection')
187
201
  self.delete_protection = attributes[:'delete_protection']
188
202
  end
@@ -243,6 +257,10 @@ module Akeyless
243
257
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
244
258
  end
245
259
 
260
+ if attributes.key?(:'secure_access_db_name')
261
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
262
+ end
263
+
246
264
  if attributes.key?(:'secure_access_db_schema')
247
265
  self.secure_access_db_schema = attributes[:'secure_access_db_schema']
248
266
  end
@@ -324,6 +342,7 @@ module Akeyless
324
342
  return true if self.equal?(o)
325
343
  self.class == o.class &&
326
344
  creation_statements == o.creation_statements &&
345
+ custom_username_template == o.custom_username_template &&
327
346
  delete_protection == o.delete_protection &&
328
347
  json == o.json &&
329
348
  name == o.name &&
@@ -337,6 +356,7 @@ module Akeyless
337
356
  revocation_statement == o.revocation_statement &&
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_delay == o.secure_access_delay &&
342
362
  secure_access_enable == o.secure_access_enable &&
@@ -359,7 +379,7 @@ module Akeyless
359
379
  # Calculates hash code according to all attributes.
360
380
  # @return [Integer] Hash code
361
381
  def hash
362
- [creation_statements, delete_protection, json, name, password_length, postgresql_db_name, postgresql_host, postgresql_password, postgresql_port, postgresql_username, producer_encryption_key, revocation_statement, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, ssl, tags, target_name, token, uid_token, user_ttl].hash
382
+ [creation_statements, custom_username_template, delete_protection, json, name, password_length, postgresql_db_name, postgresql_host, postgresql_password, postgresql_port, postgresql_username, producer_encryption_key, revocation_statement, 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, ssl, tags, target_name, token, uid_token, user_ttl].hash
363
383
  end
364
384
 
365
385
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # AllowUserExtendSession
20
20
  attr_accessor :allow_user_extend_session
21
21
 
22
+ # Customize how temporary usernames are generated using go template
23
+ attr_accessor :custom_username_template
24
+
22
25
  # Protection from accidental deletion of this object [true/false]
23
26
  attr_accessor :delete_protection
24
27
 
@@ -104,6 +107,7 @@ module Akeyless
104
107
  def self.attribute_map
105
108
  {
106
109
  :'allow_user_extend_session' => :'allow-user-extend-session',
110
+ :'custom_username_template' => :'custom-username-template',
107
111
  :'delete_protection' => :'delete_protection',
108
112
  :'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
109
113
  :'fixed_user_only' => :'fixed-user-only',
@@ -143,6 +147,7 @@ module Akeyless
143
147
  def self.openapi_types
144
148
  {
145
149
  :'allow_user_extend_session' => :'Integer',
150
+ :'custom_username_template' => :'String',
146
151
  :'delete_protection' => :'String',
147
152
  :'fixed_user_claim_keyname' => :'String',
148
153
  :'fixed_user_only' => :'String',
@@ -198,6 +203,10 @@ module Akeyless
198
203
  self.allow_user_extend_session = attributes[:'allow_user_extend_session']
199
204
  end
200
205
 
206
+ if attributes.key?(:'custom_username_template')
207
+ self.custom_username_template = attributes[:'custom_username_template']
208
+ end
209
+
201
210
  if attributes.key?(:'delete_protection')
202
211
  self.delete_protection = attributes[:'delete_protection']
203
212
  end
@@ -351,6 +360,7 @@ module Akeyless
351
360
  return true if self.equal?(o)
352
361
  self.class == o.class &&
353
362
  allow_user_extend_session == o.allow_user_extend_session &&
363
+ custom_username_template == o.custom_username_template &&
354
364
  delete_protection == o.delete_protection &&
355
365
  fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
356
366
  fixed_user_only == o.fixed_user_only &&
@@ -389,7 +399,7 @@ module Akeyless
389
399
  # Calculates hash code according to all attributes.
390
400
  # @return [Integer] Hash code
391
401
  def hash
392
- [allow_user_extend_session, delete_protection, fixed_user_claim_keyname, fixed_user_only, json, name, password_length, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, 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, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
402
+ [allow_user_extend_session, custom_username_template, delete_protection, fixed_user_claim_keyname, fixed_user_only, json, name, password_length, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, 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, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
393
403
  end
394
404
 
395
405
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # A JSON array list of redis ACL rules to attach to the created user. For available rules see the ACL CAT command https://redis.io/commands/acl-cat By default the user will have permissions to read all keys '[\"~*\", \"+@read\"]'
20
20
  attr_accessor :acl_rules
21
21
 
22
+ # Customize how temporary usernames are generated using go template
23
+ attr_accessor :custom_username_template
24
+
22
25
  # Protection from accidental deletion of this object [true/false]
23
26
  attr_accessor :delete_protection
24
27
 
@@ -71,6 +74,7 @@ module Akeyless
71
74
  def self.attribute_map
72
75
  {
73
76
  :'acl_rules' => :'acl-rules',
77
+ :'custom_username_template' => :'custom-username-template',
74
78
  :'delete_protection' => :'delete_protection',
75
79
  :'host' => :'host',
76
80
  :'json' => :'json',
@@ -99,6 +103,7 @@ module Akeyless
99
103
  def self.openapi_types
100
104
  {
101
105
  :'acl_rules' => :'String',
106
+ :'custom_username_template' => :'String',
102
107
  :'delete_protection' => :'String',
103
108
  :'host' => :'String',
104
109
  :'json' => :'Boolean',
@@ -143,6 +148,10 @@ module Akeyless
143
148
  self.acl_rules = attributes[:'acl_rules']
144
149
  end
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
@@ -248,6 +257,7 @@ module Akeyless
248
257
  return true if self.equal?(o)
249
258
  self.class == o.class &&
250
259
  acl_rules == o.acl_rules &&
260
+ custom_username_template == o.custom_username_template &&
251
261
  delete_protection == o.delete_protection &&
252
262
  host == o.host &&
253
263
  json == o.json &&
@@ -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
- [acl_rules, delete_protection, host, json, name, password, password_length, port, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl, username].hash
288
+ [acl_rules, custom_username_template, delete_protection, host, json, name, password, password_length, port, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl, username].hash
279
289
  end
280
290
 
281
291
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Redshift Creation statements
20
20
  attr_accessor :creation_statements
21
21
 
22
+ # Customize how temporary usernames are generated using go template
23
+ attr_accessor :custom_username_template
24
+
22
25
  # Protection from accidental deletion of this object [true/false]
23
26
  attr_accessor :delete_protection
24
27
 
@@ -77,6 +80,7 @@ module Akeyless
77
80
  def self.attribute_map
78
81
  {
79
82
  :'creation_statements' => :'creation-statements',
83
+ :'custom_username_template' => :'custom-username-template',
80
84
  :'delete_protection' => :'delete_protection',
81
85
  :'json' => :'json',
82
86
  :'name' => :'name',
@@ -107,6 +111,7 @@ module Akeyless
107
111
  def self.openapi_types
108
112
  {
109
113
  :'creation_statements' => :'String',
114
+ :'custom_username_template' => :'String',
110
115
  :'delete_protection' => :'String',
111
116
  :'json' => :'Boolean',
112
117
  :'name' => :'String',
@@ -153,6 +158,10 @@ module Akeyless
153
158
  self.creation_statements = attributes[:'creation_statements']
154
159
  end
155
160
 
161
+ if attributes.key?(:'custom_username_template')
162
+ self.custom_username_template = attributes[:'custom_username_template']
163
+ end
164
+
156
165
  if attributes.key?(:'delete_protection')
157
166
  self.delete_protection = attributes[:'delete_protection']
158
167
  end
@@ -268,6 +277,7 @@ module Akeyless
268
277
  return true if self.equal?(o)
269
278
  self.class == o.class &&
270
279
  creation_statements == o.creation_statements &&
280
+ custom_username_template == o.custom_username_template &&
271
281
  delete_protection == o.delete_protection &&
272
282
  json == o.json &&
273
283
  name == o.name &&
@@ -297,7 +307,7 @@ module Akeyless
297
307
  # Calculates hash code according to all attributes.
298
308
  # @return [Integer] Hash code
299
309
  def hash
300
- [creation_statements, delete_protection, json, name, password_length, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
310
+ [creation_statements, custom_username_template, delete_protection, json, name, password_length, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
301
311
  end
302
312
 
303
313
  # Builds the object from hash
@@ -25,6 +25,12 @@ module Akeyless
25
25
  # Database Username
26
26
  attr_accessor :account_username
27
27
 
28
+ # The authentication mode for the temporary user [password/key]
29
+ attr_accessor :auth_mode
30
+
31
+ # Customize how temporary usernames are generated using go template
32
+ attr_accessor :custom_username_template
33
+
28
34
  # Database name
29
35
  attr_accessor :db_name
30
36
 
@@ -34,6 +40,8 @@ module Akeyless
34
40
  # Set output format to JSON
35
41
  attr_accessor :json
36
42
 
43
+ attr_accessor :key_algo
44
+
37
45
  # Dynamic secret name
38
46
  attr_accessor :name
39
47
 
@@ -73,9 +81,12 @@ module Akeyless
73
81
  :'account' => :'account',
74
82
  :'account_password' => :'account-password',
75
83
  :'account_username' => :'account-username',
84
+ :'auth_mode' => :'auth-mode',
85
+ :'custom_username_template' => :'custom-username-template',
76
86
  :'db_name' => :'db-name',
77
87
  :'delete_protection' => :'delete_protection',
78
88
  :'json' => :'json',
89
+ :'key_algo' => :'key-algo',
79
90
  :'name' => :'name',
80
91
  :'password_length' => :'password-length',
81
92
  :'private_key' => :'private-key',
@@ -101,9 +112,12 @@ module Akeyless
101
112
  :'account' => :'String',
102
113
  :'account_password' => :'String',
103
114
  :'account_username' => :'String',
115
+ :'auth_mode' => :'String',
116
+ :'custom_username_template' => :'String',
104
117
  :'db_name' => :'String',
105
118
  :'delete_protection' => :'String',
106
119
  :'json' => :'Boolean',
120
+ :'key_algo' => :'String',
107
121
  :'name' => :'String',
108
122
  :'password_length' => :'String',
109
123
  :'private_key' => :'String',
@@ -151,6 +165,16 @@ module Akeyless
151
165
  self.account_username = attributes[:'account_username']
152
166
  end
153
167
 
168
+ if attributes.key?(:'auth_mode')
169
+ self.auth_mode = attributes[:'auth_mode']
170
+ else
171
+ self.auth_mode = 'password'
172
+ end
173
+
174
+ if attributes.key?(:'custom_username_template')
175
+ self.custom_username_template = attributes[:'custom_username_template']
176
+ end
177
+
154
178
  if attributes.key?(:'db_name')
155
179
  self.db_name = attributes[:'db_name']
156
180
  end
@@ -165,6 +189,10 @@ module Akeyless
165
189
  self.json = false
166
190
  end
167
191
 
192
+ if attributes.key?(:'key_algo')
193
+ self.key_algo = attributes[:'key_algo']
194
+ end
195
+
168
196
  if attributes.key?(:'name')
169
197
  self.name = attributes[:'name']
170
198
  else
@@ -244,9 +272,12 @@ module Akeyless
244
272
  account == o.account &&
245
273
  account_password == o.account_password &&
246
274
  account_username == o.account_username &&
275
+ auth_mode == o.auth_mode &&
276
+ custom_username_template == o.custom_username_template &&
247
277
  db_name == o.db_name &&
248
278
  delete_protection == o.delete_protection &&
249
279
  json == o.json &&
280
+ key_algo == o.key_algo &&
250
281
  name == o.name &&
251
282
  password_length == o.password_length &&
252
283
  private_key == o.private_key &&
@@ -269,7 +300,7 @@ module Akeyless
269
300
  # Calculates hash code according to all attributes.
270
301
  # @return [Integer] Hash code
271
302
  def hash
272
- [account, account_password, account_username, db_name, delete_protection, json, name, password_length, private_key, private_key_passphrase, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
303
+ [account, account_password, account_username, auth_mode, custom_username_template, db_name, delete_protection, json, key_algo, name, password_length, private_key, private_key_passphrase, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
273
304
  end
274
305
 
275
306
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class GatewayDetailsForItemReplyObj
18
+ attr_accessor :cluster_id
19
+
18
20
  attr_accessor :cluster_name
19
21
 
20
22
  attr_accessor :cluster_url
@@ -26,6 +28,7 @@ module Akeyless
26
28
  # Attribute mapping from ruby-style variable name to JSON key.
27
29
  def self.attribute_map
28
30
  {
31
+ :'cluster_id' => :'cluster_id',
29
32
  :'cluster_name' => :'cluster_name',
30
33
  :'cluster_url' => :'cluster_url',
31
34
  :'desktop_app' => :'desktop_app',
@@ -41,6 +44,7 @@ module Akeyless
41
44
  # Attribute type mapping.
42
45
  def self.openapi_types
43
46
  {
47
+ :'cluster_id' => :'Integer',
44
48
  :'cluster_name' => :'String',
45
49
  :'cluster_url' => :'String',
46
50
  :'desktop_app' => :'DesktopAppConf',
@@ -69,6 +73,10 @@ module Akeyless
69
73
  h[k.to_sym] = v
70
74
  }
71
75
 
76
+ if attributes.key?(:'cluster_id')
77
+ self.cluster_id = attributes[:'cluster_id']
78
+ end
79
+
72
80
  if attributes.key?(:'cluster_name')
73
81
  self.cluster_name = attributes[:'cluster_name']
74
82
  end
@@ -106,6 +114,7 @@ module Akeyless
106
114
  def ==(o)
107
115
  return true if self.equal?(o)
108
116
  self.class == o.class &&
117
+ cluster_id == o.cluster_id &&
109
118
  cluster_name == o.cluster_name &&
110
119
  cluster_url == o.cluster_url &&
111
120
  desktop_app == o.desktop_app &&
@@ -121,7 +130,7 @@ module Akeyless
121
130
  # Calculates hash code according to all attributes.
122
131
  # @return [Integer] Hash code
123
132
  def hash
124
- [cluster_name, cluster_url, desktop_app, is_cluster_available].hash
133
+ [cluster_id, cluster_name, cluster_url, desktop_app, is_cluster_available].hash
125
134
  end
126
135
 
127
136
  # Builds the object from hash
@@ -31,6 +31,9 @@ module Akeyless
31
31
  # Base URL
32
32
  attr_accessor :base_url
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
 
@@ -69,6 +72,7 @@ module Akeyless
69
72
  :'artifactory_token_audience' => :'artifactory-token-audience',
70
73
  :'artifactory_token_scope' => :'artifactory-token-scope',
71
74
  :'base_url' => :'base-url',
75
+ :'custom_username_template' => :'custom-username-template',
72
76
  :'delete_protection' => :'delete_protection',
73
77
  :'json' => :'json',
74
78
  :'name' => :'name',
@@ -95,6 +99,7 @@ module Akeyless
95
99
  :'artifactory_token_audience' => :'String',
96
100
  :'artifactory_token_scope' => :'String',
97
101
  :'base_url' => :'String',
102
+ :'custom_username_template' => :'String',
98
103
  :'delete_protection' => :'String',
99
104
  :'json' => :'Boolean',
100
105
  :'name' => :'String',
@@ -153,6 +158,10 @@ module Akeyless
153
158
  self.base_url = attributes[:'base_url']
154
159
  end
155
160
 
161
+ if attributes.key?(:'custom_username_template')
162
+ self.custom_username_template = attributes[:'custom_username_template']
163
+ end
164
+
156
165
  if attributes.key?(:'delete_protection')
157
166
  self.delete_protection = attributes[:'delete_protection']
158
167
  end
@@ -242,6 +251,7 @@ module Akeyless
242
251
  artifactory_token_audience == o.artifactory_token_audience &&
243
252
  artifactory_token_scope == o.artifactory_token_scope &&
244
253
  base_url == o.base_url &&
254
+ custom_username_template == o.custom_username_template &&
245
255
  delete_protection == o.delete_protection &&
246
256
  json == o.json &&
247
257
  name == o.name &&
@@ -263,7 +273,7 @@ module Akeyless
263
273
  # Calculates hash code according to all attributes.
264
274
  # @return [Integer] Hash code
265
275
  def hash
266
- [artifactory_admin_name, artifactory_admin_pwd, artifactory_token_audience, artifactory_token_scope, base_url, delete_protection, json, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
276
+ [artifactory_admin_name, artifactory_admin_pwd, artifactory_token_audience, artifactory_token_scope, base_url, custom_username_template, delete_protection, json, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
267
277
  end
268
278
 
269
279
  # Builds the object from hash
@@ -27,6 +27,9 @@ module Akeyless
27
27
  # Secret Access Key
28
28
  attr_accessor :aws_access_secret_key
29
29
 
30
+ # The AWS External ID associated with the AWS role (relevant only for assume_role mode)
31
+ attr_accessor :aws_external_id
32
+
30
33
  # AWS Role ARNs to be used in the Assume Role operation (relevant only for assume_role mode)
31
34
  attr_accessor :aws_role_arns
32
35
 
@@ -42,6 +45,9 @@ module Akeyless
42
45
  # Enable AWS User programmatic access
43
46
  attr_accessor :aws_user_programmatic_access
44
47
 
48
+ # Customize how temporary usernames are generated using go template
49
+ attr_accessor :custom_username_template
50
+
45
51
  # Protection from accidental deletion of this object [true/false]
46
52
  attr_accessor :delete_protection
47
53
 
@@ -121,11 +127,13 @@ module Akeyless
121
127
  :'admin_rotation_interval_days' => :'admin-rotation-interval-days',
122
128
  :'aws_access_key_id' => :'aws-access-key-id',
123
129
  :'aws_access_secret_key' => :'aws-access-secret-key',
130
+ :'aws_external_id' => :'aws-external-id',
124
131
  :'aws_role_arns' => :'aws-role-arns',
125
132
  :'aws_user_console_access' => :'aws-user-console-access',
126
133
  :'aws_user_groups' => :'aws-user-groups',
127
134
  :'aws_user_policies' => :'aws-user-policies',
128
135
  :'aws_user_programmatic_access' => :'aws-user-programmatic-access',
136
+ :'custom_username_template' => :'custom-username-template',
129
137
  :'delete_protection' => :'delete_protection',
130
138
  :'enable_admin_rotation' => :'enable-admin-rotation',
131
139
  :'json' => :'json',
@@ -165,11 +173,13 @@ module Akeyless
165
173
  :'admin_rotation_interval_days' => :'Integer',
166
174
  :'aws_access_key_id' => :'String',
167
175
  :'aws_access_secret_key' => :'String',
176
+ :'aws_external_id' => :'String',
168
177
  :'aws_role_arns' => :'String',
169
178
  :'aws_user_console_access' => :'Boolean',
170
179
  :'aws_user_groups' => :'String',
171
180
  :'aws_user_policies' => :'String',
172
181
  :'aws_user_programmatic_access' => :'Boolean',
182
+ :'custom_username_template' => :'String',
173
183
  :'delete_protection' => :'String',
174
184
  :'enable_admin_rotation' => :'Boolean',
175
185
  :'json' => :'Boolean',
@@ -236,6 +246,10 @@ module Akeyless
236
246
  self.aws_access_secret_key = attributes[:'aws_access_secret_key']
237
247
  end
238
248
 
249
+ if attributes.key?(:'aws_external_id')
250
+ self.aws_external_id = attributes[:'aws_external_id']
251
+ end
252
+
239
253
  if attributes.key?(:'aws_role_arns')
240
254
  self.aws_role_arns = attributes[:'aws_role_arns']
241
255
  end
@@ -260,6 +274,10 @@ module Akeyless
260
274
  self.aws_user_programmatic_access = true
261
275
  end
262
276
 
277
+ if attributes.key?(:'custom_username_template')
278
+ self.custom_username_template = attributes[:'custom_username_template']
279
+ end
280
+
263
281
  if attributes.key?(:'delete_protection')
264
282
  self.delete_protection = attributes[:'delete_protection']
265
283
  end
@@ -404,11 +422,13 @@ module Akeyless
404
422
  admin_rotation_interval_days == o.admin_rotation_interval_days &&
405
423
  aws_access_key_id == o.aws_access_key_id &&
406
424
  aws_access_secret_key == o.aws_access_secret_key &&
425
+ aws_external_id == o.aws_external_id &&
407
426
  aws_role_arns == o.aws_role_arns &&
408
427
  aws_user_console_access == o.aws_user_console_access &&
409
428
  aws_user_groups == o.aws_user_groups &&
410
429
  aws_user_policies == o.aws_user_policies &&
411
430
  aws_user_programmatic_access == o.aws_user_programmatic_access &&
431
+ custom_username_template == o.custom_username_template &&
412
432
  delete_protection == o.delete_protection &&
413
433
  enable_admin_rotation == o.enable_admin_rotation &&
414
434
  json == o.json &&
@@ -444,7 +464,7 @@ module Akeyless
444
464
  # Calculates hash code according to all attributes.
445
465
  # @return [Integer] Hash code
446
466
  def hash
447
- [access_mode, admin_rotation_interval_days, aws_access_key_id, aws_access_secret_key, aws_role_arns, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, delete_protection, enable_admin_rotation, json, name, new_name, password_length, producer_encryption_key_name, region, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, session_tags, tags, target_name, token, transitive_tag_keys, uid_token, user_ttl].hash
467
+ [access_mode, admin_rotation_interval_days, aws_access_key_id, aws_access_secret_key, aws_external_id, aws_role_arns, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, custom_username_template, delete_protection, enable_admin_rotation, json, name, new_name, password_length, producer_encryption_key_name, region, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, session_tags, tags, target_name, token, transitive_tag_keys, uid_token, user_ttl].hash
448
468
  end
449
469
 
450
470
  # Builds the object from hash