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
  # gatewayUpdateProducerMySQL is a command that updates mysql producer [Deprecated: Use dynamic-secret-update-mysql command]
18
18
  class GatewayUpdateProducerMySQL
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
 
@@ -67,6 +70,9 @@ module Akeyless
67
70
  # Path to the SSH Certificate Issuer for your Akeyless Secure Access
68
71
  attr_accessor :secure_access_certificate_issuer
69
72
 
73
+ # The DB name (relevant only for DB Dynamic-Secret)
74
+ attr_accessor :secure_access_db_name
75
+
70
76
  # The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
71
77
  attr_accessor :secure_access_delay
72
78
 
@@ -103,6 +109,7 @@ module Akeyless
103
109
  # Attribute mapping from ruby-style variable name to JSON key.
104
110
  def self.attribute_map
105
111
  {
112
+ :'custom_username_template' => :'custom-username-template',
106
113
  :'db_server_certificates' => :'db-server-certificates',
107
114
  :'db_server_name' => :'db-server-name',
108
115
  :'delete_protection' => :'delete_protection',
@@ -120,6 +127,7 @@ module Akeyless
120
127
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
121
128
  :'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
122
129
  :'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
130
+ :'secure_access_db_name' => :'secure-access-db-name',
123
131
  :'secure_access_delay' => :'secure-access-delay',
124
132
  :'secure_access_enable' => :'secure-access-enable',
125
133
  :'secure_access_host' => :'secure-access-host',
@@ -142,6 +150,7 @@ module Akeyless
142
150
  # Attribute type mapping.
143
151
  def self.openapi_types
144
152
  {
153
+ :'custom_username_template' => :'String',
145
154
  :'db_server_certificates' => :'String',
146
155
  :'db_server_name' => :'String',
147
156
  :'delete_protection' => :'String',
@@ -159,6 +168,7 @@ module Akeyless
159
168
  :'producer_encryption_key_name' => :'String',
160
169
  :'secure_access_bastion_issuer' => :'String',
161
170
  :'secure_access_certificate_issuer' => :'String',
171
+ :'secure_access_db_name' => :'String',
162
172
  :'secure_access_delay' => :'Integer',
163
173
  :'secure_access_enable' => :'String',
164
174
  :'secure_access_host' => :'Array<String>',
@@ -194,6 +204,10 @@ module Akeyless
194
204
  h[k.to_sym] = v
195
205
  }
196
206
 
207
+ if attributes.key?(:'custom_username_template')
208
+ self.custom_username_template = attributes[:'custom_username_template']
209
+ end
210
+
197
211
  if attributes.key?(:'db_server_certificates')
198
212
  self.db_server_certificates = attributes[:'db_server_certificates']
199
213
  end
@@ -270,6 +284,10 @@ module Akeyless
270
284
  self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
271
285
  end
272
286
 
287
+ if attributes.key?(:'secure_access_db_name')
288
+ self.secure_access_db_name = attributes[:'secure_access_db_name']
289
+ end
290
+
273
291
  if attributes.key?(:'secure_access_delay')
274
292
  self.secure_access_delay = attributes[:'secure_access_delay']
275
293
  end
@@ -350,6 +368,7 @@ module Akeyless
350
368
  def ==(o)
351
369
  return true if self.equal?(o)
352
370
  self.class == o.class &&
371
+ custom_username_template == o.custom_username_template &&
353
372
  db_server_certificates == o.db_server_certificates &&
354
373
  db_server_name == o.db_server_name &&
355
374
  delete_protection == o.delete_protection &&
@@ -367,6 +386,7 @@ module Akeyless
367
386
  producer_encryption_key_name == o.producer_encryption_key_name &&
368
387
  secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
369
388
  secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
389
+ secure_access_db_name == o.secure_access_db_name &&
370
390
  secure_access_delay == o.secure_access_delay &&
371
391
  secure_access_enable == o.secure_access_enable &&
372
392
  secure_access_host == o.secure_access_host &&
@@ -389,7 +409,7 @@ module Akeyless
389
409
  # Calculates hash code according to all attributes.
390
410
  # @return [Integer] Hash code
391
411
  def hash
392
- [db_server_certificates, db_server_name, delete_protection, json, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_revocation_statements, mysql_screation_statements, mysql_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
412
+ [custom_username_template, db_server_certificates, db_server_name, delete_protection, json, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_revocation_statements, mysql_screation_statements, mysql_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
393
413
  end
394
414
 
395
415
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayUpdateProducerNativeK8S is a command that updates k8s producer [Deprecated: Use dynamic-secret-update-k8s command]
18
18
  class GatewayUpdateProducerNativeK8S
19
+ # Customize how temporary usernames are generated using go template
20
+ attr_accessor :custom_username_template
21
+
19
22
  # Protection from accidental deletion of this object [true/false]
20
23
  attr_accessor :delete_protection
21
24
 
@@ -115,6 +118,7 @@ module Akeyless
115
118
  # Attribute mapping from ruby-style variable name to JSON key.
116
119
  def self.attribute_map
117
120
  {
121
+ :'custom_username_template' => :'custom-username-template',
118
122
  :'delete_protection' => :'delete_protection',
119
123
  :'json' => :'json',
120
124
  :'k8s_allowed_namespaces' => :'k8s-allowed-namespaces',
@@ -158,6 +162,7 @@ module Akeyless
158
162
  # Attribute type mapping.
159
163
  def self.openapi_types
160
164
  {
165
+ :'custom_username_template' => :'String',
161
166
  :'delete_protection' => :'String',
162
167
  :'json' => :'Boolean',
163
168
  :'k8s_allowed_namespaces' => :'String',
@@ -214,6 +219,10 @@ module Akeyless
214
219
  h[k.to_sym] = v
215
220
  }
216
221
 
222
+ if attributes.key?(:'custom_username_template')
223
+ self.custom_username_template = attributes[:'custom_username_template']
224
+ end
225
+
217
226
  if attributes.key?(:'delete_protection')
218
227
  self.delete_protection = attributes[:'delete_protection']
219
228
  end
@@ -382,6 +391,7 @@ module Akeyless
382
391
  def ==(o)
383
392
  return true if self.equal?(o)
384
393
  self.class == o.class &&
394
+ custom_username_template == o.custom_username_template &&
385
395
  delete_protection == o.delete_protection &&
386
396
  json == o.json &&
387
397
  k8s_allowed_namespaces == o.k8s_allowed_namespaces &&
@@ -425,7 +435,7 @@ module Akeyless
425
435
  # Calculates hash code according to all attributes.
426
436
  # @return [Integer] Hash code
427
437
  def hash
428
- [delete_protection, json, k8s_allowed_namespaces, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, k8s_namespace, k8s_predefined_role_name, k8s_predefined_role_type, k8s_rolebinding_yaml_def, k8s_service_account, k8s_service_account_type, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, use_gw_service_account, user_ttl].hash
438
+ [custom_username_template, delete_protection, json, k8s_allowed_namespaces, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, k8s_namespace, k8s_predefined_role_name, k8s_predefined_role_type, k8s_rolebinding_yaml_def, k8s_service_account, k8s_service_account_type, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, use_gw_service_account, user_ttl].hash
429
439
  end
430
440
 
431
441
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # gatewayUpdateProducerOracleDb is a command that updates oracle db producer [Deprecated: Use dynamic-secret-update-oracledb command]
18
18
  class GatewayUpdateProducerOracleDb
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, json, name, new_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, json, name, new_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
  :'json' => :'json',
103
110
  :'name' => :'name',
@@ -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
  :'json' => :'Boolean',
140
149
  :'name' => :'String',
@@ -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
  json == o.json &&
338
357
  name == o.name &&
@@ -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, json, name, new_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, json, name, new_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
  :'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
112
116
  :'fixed_user_only' => :'fixed-user-only',
@@ -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
  :'fixed_user_claim_keyname' => :'String',
152
157
  :'fixed_user_only' => :'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
  fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
365
375
  fixed_user_only == o.fixed_user_only &&
@@ -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, fixed_user_claim_keyname, fixed_user_only, json, name, new_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, fixed_user_claim_keyname, fixed_user_only, json, name, new_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
  :'host' => :'host',
79
83
  :'json' => :'json',
@@ -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
  :'host' => :'String',
108
113
  :'json' => :'Boolean',
@@ -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
  host == o.host &&
262
272
  json == o.json &&
@@ -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, host, json, name, new_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, host, json, name, new_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
  :'json' => :'json',
85
89
  :'name' => :'name',
@@ -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
  :'json' => :'Boolean',
116
121
  :'name' => :'String',
@@ -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
  json == o.json &&
282
292
  name == o.name &&
@@ -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, json, name, new_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, json, name, new_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
 
@@ -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
 
@@ -76,9 +84,12 @@ 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
  :'json' => :'json',
92
+ :'key_algo' => :'key-algo',
82
93
  :'name' => :'name',
83
94
  :'new_name' => :'new-name',
84
95
  :'password_length' => :'password-length',
@@ -105,9 +116,12 @@ 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
  :'json' => :'Boolean',
124
+ :'key_algo' => :'String',
111
125
  :'name' => :'String',
112
126
  :'new_name' => :'String',
113
127
  :'password_length' => :'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
@@ -170,6 +194,10 @@ module Akeyless
170
194
  self.json = false
171
195
  end
172
196
 
197
+ if attributes.key?(:'key_algo')
198
+ self.key_algo = attributes[:'key_algo']
199
+ end
200
+
173
201
  if attributes.key?(:'name')
174
202
  self.name = attributes[:'name']
175
203
  else
@@ -253,9 +281,12 @@ 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
  json == o.json &&
289
+ key_algo == o.key_algo &&
259
290
  name == o.name &&
260
291
  new_name == o.new_name &&
261
292
  password_length == o.password_length &&
@@ -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, json, name, new_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, json, key_algo, name, new_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
@@ -23,6 +23,8 @@ module Akeyless
23
23
 
24
24
  attr_accessor :gcp_service_account_key_id
25
25
 
26
+ attr_accessor :grace_rotated_secret_key
27
+
26
28
  attr_accessor :use_gw_cloud_identity
27
29
 
28
30
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -32,6 +34,7 @@ module Akeyless
32
34
  :'gcp_service_account_key' => :'gcp_service_account_key',
33
35
  :'gcp_service_account_key_base64' => :'gcp_service_account_key_base64',
34
36
  :'gcp_service_account_key_id' => :'gcp_service_account_key_id',
37
+ :'grace_rotated_secret_key' => :'grace_rotated_secret_key',
35
38
  :'use_gw_cloud_identity' => :'use_gw_cloud_identity'
36
39
  }
37
40
  end
@@ -48,6 +51,7 @@ module Akeyless
48
51
  :'gcp_service_account_key' => :'String',
49
52
  :'gcp_service_account_key_base64' => :'String',
50
53
  :'gcp_service_account_key_id' => :'String',
54
+ :'grace_rotated_secret_key' => :'String',
51
55
  :'use_gw_cloud_identity' => :'Boolean'
52
56
  }
53
57
  end
@@ -89,6 +93,10 @@ module Akeyless
89
93
  self.gcp_service_account_key_id = attributes[:'gcp_service_account_key_id']
90
94
  end
91
95
 
96
+ if attributes.key?(:'grace_rotated_secret_key')
97
+ self.grace_rotated_secret_key = attributes[:'grace_rotated_secret_key']
98
+ end
99
+
92
100
  if attributes.key?(:'use_gw_cloud_identity')
93
101
  self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
94
102
  end
@@ -118,6 +126,7 @@ module Akeyless
118
126
  gcp_service_account_key == o.gcp_service_account_key &&
119
127
  gcp_service_account_key_base64 == o.gcp_service_account_key_base64 &&
120
128
  gcp_service_account_key_id == o.gcp_service_account_key_id &&
129
+ grace_rotated_secret_key == o.grace_rotated_secret_key &&
121
130
  use_gw_cloud_identity == o.use_gw_cloud_identity
122
131
  end
123
132
 
@@ -130,7 +139,7 @@ module Akeyless
130
139
  # Calculates hash code according to all attributes.
131
140
  # @return [Integer] Hash code
132
141
  def hash
133
- [gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_key_id, use_gw_cloud_identity].hash
142
+ [gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_key_id, grace_rotated_secret_key, use_gw_cloud_identity].hash
134
143
  end
135
144
 
136
145
  # Builds the object from hash
@@ -46,7 +46,7 @@ module Akeyless
46
46
  def self.openapi_types
47
47
  {
48
48
  :'assoc_id' => :'String',
49
- :'attributes' => :'RemoteSecretInfo',
49
+ :'attributes' => :'UscSyncInfo',
50
50
  :'item_id' => :'Integer',
51
51
  :'item_name' => :'String',
52
52
  :'item_type' => :'String'