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
  # dynamicSecretCreateOracleDb is a command that creates oracle db dynamic secret
18
18
  class DynamicSecretCreateOracleDb
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
 
@@ -94,6 +97,7 @@ module Akeyless
94
97
  # Attribute mapping from ruby-style variable name to JSON key.
95
98
  def self.attribute_map
96
99
  {
100
+ :'custom_username_template' => :'custom-username-template',
97
101
  :'db_server_certificates' => :'db-server-certificates',
98
102
  :'db_server_name' => :'db-server-name',
99
103
  :'delete_protection' => :'delete_protection',
@@ -130,6 +134,7 @@ module Akeyless
130
134
  # Attribute type mapping.
131
135
  def self.openapi_types
132
136
  {
137
+ :'custom_username_template' => :'String',
133
138
  :'db_server_certificates' => :'String',
134
139
  :'db_server_name' => :'String',
135
140
  :'delete_protection' => :'String',
@@ -179,6 +184,10 @@ module Akeyless
179
184
  h[k.to_sym] = v
180
185
  }
181
186
 
187
+ if attributes.key?(:'custom_username_template')
188
+ self.custom_username_template = attributes[:'custom_username_template']
189
+ end
190
+
182
191
  if attributes.key?(:'db_server_certificates')
183
192
  self.db_server_certificates = attributes[:'db_server_certificates']
184
193
  end
@@ -323,6 +332,7 @@ module Akeyless
323
332
  def ==(o)
324
333
  return true if self.equal?(o)
325
334
  self.class == o.class &&
335
+ custom_username_template == o.custom_username_template &&
326
336
  db_server_certificates == o.db_server_certificates &&
327
337
  db_server_name == o.db_server_name &&
328
338
  delete_protection == o.delete_protection &&
@@ -359,7 +369,7 @@ module Akeyless
359
369
  # Calculates hash code according to all attributes.
360
370
  # @return [Integer] Hash code
361
371
  def hash
362
- [db_server_certificates, db_server_name, delete_protection, description, 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
372
+ [custom_username_template, db_server_certificates, db_server_name, delete_protection, description, 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
363
373
  end
364
374
 
365
375
  # 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
 
@@ -61,6 +64,9 @@ module Akeyless
61
64
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
62
65
  attr_accessor :secure_access_certificate_issuer
63
66
 
67
+ # The DB name (relevant only for DB Dynamic-Secret)
68
+ attr_accessor :secure_access_db_name
69
+
64
70
  # The DB schema
65
71
  attr_accessor :secure_access_db_schema
66
72
 
@@ -98,6 +104,7 @@ module Akeyless
98
104
  def self.attribute_map
99
105
  {
100
106
  :'creation_statements' => :'creation-statements',
107
+ :'custom_username_template' => :'custom-username-template',
101
108
  :'delete_protection' => :'delete_protection',
102
109
  :'description' => :'description',
103
110
  :'json' => :'json',
@@ -112,6 +119,7 @@ module Akeyless
112
119
  :'revocation_statement' => :'revocation-statement',
113
120
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
114
121
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
122
+ :'secure_access_db_name' => :'secure-access-db-name',
115
123
  :'secure_access_db_schema' => :'secure-access-db-schema',
116
124
  :'secure_access_delay' => :'secure-access-delay',
117
125
  :'secure_access_enable' => :'secure-access-enable',
@@ -135,6 +143,7 @@ module Akeyless
135
143
  def self.openapi_types
136
144
  {
137
145
  :'creation_statements' => :'String',
146
+ :'custom_username_template' => :'String',
138
147
  :'delete_protection' => :'String',
139
148
  :'description' => :'String',
140
149
  :'json' => :'Boolean',
@@ -149,6 +158,7 @@ module Akeyless
149
158
  :'revocation_statement' => :'String',
150
159
  :'secure_access_bastion_issuer' => :'String',
151
160
  :'secure_access_certificate_issuer' => :'String',
161
+ :'secure_access_db_name' => :'String',
152
162
  :'secure_access_db_schema' => :'String',
153
163
  :'secure_access_delay' => :'Integer',
154
164
  :'secure_access_enable' => :'String',
@@ -188,6 +198,10 @@ module Akeyless
188
198
  self.creation_statements = attributes[:'creation_statements']
189
199
  end
190
200
 
201
+ if attributes.key?(:'custom_username_template')
202
+ self.custom_username_template = attributes[:'custom_username_template']
203
+ end
204
+
191
205
  if attributes.key?(:'delete_protection')
192
206
  self.delete_protection = attributes[:'delete_protection']
193
207
  end
@@ -252,6 +266,10 @@ module Akeyless
252
266
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
253
267
  end
254
268
 
269
+ if attributes.key?(:'secure_access_db_name')
270
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
271
+ end
272
+
255
273
  if attributes.key?(:'secure_access_db_schema')
256
274
  self.secure_access_db_schema = attributes[:'secure_access_db_schema']
257
275
  end
@@ -333,6 +351,7 @@ module Akeyless
333
351
  return true if self.equal?(o)
334
352
  self.class == o.class &&
335
353
  creation_statements == o.creation_statements &&
354
+ custom_username_template == o.custom_username_template &&
336
355
  delete_protection == o.delete_protection &&
337
356
  description == o.description &&
338
357
  json == o.json &&
@@ -347,6 +366,7 @@ module Akeyless
347
366
  revocation_statement == o.revocation_statement &&
348
367
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
349
368
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
369
+ secure_access_db_name == o.secure_access_db_name &&
350
370
  secure_access_db_schema == o.secure_access_db_schema &&
351
371
  secure_access_delay == o.secure_access_delay &&
352
372
  secure_access_enable == o.secure_access_enable &&
@@ -369,7 +389,7 @@ module Akeyless
369
389
  # Calculates hash code according to all attributes.
370
390
  # @return [Integer] Hash code
371
391
  def hash
372
- [creation_statements, delete_protection, description, 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
392
+ [creation_statements, custom_username_template, delete_protection, description, 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
373
393
  end
374
394
 
375
395
  # 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
 
@@ -107,6 +110,7 @@ module Akeyless
107
110
  def self.attribute_map
108
111
  {
109
112
  :'allow_user_extend_session' => :'allow-user-extend-session',
113
+ :'custom_username_template' => :'custom-username-template',
110
114
  :'delete_protection' => :'delete_protection',
111
115
  :'description' => :'description',
112
116
  :'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
@@ -147,6 +151,7 @@ module Akeyless
147
151
  def self.openapi_types
148
152
  {
149
153
  :'allow_user_extend_session' => :'Integer',
154
+ :'custom_username_template' => :'String',
150
155
  :'delete_protection' => :'String',
151
156
  :'description' => :'String',
152
157
  :'fixed_user_claim_keyname' => :'String',
@@ -203,6 +208,10 @@ module Akeyless
203
208
  self.allow_user_extend_session = attributes[:'allow_user_extend_session']
204
209
  end
205
210
 
211
+ if attributes.key?(:'custom_username_template')
212
+ self.custom_username_template = attributes[:'custom_username_template']
213
+ end
214
+
206
215
  if attributes.key?(:'delete_protection')
207
216
  self.delete_protection = attributes[:'delete_protection']
208
217
  end
@@ -360,6 +369,7 @@ module Akeyless
360
369
  return true if self.equal?(o)
361
370
  self.class == o.class &&
362
371
  allow_user_extend_session == o.allow_user_extend_session &&
372
+ custom_username_template == o.custom_username_template &&
363
373
  delete_protection == o.delete_protection &&
364
374
  description == o.description &&
365
375
  fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
@@ -399,7 +409,7 @@ module Akeyless
399
409
  # Calculates hash code according to all attributes.
400
410
  # @return [Integer] Hash code
401
411
  def hash
402
- [allow_user_extend_session, delete_protection, description, 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
412
+ [allow_user_extend_session, custom_username_template, delete_protection, description, 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
403
413
  end
404
414
 
405
415
  # 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
 
@@ -74,6 +77,7 @@ module Akeyless
74
77
  def self.attribute_map
75
78
  {
76
79
  :'acl_rules' => :'acl-rules',
80
+ :'custom_username_template' => :'custom-username-template',
77
81
  :'delete_protection' => :'delete_protection',
78
82
  :'description' => :'description',
79
83
  :'host' => :'host',
@@ -103,6 +107,7 @@ module Akeyless
103
107
  def self.openapi_types
104
108
  {
105
109
  :'acl_rules' => :'String',
110
+ :'custom_username_template' => :'String',
106
111
  :'delete_protection' => :'String',
107
112
  :'description' => :'String',
108
113
  :'host' => :'String',
@@ -148,6 +153,10 @@ module Akeyless
148
153
  self.acl_rules = attributes[:'acl_rules']
149
154
  end
150
155
 
156
+ if attributes.key?(:'custom_username_template')
157
+ self.custom_username_template = attributes[:'custom_username_template']
158
+ end
159
+
151
160
  if attributes.key?(:'delete_protection')
152
161
  self.delete_protection = attributes[:'delete_protection']
153
162
  end
@@ -257,6 +266,7 @@ module Akeyless
257
266
  return true if self.equal?(o)
258
267
  self.class == o.class &&
259
268
  acl_rules == o.acl_rules &&
269
+ custom_username_template == o.custom_username_template &&
260
270
  delete_protection == o.delete_protection &&
261
271
  description == o.description &&
262
272
  host == o.host &&
@@ -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
- [acl_rules, delete_protection, description, host, json, name, password, password_length, port, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl, username].hash
298
+ [acl_rules, custom_username_template, delete_protection, description, host, json, name, password, password_length, port, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl, username].hash
289
299
  end
290
300
 
291
301
  # 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
 
@@ -80,6 +83,7 @@ module Akeyless
80
83
  def self.attribute_map
81
84
  {
82
85
  :'creation_statements' => :'creation-statements',
86
+ :'custom_username_template' => :'custom-username-template',
83
87
  :'delete_protection' => :'delete_protection',
84
88
  :'description' => :'description',
85
89
  :'json' => :'json',
@@ -111,6 +115,7 @@ module Akeyless
111
115
  def self.openapi_types
112
116
  {
113
117
  :'creation_statements' => :'String',
118
+ :'custom_username_template' => :'String',
114
119
  :'delete_protection' => :'String',
115
120
  :'description' => :'String',
116
121
  :'json' => :'Boolean',
@@ -158,6 +163,10 @@ module Akeyless
158
163
  self.creation_statements = attributes[:'creation_statements']
159
164
  end
160
165
 
166
+ if attributes.key?(:'custom_username_template')
167
+ self.custom_username_template = attributes[:'custom_username_template']
168
+ end
169
+
161
170
  if attributes.key?(:'delete_protection')
162
171
  self.delete_protection = attributes[:'delete_protection']
163
172
  end
@@ -277,6 +286,7 @@ module Akeyless
277
286
  return true if self.equal?(o)
278
287
  self.class == o.class &&
279
288
  creation_statements == o.creation_statements &&
289
+ custom_username_template == o.custom_username_template &&
280
290
  delete_protection == o.delete_protection &&
281
291
  description == o.description &&
282
292
  json == o.json &&
@@ -307,7 +317,7 @@ module Akeyless
307
317
  # Calculates hash code according to all attributes.
308
318
  # @return [Integer] Hash code
309
319
  def hash
310
- [creation_statements, delete_protection, description, 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
320
+ [creation_statements, custom_username_template, delete_protection, description, 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
311
321
  end
312
322
 
313
323
  # 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
 
@@ -37,6 +43,8 @@ module Akeyless
37
43
  # Set output format to JSON
38
44
  attr_accessor :json
39
45
 
46
+ attr_accessor :key_algo
47
+
40
48
  # Dynamic secret name
41
49
  attr_accessor :name
42
50
 
@@ -76,10 +84,13 @@ module Akeyless
76
84
  :'account' => :'account',
77
85
  :'account_password' => :'account-password',
78
86
  :'account_username' => :'account-username',
87
+ :'auth_mode' => :'auth-mode',
88
+ :'custom_username_template' => :'custom-username-template',
79
89
  :'db_name' => :'db-name',
80
90
  :'delete_protection' => :'delete_protection',
81
91
  :'description' => :'description',
82
92
  :'json' => :'json',
93
+ :'key_algo' => :'key-algo',
83
94
  :'name' => :'name',
84
95
  :'password_length' => :'password-length',
85
96
  :'private_key' => :'private-key',
@@ -105,10 +116,13 @@ module Akeyless
105
116
  :'account' => :'String',
106
117
  :'account_password' => :'String',
107
118
  :'account_username' => :'String',
119
+ :'auth_mode' => :'String',
120
+ :'custom_username_template' => :'String',
108
121
  :'db_name' => :'String',
109
122
  :'delete_protection' => :'String',
110
123
  :'description' => :'String',
111
124
  :'json' => :'Boolean',
125
+ :'key_algo' => :'String',
112
126
  :'name' => :'String',
113
127
  :'password_length' => :'String',
114
128
  :'private_key' => :'String',
@@ -156,6 +170,16 @@ module Akeyless
156
170
  self.account_username = attributes[:'account_username']
157
171
  end
158
172
 
173
+ if attributes.key?(:'auth_mode')
174
+ self.auth_mode = attributes[:'auth_mode']
175
+ else
176
+ self.auth_mode = 'password'
177
+ end
178
+
179
+ if attributes.key?(:'custom_username_template')
180
+ self.custom_username_template = attributes[:'custom_username_template']
181
+ end
182
+
159
183
  if attributes.key?(:'db_name')
160
184
  self.db_name = attributes[:'db_name']
161
185
  end
@@ -174,6 +198,10 @@ module Akeyless
174
198
  self.json = false
175
199
  end
176
200
 
201
+ if attributes.key?(:'key_algo')
202
+ self.key_algo = attributes[:'key_algo']
203
+ end
204
+
177
205
  if attributes.key?(:'name')
178
206
  self.name = attributes[:'name']
179
207
  else
@@ -253,10 +281,13 @@ module Akeyless
253
281
  account == o.account &&
254
282
  account_password == o.account_password &&
255
283
  account_username == o.account_username &&
284
+ auth_mode == o.auth_mode &&
285
+ custom_username_template == o.custom_username_template &&
256
286
  db_name == o.db_name &&
257
287
  delete_protection == o.delete_protection &&
258
288
  description == o.description &&
259
289
  json == o.json &&
290
+ key_algo == o.key_algo &&
260
291
  name == o.name &&
261
292
  password_length == o.password_length &&
262
293
  private_key == o.private_key &&
@@ -279,7 +310,7 @@ module Akeyless
279
310
  # Calculates hash code according to all attributes.
280
311
  # @return [Integer] Hash code
281
312
  def hash
282
- [account, account_password, account_username, db_name, delete_protection, description, json, name, password_length, private_key, private_key_passphrase, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
313
+ [account, account_password, account_username, auth_mode, custom_username_template, db_name, delete_protection, description, json, key_algo, name, password_length, private_key, private_key_passphrase, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
283
314
  end
284
315
 
285
316
  # 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
 
@@ -72,6 +75,7 @@ module Akeyless
72
75
  :'artifactory_token_audience' => :'artifactory-token-audience',
73
76
  :'artifactory_token_scope' => :'artifactory-token-scope',
74
77
  :'base_url' => :'base-url',
78
+ :'custom_username_template' => :'custom-username-template',
75
79
  :'delete_protection' => :'delete_protection',
76
80
  :'description' => :'description',
77
81
  :'json' => :'json',
@@ -99,6 +103,7 @@ module Akeyless
99
103
  :'artifactory_token_audience' => :'String',
100
104
  :'artifactory_token_scope' => :'String',
101
105
  :'base_url' => :'String',
106
+ :'custom_username_template' => :'String',
102
107
  :'delete_protection' => :'String',
103
108
  :'description' => :'String',
104
109
  :'json' => :'Boolean',
@@ -158,6 +163,10 @@ module Akeyless
158
163
  self.base_url = attributes[:'base_url']
159
164
  end
160
165
 
166
+ if attributes.key?(:'custom_username_template')
167
+ self.custom_username_template = attributes[:'custom_username_template']
168
+ end
169
+
161
170
  if attributes.key?(:'delete_protection')
162
171
  self.delete_protection = attributes[:'delete_protection']
163
172
  end
@@ -251,6 +260,7 @@ module Akeyless
251
260
  artifactory_token_audience == o.artifactory_token_audience &&
252
261
  artifactory_token_scope == o.artifactory_token_scope &&
253
262
  base_url == o.base_url &&
263
+ custom_username_template == o.custom_username_template &&
254
264
  delete_protection == o.delete_protection &&
255
265
  description == o.description &&
256
266
  json == o.json &&
@@ -273,7 +283,7 @@ module Akeyless
273
283
  # Calculates hash code according to all attributes.
274
284
  # @return [Integer] Hash code
275
285
  def hash
276
- [artifactory_admin_name, artifactory_admin_pwd, artifactory_token_audience, artifactory_token_scope, base_url, delete_protection, description, json, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
286
+ [artifactory_admin_name, artifactory_admin_pwd, artifactory_token_audience, artifactory_token_scope, base_url, custom_username_template, delete_protection, description, json, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
277
287
  end
278
288
 
279
289
  # 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
 
@@ -124,11 +130,13 @@ module Akeyless
124
130
  :'admin_rotation_interval_days' => :'admin-rotation-interval-days',
125
131
  :'aws_access_key_id' => :'aws-access-key-id',
126
132
  :'aws_access_secret_key' => :'aws-access-secret-key',
133
+ :'aws_external_id' => :'aws-external-id',
127
134
  :'aws_role_arns' => :'aws-role-arns',
128
135
  :'aws_user_console_access' => :'aws-user-console-access',
129
136
  :'aws_user_groups' => :'aws-user-groups',
130
137
  :'aws_user_policies' => :'aws-user-policies',
131
138
  :'aws_user_programmatic_access' => :'aws-user-programmatic-access',
139
+ :'custom_username_template' => :'custom-username-template',
132
140
  :'delete_protection' => :'delete_protection',
133
141
  :'description' => :'description',
134
142
  :'enable_admin_rotation' => :'enable-admin-rotation',
@@ -169,11 +177,13 @@ module Akeyless
169
177
  :'admin_rotation_interval_days' => :'Integer',
170
178
  :'aws_access_key_id' => :'String',
171
179
  :'aws_access_secret_key' => :'String',
180
+ :'aws_external_id' => :'String',
172
181
  :'aws_role_arns' => :'String',
173
182
  :'aws_user_console_access' => :'Boolean',
174
183
  :'aws_user_groups' => :'String',
175
184
  :'aws_user_policies' => :'String',
176
185
  :'aws_user_programmatic_access' => :'Boolean',
186
+ :'custom_username_template' => :'String',
177
187
  :'delete_protection' => :'String',
178
188
  :'description' => :'String',
179
189
  :'enable_admin_rotation' => :'Boolean',
@@ -241,6 +251,10 @@ module Akeyless
241
251
  self.aws_access_secret_key = attributes[:'aws_access_secret_key']
242
252
  end
243
253
 
254
+ if attributes.key?(:'aws_external_id')
255
+ self.aws_external_id = attributes[:'aws_external_id']
256
+ end
257
+
244
258
  if attributes.key?(:'aws_role_arns')
245
259
  self.aws_role_arns = attributes[:'aws_role_arns']
246
260
  end
@@ -265,6 +279,10 @@ module Akeyless
265
279
  self.aws_user_programmatic_access = true
266
280
  end
267
281
 
282
+ if attributes.key?(:'custom_username_template')
283
+ self.custom_username_template = attributes[:'custom_username_template']
284
+ end
285
+
268
286
  if attributes.key?(:'delete_protection')
269
287
  self.delete_protection = attributes[:'delete_protection']
270
288
  end
@@ -413,11 +431,13 @@ module Akeyless
413
431
  admin_rotation_interval_days == o.admin_rotation_interval_days &&
414
432
  aws_access_key_id == o.aws_access_key_id &&
415
433
  aws_access_secret_key == o.aws_access_secret_key &&
434
+ aws_external_id == o.aws_external_id &&
416
435
  aws_role_arns == o.aws_role_arns &&
417
436
  aws_user_console_access == o.aws_user_console_access &&
418
437
  aws_user_groups == o.aws_user_groups &&
419
438
  aws_user_policies == o.aws_user_policies &&
420
439
  aws_user_programmatic_access == o.aws_user_programmatic_access &&
440
+ custom_username_template == o.custom_username_template &&
421
441
  delete_protection == o.delete_protection &&
422
442
  description == o.description &&
423
443
  enable_admin_rotation == o.enable_admin_rotation &&
@@ -454,7 +474,7 @@ module Akeyless
454
474
  # Calculates hash code according to all attributes.
455
475
  # @return [Integer] Hash code
456
476
  def hash
457
- [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, description, 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
477
+ [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, description, 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
458
478
  end
459
479
 
460
480
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Azure App Object Id
20
20
  attr_accessor :app_obj_id
21
21
 
22
+ # Azure AD administrative unit (relevant only when azure-user-portal-access=true)
23
+ attr_accessor :azure_administrative_unit
24
+
22
25
  # Azure Client ID
23
26
  attr_accessor :azure_client_id
24
27
 
@@ -28,6 +31,9 @@ module Akeyless
28
31
  # Azure Tenant ID
29
32
  attr_accessor :azure_tenant_id
30
33
 
34
+ # Customize how temporary usernames are generated using go template
35
+ attr_accessor :custom_username_template
36
+
31
37
  # Protection from accidental deletion of this object [true/false]
32
38
  attr_accessor :delete_protection
33
39
 
@@ -104,9 +110,11 @@ module Akeyless
104
110
  def self.attribute_map
105
111
  {
106
112
  :'app_obj_id' => :'app-obj-id',
113
+ :'azure_administrative_unit' => :'azure-administrative-unit',
107
114
  :'azure_client_id' => :'azure-client-id',
108
115
  :'azure_client_secret' => :'azure-client-secret',
109
116
  :'azure_tenant_id' => :'azure-tenant-id',
117
+ :'custom_username_template' => :'custom-username-template',
110
118
  :'delete_protection' => :'delete_protection',
111
119
  :'description' => :'description',
112
120
  :'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
@@ -143,9 +151,11 @@ module Akeyless
143
151
  def self.openapi_types
144
152
  {
145
153
  :'app_obj_id' => :'String',
154
+ :'azure_administrative_unit' => :'String',
146
155
  :'azure_client_id' => :'String',
147
156
  :'azure_client_secret' => :'String',
148
157
  :'azure_tenant_id' => :'String',
158
+ :'custom_username_template' => :'String',
149
159
  :'delete_protection' => :'String',
150
160
  :'description' => :'String',
151
161
  :'fixed_user_claim_keyname' => :'String',
@@ -198,6 +208,10 @@ module Akeyless
198
208
  self.app_obj_id = attributes[:'app_obj_id']
199
209
  end
200
210
 
211
+ if attributes.key?(:'azure_administrative_unit')
212
+ self.azure_administrative_unit = attributes[:'azure_administrative_unit']
213
+ end
214
+
201
215
  if attributes.key?(:'azure_client_id')
202
216
  self.azure_client_id = attributes[:'azure_client_id']
203
217
  end
@@ -210,6 +224,10 @@ module Akeyless
210
224
  self.azure_tenant_id = attributes[:'azure_tenant_id']
211
225
  end
212
226
 
227
+ if attributes.key?(:'custom_username_template')
228
+ self.custom_username_template = attributes[:'custom_username_template']
229
+ end
230
+
213
231
  if attributes.key?(:'delete_protection')
214
232
  self.delete_protection = attributes[:'delete_protection']
215
233
  end
@@ -355,9 +373,11 @@ module Akeyless
355
373
  return true if self.equal?(o)
356
374
  self.class == o.class &&
357
375
  app_obj_id == o.app_obj_id &&
376
+ azure_administrative_unit == o.azure_administrative_unit &&
358
377
  azure_client_id == o.azure_client_id &&
359
378
  azure_client_secret == o.azure_client_secret &&
360
379
  azure_tenant_id == o.azure_tenant_id &&
380
+ custom_username_template == o.custom_username_template &&
361
381
  delete_protection == o.delete_protection &&
362
382
  description == o.description &&
363
383
  fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
@@ -393,7 +413,7 @@ module Akeyless
393
413
  # Calculates hash code according to all attributes.
394
414
  # @return [Integer] Hash code
395
415
  def hash
396
- [app_obj_id, azure_client_id, azure_client_secret, azure_tenant_id, delete_protection, description, fixed_user_claim_keyname, fixed_user_only, json, name, new_name, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
416
+ [app_obj_id, azure_administrative_unit, azure_client_id, azure_client_secret, azure_tenant_id, custom_username_template, delete_protection, description, fixed_user_claim_keyname, fixed_user_only, json, name, new_name, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
397
417
  end
398
418
 
399
419
  # Builds the object from hash