akeyless 4.2.3 → 4.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +54 -2
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/AcmeAccount.md +22 -0
  5. data/docs/AuthMethodRoleAssociation.md +2 -0
  6. data/docs/AwsStorage.md +28 -0
  7. data/docs/AzureStorage.md +28 -0
  8. data/docs/BastionConfigReplyObj.md +28 -0
  9. data/docs/BastionGlobalConf.md +24 -0
  10. data/docs/ChangeAdminAccountPassword.md +26 -0
  11. data/docs/Configure.md +8 -0
  12. data/docs/Connect.md +2 -2
  13. data/docs/CreateClassicKey.md +8 -0
  14. data/docs/CreateDFCKey.md +8 -0
  15. data/docs/CreatePKICertIssuer.md +5 -1
  16. data/docs/DeactivateAcmeAccount.md +28 -0
  17. data/docs/DynamicSecretUpdateArtifactory.md +1 -1
  18. data/docs/DynamicSecretUpdateAws.md +1 -1
  19. data/docs/DynamicSecretUpdateAzure.md +1 -1
  20. data/docs/DynamicSecretUpdateCassandra.md +1 -1
  21. data/docs/DynamicSecretUpdateChef.md +1 -1
  22. data/docs/DynamicSecretUpdateCustom.md +1 -1
  23. data/docs/DynamicSecretUpdateDockerhub.md +1 -1
  24. data/docs/DynamicSecretUpdateEks.md +1 -1
  25. data/docs/DynamicSecretUpdateGcp.md +1 -1
  26. data/docs/DynamicSecretUpdateGithub.md +1 -1
  27. data/docs/DynamicSecretUpdateGitlab.md +1 -1
  28. data/docs/DynamicSecretUpdateGke.md +1 -1
  29. data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
  30. data/docs/DynamicSecretUpdateHanaDb.md +1 -1
  31. data/docs/DynamicSecretUpdateK8s.md +1 -1
  32. data/docs/DynamicSecretUpdateLdap.md +1 -1
  33. data/docs/DynamicSecretUpdateMongoDb.md +1 -1
  34. data/docs/DynamicSecretUpdateMsSql.md +1 -1
  35. data/docs/DynamicSecretUpdateMySql.md +1 -1
  36. data/docs/DynamicSecretUpdateOracleDb.md +1 -1
  37. data/docs/DynamicSecretUpdatePing.md +1 -1
  38. data/docs/DynamicSecretUpdateVenafi.md +1 -1
  39. data/docs/EmailPassAccessRules.md +3 -1
  40. data/docs/EventForwarderCreateEmail.md +2 -2
  41. data/docs/EventForwarderCreateServiceNow.md +1 -1
  42. data/docs/EventForwarderCreateSlack.md +1 -1
  43. data/docs/EventForwarderCreateWebhook.md +1 -1
  44. data/docs/EventForwarderUpdateEmail.md +2 -2
  45. data/docs/EventForwarderUpdateServiceNow.md +1 -1
  46. data/docs/EventForwarderUpdateSlack.md +1 -1
  47. data/docs/EventForwarderUpdateWebhook.md +1 -1
  48. data/docs/GatewayGetRemoteAccess.md +22 -0
  49. data/docs/GatewayUpdateItem.md +2 -0
  50. data/docs/GatewayUpdateRemoteAccess.md +36 -0
  51. data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +46 -0
  52. data/docs/GenerateAcmeEab.md +24 -0
  53. data/docs/GenerateAcmeEabOutput.md +22 -0
  54. data/docs/GetGroupOutput.md +2 -0
  55. data/docs/GetKubeExecCreds.md +1 -1
  56. data/docs/GetPKICertificate.md +1 -1
  57. data/docs/Group.md +2 -0
  58. data/docs/GwUpdateRemoteAccessSessionLogsAwsS3.md +42 -0
  59. data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +32 -0
  60. data/docs/GwUpdateRemoteAccessSessionLogsDatadog.md +38 -0
  61. data/docs/GwUpdateRemoteAccessSessionLogsElasticsearch.md +48 -0
  62. data/docs/GwUpdateRemoteAccessSessionLogsGoogleChronicle.md +36 -0
  63. data/docs/GwUpdateRemoteAccessSessionLogsLogstash.md +36 -0
  64. data/docs/GwUpdateRemoteAccessSessionLogsLogzIo.md +32 -0
  65. data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +42 -0
  66. data/docs/GwUpdateRemoteAccessSessionLogsStdout.md +28 -0
  67. data/docs/GwUpdateRemoteAccessSessionLogsSumologic.md +34 -0
  68. data/docs/GwUpdateRemoteAccessSessionLogsSyslog.md +40 -0
  69. data/docs/ItemGeneralInfo.md +4 -0
  70. data/docs/ListAcmeAccounts.md +24 -0
  71. data/docs/ListAcmeAccountsOutput.md +18 -0
  72. data/docs/NextAutoRotationEvent.md +18 -0
  73. data/docs/PKICertificateIssueDetails.md +4 -0
  74. data/docs/PasswordExpirationInfo.md +24 -0
  75. data/docs/ResetAccessKey.md +24 -0
  76. data/docs/ResetAuthMethodAccessKeyOutput.md +18 -0
  77. data/docs/RoleAssociationDetails.md +2 -0
  78. data/docs/RoleAuthMethodAssociation.md +2 -0
  79. data/docs/RollbackSecret.md +2 -0
  80. data/docs/RotatedSecretCreateAws.md +2 -0
  81. data/docs/RotatedSecretCreateAzure.md +2 -0
  82. data/docs/RotatedSecretCreateCassandra.md +2 -0
  83. data/docs/RotatedSecretCreateCustom.md +2 -0
  84. data/docs/RotatedSecretCreateDockerhub.md +2 -0
  85. data/docs/RotatedSecretCreateGcp.md +2 -0
  86. data/docs/RotatedSecretCreateHanadb.md +2 -0
  87. data/docs/RotatedSecretCreateLdap.md +2 -0
  88. data/docs/RotatedSecretCreateMongodb.md +2 -0
  89. data/docs/RotatedSecretCreateMssql.md +2 -0
  90. data/docs/RotatedSecretCreateMysql.md +2 -0
  91. data/docs/RotatedSecretCreateOracledb.md +2 -0
  92. data/docs/RotatedSecretCreatePostgresql.md +2 -0
  93. data/docs/RotatedSecretCreateRedis.md +2 -0
  94. data/docs/RotatedSecretCreateRedshift.md +2 -0
  95. data/docs/RotatedSecretCreateSnowflake.md +2 -0
  96. data/docs/RotatedSecretCreateSsh.md +2 -0
  97. data/docs/RotatedSecretCreateWindows.md +2 -0
  98. data/docs/RotatedSecretUpdateAws.md +2 -0
  99. data/docs/RotatedSecretUpdateAzure.md +2 -0
  100. data/docs/RotatedSecretUpdateCassandra.md +2 -0
  101. data/docs/RotatedSecretUpdateCustom.md +2 -0
  102. data/docs/RotatedSecretUpdateDockerhub.md +2 -0
  103. data/docs/RotatedSecretUpdateGcp.md +2 -0
  104. data/docs/RotatedSecretUpdateHanadb.md +2 -0
  105. data/docs/RotatedSecretUpdateLdap.md +2 -0
  106. data/docs/RotatedSecretUpdateMongodb.md +2 -0
  107. data/docs/RotatedSecretUpdateMssql.md +2 -0
  108. data/docs/RotatedSecretUpdateMysql.md +2 -0
  109. data/docs/RotatedSecretUpdateOracledb.md +2 -0
  110. data/docs/RotatedSecretUpdatePostgresql.md +2 -0
  111. data/docs/RotatedSecretUpdateRedis.md +2 -0
  112. data/docs/RotatedSecretUpdateRedshift.md +2 -0
  113. data/docs/RotatedSecretUpdateSnowflake.md +2 -0
  114. data/docs/RotatedSecretUpdateSsh.md +2 -0
  115. data/docs/RotatedSecretUpdateWindows.md +2 -0
  116. data/docs/SshBastionConf.md +24 -0
  117. data/docs/SshBastionSessionTermination.md +26 -0
  118. data/docs/UpdateAccountSettings.md +6 -0
  119. data/docs/UpdateClassicKeyCertificate.md +2 -0
  120. data/docs/UpdateItem.md +4 -0
  121. data/docs/UpdatePKICertIssuer.md +5 -1
  122. data/docs/UpdateRotationSettings.md +2 -0
  123. data/docs/UpdateTarget.md +1 -1
  124. data/docs/UploadRSA.md +2 -0
  125. data/docs/V2Api.md +1356 -225
  126. data/docs/WebBastionConf.md +20 -0
  127. data/docs/WebBastionGuacamole.md +18 -0
  128. data/docs/WebBastionRdpRecord.md +22 -0
  129. data/lib/akeyless/api/v2_api.rb +1360 -219
  130. data/lib/akeyless/models/account_general_settings.rb +10 -1
  131. data/lib/akeyless/models/acme_account.rb +234 -0
  132. data/lib/akeyless/models/auth_method_role_association.rb +10 -1
  133. data/lib/akeyless/models/aws_storage.rb +260 -0
  134. data/lib/akeyless/models/azure_storage.rb +260 -0
  135. data/lib/akeyless/models/bastion_config_reply_obj.rb +259 -0
  136. data/lib/akeyless/models/bastion_global_conf.rb +243 -0
  137. data/lib/akeyless/models/change_admin_account_password.rb +271 -0
  138. data/lib/akeyless/models/configure.rb +41 -1
  139. data/lib/akeyless/models/connect.rb +11 -11
  140. data/lib/akeyless/models/create_classic_key.rb +45 -1
  141. data/lib/akeyless/models/create_dfc_key.rb +45 -1
  142. data/lib/akeyless/models/create_pki_cert_issuer.rb +24 -2
  143. data/lib/akeyless/models/deactivate_acme_account.rb +282 -0
  144. data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
  145. data/lib/akeyless/models/dynamic_secret_update_aws.rb +1 -1
  146. data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
  147. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
  148. data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
  149. data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
  150. data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
  151. data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
  152. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
  153. data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
  154. data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
  155. data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
  156. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
  157. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
  158. data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
  159. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
  160. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
  161. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
  162. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
  163. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
  164. data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
  165. data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
  166. data/lib/akeyless/models/email_pass_access_rules.rb +14 -4
  167. data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
  168. data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
  169. data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
  170. data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
  171. data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
  172. data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
  173. data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
  174. data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
  175. data/lib/akeyless/models/gateway_get_remote_access.rb +238 -0
  176. data/lib/akeyless/models/gateway_update_item.rb +13 -1
  177. data/lib/akeyless/models/gateway_update_remote_access.rb +318 -0
  178. data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +358 -0
  179. data/lib/akeyless/models/generate_acme_eab.rb +254 -0
  180. data/lib/akeyless/models/generate_acme_eab_output.rb +232 -0
  181. data/lib/akeyless/models/get_group_output.rb +10 -1
  182. data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
  183. data/lib/akeyless/models/get_pki_certificate.rb +1 -1
  184. data/lib/akeyless/models/group.rb +10 -1
  185. data/lib/akeyless/models/gw_update_remote_access_session_logs_aws_s3.rb +346 -0
  186. data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +294 -0
  187. data/lib/akeyless/models/gw_update_remote_access_session_logs_datadog.rb +330 -0
  188. data/lib/akeyless/models/gw_update_remote_access_session_logs_elasticsearch.rb +376 -0
  189. data/lib/akeyless/models/gw_update_remote_access_session_logs_google_chronicle.rb +314 -0
  190. data/lib/akeyless/models/gw_update_remote_access_session_logs_logstash.rb +316 -0
  191. data/lib/akeyless/models/gw_update_remote_access_session_logs_logz_io.rb +294 -0
  192. data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +350 -0
  193. data/lib/akeyless/models/gw_update_remote_access_session_logs_stdout.rb +274 -0
  194. data/lib/akeyless/models/gw_update_remote_access_session_logs_sumologic.rb +308 -0
  195. data/lib/akeyless/models/gw_update_remote_access_session_logs_syslog.rb +342 -0
  196. data/lib/akeyless/models/item_general_info.rb +23 -1
  197. data/lib/akeyless/models/list_acme_accounts.rb +255 -0
  198. data/lib/akeyless/models/list_acme_accounts_output.rb +216 -0
  199. data/lib/akeyless/models/next_auto_rotation_event.rb +214 -0
  200. data/lib/akeyless/models/password_expiration_info.rb +242 -0
  201. data/lib/akeyless/models/pki_certificate_issue_details.rb +19 -1
  202. data/lib/akeyless/models/reset_access_key.rb +255 -0
  203. data/lib/akeyless/models/reset_auth_method_access_key_output.rb +215 -0
  204. data/lib/akeyless/models/role_association_details.rb +10 -1
  205. data/lib/akeyless/models/role_auth_method_association.rb +10 -1
  206. data/lib/akeyless/models/rollback_secret.rb +13 -1
  207. data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -1
  208. data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -1
  209. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +13 -1
  210. data/lib/akeyless/models/rotated_secret_create_custom.rb +13 -1
  211. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +13 -1
  212. data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -1
  213. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +13 -1
  214. data/lib/akeyless/models/rotated_secret_create_ldap.rb +13 -1
  215. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +13 -1
  216. data/lib/akeyless/models/rotated_secret_create_mssql.rb +13 -1
  217. data/lib/akeyless/models/rotated_secret_create_mysql.rb +13 -1
  218. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +13 -1
  219. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +13 -1
  220. data/lib/akeyless/models/rotated_secret_create_redis.rb +13 -1
  221. data/lib/akeyless/models/rotated_secret_create_redshift.rb +13 -1
  222. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +13 -1
  223. data/lib/akeyless/models/rotated_secret_create_ssh.rb +13 -1
  224. data/lib/akeyless/models/rotated_secret_create_windows.rb +13 -1
  225. data/lib/akeyless/models/rotated_secret_update_aws.rb +13 -1
  226. data/lib/akeyless/models/rotated_secret_update_azure.rb +13 -1
  227. data/lib/akeyless/models/rotated_secret_update_cassandra.rb +13 -1
  228. data/lib/akeyless/models/rotated_secret_update_custom.rb +13 -1
  229. data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +13 -1
  230. data/lib/akeyless/models/rotated_secret_update_gcp.rb +13 -1
  231. data/lib/akeyless/models/rotated_secret_update_hanadb.rb +13 -1
  232. data/lib/akeyless/models/rotated_secret_update_ldap.rb +13 -1
  233. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +13 -1
  234. data/lib/akeyless/models/rotated_secret_update_mssql.rb +13 -1
  235. data/lib/akeyless/models/rotated_secret_update_mysql.rb +13 -1
  236. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +13 -1
  237. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +13 -1
  238. data/lib/akeyless/models/rotated_secret_update_redis.rb +13 -1
  239. data/lib/akeyless/models/rotated_secret_update_redshift.rb +13 -1
  240. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +13 -1
  241. data/lib/akeyless/models/rotated_secret_update_ssh.rb +13 -1
  242. data/lib/akeyless/models/rotated_secret_update_windows.rb +13 -1
  243. data/lib/akeyless/models/ssh_bastion_conf.rb +241 -0
  244. data/lib/akeyless/models/ssh_bastion_session_termination.rb +250 -0
  245. data/lib/akeyless/models/update_account_settings.rb +31 -1
  246. data/lib/akeyless/models/update_classic_key_certificate.rb +10 -1
  247. data/lib/akeyless/models/update_item.rb +22 -1
  248. data/lib/akeyless/models/update_pki_cert_issuer.rb +24 -2
  249. data/lib/akeyless/models/update_rotation_settings.rb +13 -1
  250. data/lib/akeyless/models/update_target.rb +1 -1
  251. data/lib/akeyless/models/upload_rsa.rb +13 -1
  252. data/lib/akeyless/models/web_bastion_conf.rb +223 -0
  253. data/lib/akeyless/models/web_bastion_guacamole.rb +214 -0
  254. data/lib/akeyless/models/web_bastion_rdp_record.rb +232 -0
  255. data/lib/akeyless/version.rb +1 -1
  256. data/lib/akeyless.rb +34 -0
  257. data/spec/models/acme_account_spec.rb +48 -0
  258. data/spec/models/aws_storage_spec.rb +66 -0
  259. data/spec/models/azure_storage_spec.rb +66 -0
  260. data/spec/models/bastion_config_reply_obj_spec.rb +66 -0
  261. data/spec/models/bastion_global_conf_spec.rb +54 -0
  262. data/spec/models/change_admin_account_password_spec.rb +60 -0
  263. data/spec/models/deactivate_acme_account_spec.rb +66 -0
  264. data/spec/models/gateway_get_remote_access_spec.rb +48 -0
  265. data/spec/models/gateway_update_remote_access_rdp_recordings_spec.rb +120 -0
  266. data/spec/models/gateway_update_remote_access_spec.rb +90 -0
  267. data/spec/models/generate_acme_eab_output_spec.rb +48 -0
  268. data/spec/models/generate_acme_eab_spec.rb +54 -0
  269. data/spec/models/gw_update_remote_access_session_logs_aws_s3_spec.rb +108 -0
  270. data/spec/models/gw_update_remote_access_session_logs_azure_analytics_spec.rb +78 -0
  271. data/spec/models/gw_update_remote_access_session_logs_datadog_spec.rb +96 -0
  272. data/spec/models/gw_update_remote_access_session_logs_elasticsearch_spec.rb +126 -0
  273. data/spec/models/gw_update_remote_access_session_logs_google_chronicle_spec.rb +90 -0
  274. data/spec/models/gw_update_remote_access_session_logs_logstash_spec.rb +90 -0
  275. data/spec/models/gw_update_remote_access_session_logs_logz_io_spec.rb +78 -0
  276. data/spec/models/gw_update_remote_access_session_logs_splunk_spec.rb +108 -0
  277. data/spec/models/gw_update_remote_access_session_logs_stdout_spec.rb +66 -0
  278. data/spec/models/gw_update_remote_access_session_logs_sumologic_spec.rb +84 -0
  279. data/spec/models/gw_update_remote_access_session_logs_syslog_spec.rb +102 -0
  280. data/spec/models/list_acme_accounts_output_spec.rb +36 -0
  281. data/spec/models/list_acme_accounts_spec.rb +54 -0
  282. data/spec/models/next_auto_rotation_event_spec.rb +36 -0
  283. data/spec/models/password_expiration_info_spec.rb +54 -0
  284. data/spec/models/reset_access_key_spec.rb +54 -0
  285. data/spec/models/reset_auth_method_access_key_output_spec.rb +36 -0
  286. data/spec/models/ssh_bastion_conf_spec.rb +54 -0
  287. data/spec/models/ssh_bastion_session_termination_spec.rb +60 -0
  288. data/spec/models/web_bastion_conf_spec.rb +42 -0
  289. data/spec/models/web_bastion_guacamole_spec.rb +36 -0
  290. data/spec/models/web_bastion_rdp_record_spec.rb +48 -0
  291. metadata +1117 -981
@@ -54,6 +54,9 @@ module Akeyless
54
54
  # Rotate the value of the secret after SRA session ends [true/false]
55
55
  attr_accessor :rotate_after_disconnect
56
56
 
57
+ # How many days before the rotation of the item would you like to be notified
58
+ attr_accessor :rotation_event_in
59
+
57
60
  # The Hour of the rotation in UTC
58
61
  attr_accessor :rotation_hour
59
62
 
@@ -115,6 +118,7 @@ module Akeyless
115
118
  :'name' => :'name',
116
119
  :'password_length' => :'password-length',
117
120
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
121
+ :'rotation_event_in' => :'rotation-event-in',
118
122
  :'rotation_hour' => :'rotation-hour',
119
123
  :'rotation_interval' => :'rotation-interval',
120
124
  :'rotator_type' => :'rotator-type',
@@ -154,6 +158,7 @@ module Akeyless
154
158
  :'name' => :'String',
155
159
  :'password_length' => :'String',
156
160
  :'rotate_after_disconnect' => :'String',
161
+ :'rotation_event_in' => :'Array<String>',
157
162
  :'rotation_hour' => :'Integer',
158
163
  :'rotation_interval' => :'String',
159
164
  :'rotator_type' => :'String',
@@ -253,6 +258,12 @@ module Akeyless
253
258
  self.rotate_after_disconnect = 'false'
254
259
  end
255
260
 
261
+ if attributes.key?(:'rotation_event_in')
262
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
263
+ self.rotation_event_in = value
264
+ end
265
+ end
266
+
256
267
  if attributes.key?(:'rotation_hour')
257
268
  self.rotation_hour = attributes[:'rotation_hour']
258
269
  end
@@ -374,6 +385,7 @@ module Akeyless
374
385
  name == o.name &&
375
386
  password_length == o.password_length &&
376
387
  rotate_after_disconnect == o.rotate_after_disconnect &&
388
+ rotation_event_in == o.rotation_event_in &&
377
389
  rotation_hour == o.rotation_hour &&
378
390
  rotation_interval == o.rotation_interval &&
379
391
  rotator_type == o.rotator_type &&
@@ -400,7 +412,7 @@ module Akeyless
400
412
  # Calculates hash code according to all attributes.
401
413
  # @return [Integer] Hash code
402
414
  def hash
403
- [api_id, api_key, application_id, authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_hour, rotation_interval, rotator_type, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, storage_account_key_name, tags, target_name, token, uid_token, username].hash
415
+ [api_id, api_key, application_id, authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, storage_account_key_name, tags, target_name, token, uid_token, username].hash
404
416
  end
405
417
 
406
418
  # Builds the object from hash
@@ -48,6 +48,9 @@ module Akeyless
48
48
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
49
49
  attr_accessor :rotated_username
50
50
 
51
+ # How many days before the rotation of the item would you like to be notified
52
+ attr_accessor :rotation_event_in
53
+
51
54
  # The Hour of the rotation in UTC
52
55
  attr_accessor :rotation_hour
53
56
 
@@ -83,6 +86,7 @@ module Akeyless
83
86
  :'password_length' => :'password-length',
84
87
  :'rotated_password' => :'rotated-password',
85
88
  :'rotated_username' => :'rotated-username',
89
+ :'rotation_event_in' => :'rotation-event-in',
86
90
  :'rotation_hour' => :'rotation-hour',
87
91
  :'rotation_interval' => :'rotation-interval',
88
92
  :'rotator_type' => :'rotator-type',
@@ -112,6 +116,7 @@ module Akeyless
112
116
  :'password_length' => :'String',
113
117
  :'rotated_password' => :'String',
114
118
  :'rotated_username' => :'String',
119
+ :'rotation_event_in' => :'Array<String>',
115
120
  :'rotation_hour' => :'Integer',
116
121
  :'rotation_interval' => :'String',
117
122
  :'rotator_type' => :'String',
@@ -193,6 +198,12 @@ module Akeyless
193
198
  self.rotated_username = attributes[:'rotated_username']
194
199
  end
195
200
 
201
+ if attributes.key?(:'rotation_event_in')
202
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
203
+ self.rotation_event_in = value
204
+ end
205
+ end
206
+
196
207
  if attributes.key?(:'rotation_hour')
197
208
  self.rotation_hour = attributes[:'rotation_hour']
198
209
  end
@@ -274,6 +285,7 @@ module Akeyless
274
285
  password_length == o.password_length &&
275
286
  rotated_password == o.rotated_password &&
276
287
  rotated_username == o.rotated_username &&
288
+ rotation_event_in == o.rotation_event_in &&
277
289
  rotation_hour == o.rotation_hour &&
278
290
  rotation_interval == o.rotation_interval &&
279
291
  rotator_type == o.rotator_type &&
@@ -292,7 +304,7 @@ module Akeyless
292
304
  # Calculates hash code according to all attributes.
293
305
  # @return [Integer] Hash code
294
306
  def hash
295
- [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
307
+ [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
296
308
  end
297
309
 
298
310
  # Builds the object from hash
@@ -48,6 +48,9 @@ module Akeyless
48
48
  # Rotate the value of the secret after SRA session ends [true/false]
49
49
  attr_accessor :rotate_after_disconnect
50
50
 
51
+ # How many days before the rotation of the item would you like to be notified
52
+ attr_accessor :rotation_event_in
53
+
51
54
  # The Hour of the rotation in UTC
52
55
  attr_accessor :rotation_hour
53
56
 
@@ -116,6 +119,7 @@ module Akeyless
116
119
  :'name' => :'name',
117
120
  :'password_length' => :'password-length',
118
121
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
122
+ :'rotation_event_in' => :'rotation-event-in',
119
123
  :'rotation_hour' => :'rotation-hour',
120
124
  :'rotation_interval' => :'rotation-interval',
121
125
  :'secure_access_allow_external_user' => :'secure-access-allow-external-user',
@@ -156,6 +160,7 @@ module Akeyless
156
160
  :'name' => :'String',
157
161
  :'password_length' => :'String',
158
162
  :'rotate_after_disconnect' => :'String',
163
+ :'rotation_event_in' => :'Array<String>',
159
164
  :'rotation_hour' => :'Integer',
160
165
  :'rotation_interval' => :'String',
161
166
  :'secure_access_allow_external_user' => :'Boolean',
@@ -250,6 +255,12 @@ module Akeyless
250
255
  self.rotate_after_disconnect = 'false'
251
256
  end
252
257
 
258
+ if attributes.key?(:'rotation_event_in')
259
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
260
+ self.rotation_event_in = value
261
+ end
262
+ end
263
+
253
264
  if attributes.key?(:'rotation_hour')
254
265
  self.rotation_hour = attributes[:'rotation_hour']
255
266
  end
@@ -380,6 +391,7 @@ module Akeyless
380
391
  name == o.name &&
381
392
  password_length == o.password_length &&
382
393
  rotate_after_disconnect == o.rotate_after_disconnect &&
394
+ rotation_event_in == o.rotation_event_in &&
383
395
  rotation_hour == o.rotation_hour &&
384
396
  rotation_interval == o.rotation_interval &&
385
397
  secure_access_allow_external_user == o.secure_access_allow_external_user &&
@@ -409,7 +421,7 @@ module Akeyless
409
421
  # Calculates hash code according to all attributes.
410
422
  # @return [Integer] Hash code
411
423
  def hash
412
- [authentication_credentials, auto_rotate, custom_payload, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_hour, rotation_interval, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, timeout_sec, token, uid_token].hash
424
+ [authentication_credentials, auto_rotate, custom_payload, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, timeout_sec, token, uid_token].hash
413
425
  end
414
426
 
415
427
  # Builds the object from hash
@@ -42,6 +42,9 @@ module Akeyless
42
42
  # The length of the password to be generated
43
43
  attr_accessor :password_length
44
44
 
45
+ # How many days before the rotation of the item would you like to be notified
46
+ attr_accessor :rotation_event_in
47
+
45
48
  # The Hour of the rotation in UTC
46
49
  attr_accessor :rotation_hour
47
50
 
@@ -72,6 +75,7 @@ module Akeyless
72
75
  :'max_versions' => :'max-versions',
73
76
  :'name' => :'name',
74
77
  :'password_length' => :'password-length',
78
+ :'rotation_event_in' => :'rotation-event-in',
75
79
  :'rotation_hour' => :'rotation-hour',
76
80
  :'rotation_interval' => :'rotation-interval',
77
81
  :'tags' => :'tags',
@@ -98,6 +102,7 @@ module Akeyless
98
102
  :'max_versions' => :'String',
99
103
  :'name' => :'String',
100
104
  :'password_length' => :'String',
105
+ :'rotation_event_in' => :'Array<String>',
101
106
  :'rotation_hour' => :'Integer',
102
107
  :'rotation_interval' => :'String',
103
108
  :'tags' => :'Array<String>',
@@ -170,6 +175,12 @@ module Akeyless
170
175
  self.password_length = attributes[:'password_length']
171
176
  end
172
177
 
178
+ if attributes.key?(:'rotation_event_in')
179
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
180
+ self.rotation_event_in = value
181
+ end
182
+ end
183
+
173
184
  if attributes.key?(:'rotation_hour')
174
185
  self.rotation_hour = attributes[:'rotation_hour']
175
186
  end
@@ -238,6 +249,7 @@ module Akeyless
238
249
  max_versions == o.max_versions &&
239
250
  name == o.name &&
240
251
  password_length == o.password_length &&
252
+ rotation_event_in == o.rotation_event_in &&
241
253
  rotation_hour == o.rotation_hour &&
242
254
  rotation_interval == o.rotation_interval &&
243
255
  tags == o.tags &&
@@ -255,7 +267,7 @@ module Akeyless
255
267
  # Calculates hash code according to all attributes.
256
268
  # @return [Integer] Hash code
257
269
  def hash
258
- [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotation_hour, rotation_interval, tags, target_name, token, uid_token].hash
270
+ [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotation_event_in, rotation_hour, rotation_interval, tags, target_name, token, uid_token].hash
259
271
  end
260
272
 
261
273
  # Builds the object from hash
@@ -51,6 +51,9 @@ module Akeyless
51
51
  # The length of the password to be generated
52
52
  attr_accessor :password_length
53
53
 
54
+ # How many days before the rotation of the item would you like to be notified
55
+ attr_accessor :rotation_event_in
56
+
54
57
  # The Hour of the rotation in UTC
55
58
  attr_accessor :rotation_hour
56
59
 
@@ -87,6 +90,7 @@ module Akeyless
87
90
  :'max_versions' => :'max-versions',
88
91
  :'name' => :'name',
89
92
  :'password_length' => :'password-length',
93
+ :'rotation_event_in' => :'rotation-event-in',
90
94
  :'rotation_hour' => :'rotation-hour',
91
95
  :'rotation_interval' => :'rotation-interval',
92
96
  :'rotator_type' => :'rotator-type',
@@ -117,6 +121,7 @@ module Akeyless
117
121
  :'max_versions' => :'String',
118
122
  :'name' => :'String',
119
123
  :'password_length' => :'String',
124
+ :'rotation_event_in' => :'Array<String>',
120
125
  :'rotation_hour' => :'Integer',
121
126
  :'rotation_interval' => :'String',
122
127
  :'rotator_type' => :'String',
@@ -202,6 +207,12 @@ module Akeyless
202
207
  self.password_length = attributes[:'password_length']
203
208
  end
204
209
 
210
+ if attributes.key?(:'rotation_event_in')
211
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
212
+ self.rotation_event_in = value
213
+ end
214
+ end
215
+
205
216
  if attributes.key?(:'rotation_hour')
206
217
  self.rotation_hour = attributes[:'rotation_hour']
207
218
  end
@@ -284,6 +295,7 @@ module Akeyless
284
295
  max_versions == o.max_versions &&
285
296
  name == o.name &&
286
297
  password_length == o.password_length &&
298
+ rotation_event_in == o.rotation_event_in &&
287
299
  rotation_hour == o.rotation_hour &&
288
300
  rotation_interval == o.rotation_interval &&
289
301
  rotator_type == o.rotator_type &&
@@ -302,7 +314,7 @@ module Akeyless
302
314
  # Calculates hash code according to all attributes.
303
315
  # @return [Integer] Hash code
304
316
  def hash
305
- [authentication_credentials, auto_rotate, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, key, max_versions, name, password_length, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
317
+ [authentication_credentials, auto_rotate, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, key, max_versions, name, password_length, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
306
318
  end
307
319
 
308
320
  # Builds the object from hash
@@ -48,6 +48,9 @@ module Akeyless
48
48
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
49
49
  attr_accessor :rotated_username
50
50
 
51
+ # How many days before the rotation of the item would you like to be notified
52
+ attr_accessor :rotation_event_in
53
+
51
54
  # The Hour of the rotation in UTC
52
55
  attr_accessor :rotation_hour
53
56
 
@@ -83,6 +86,7 @@ module Akeyless
83
86
  :'password_length' => :'password-length',
84
87
  :'rotated_password' => :'rotated-password',
85
88
  :'rotated_username' => :'rotated-username',
89
+ :'rotation_event_in' => :'rotation-event-in',
86
90
  :'rotation_hour' => :'rotation-hour',
87
91
  :'rotation_interval' => :'rotation-interval',
88
92
  :'rotator_type' => :'rotator-type',
@@ -112,6 +116,7 @@ module Akeyless
112
116
  :'password_length' => :'String',
113
117
  :'rotated_password' => :'String',
114
118
  :'rotated_username' => :'String',
119
+ :'rotation_event_in' => :'Array<String>',
115
120
  :'rotation_hour' => :'Integer',
116
121
  :'rotation_interval' => :'String',
117
122
  :'rotator_type' => :'String',
@@ -193,6 +198,12 @@ module Akeyless
193
198
  self.rotated_username = attributes[:'rotated_username']
194
199
  end
195
200
 
201
+ if attributes.key?(:'rotation_event_in')
202
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
203
+ self.rotation_event_in = value
204
+ end
205
+ end
206
+
196
207
  if attributes.key?(:'rotation_hour')
197
208
  self.rotation_hour = attributes[:'rotation_hour']
198
209
  end
@@ -274,6 +285,7 @@ module Akeyless
274
285
  password_length == o.password_length &&
275
286
  rotated_password == o.rotated_password &&
276
287
  rotated_username == o.rotated_username &&
288
+ rotation_event_in == o.rotation_event_in &&
277
289
  rotation_hour == o.rotation_hour &&
278
290
  rotation_interval == o.rotation_interval &&
279
291
  rotator_type == o.rotator_type &&
@@ -292,7 +304,7 @@ module Akeyless
292
304
  # Calculates hash code according to all attributes.
293
305
  # @return [Integer] Hash code
294
306
  def hash
295
- [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
307
+ [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
296
308
  end
297
309
 
298
310
  # Builds the object from hash
@@ -56,6 +56,9 @@ module Akeyless
56
56
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=ldap)
57
57
  attr_accessor :rotated_username
58
58
 
59
+ # How many days before the rotation of the item would you like to be notified
60
+ attr_accessor :rotation_event_in
61
+
59
62
  # The Hour of the rotation in UTC
60
63
  attr_accessor :rotation_hour
61
64
 
@@ -124,6 +127,7 @@ module Akeyless
124
127
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
125
128
  :'rotated_password' => :'rotated-password',
126
129
  :'rotated_username' => :'rotated-username',
130
+ :'rotation_event_in' => :'rotation-event-in',
127
131
  :'rotation_hour' => :'rotation-hour',
128
132
  :'rotation_interval' => :'rotation-interval',
129
133
  :'rotator_type' => :'rotator-type',
@@ -166,6 +170,7 @@ module Akeyless
166
170
  :'rotate_after_disconnect' => :'String',
167
171
  :'rotated_password' => :'String',
168
172
  :'rotated_username' => :'String',
173
+ :'rotation_event_in' => :'Array<String>',
169
174
  :'rotation_hour' => :'Integer',
170
175
  :'rotation_interval' => :'String',
171
176
  :'rotator_type' => :'String',
@@ -271,6 +276,12 @@ module Akeyless
271
276
  self.rotated_username = attributes[:'rotated_username']
272
277
  end
273
278
 
279
+ if attributes.key?(:'rotation_event_in')
280
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
281
+ self.rotation_event_in = value
282
+ end
283
+ end
284
+
274
285
  if attributes.key?(:'rotation_hour')
275
286
  self.rotation_hour = attributes[:'rotation_hour']
276
287
  end
@@ -407,6 +418,7 @@ module Akeyless
407
418
  rotate_after_disconnect == o.rotate_after_disconnect &&
408
419
  rotated_password == o.rotated_password &&
409
420
  rotated_username == o.rotated_username &&
421
+ rotation_event_in == o.rotation_event_in &&
410
422
  rotation_hour == o.rotation_hour &&
411
423
  rotation_interval == o.rotation_interval &&
412
424
  rotator_type == o.rotator_type &&
@@ -435,7 +447,7 @@ module Akeyless
435
447
  # Calculates hash code according to all attributes.
436
448
  # @return [Integer] Hash code
437
449
  def hash
438
- [provider_type, authentication_credentials, auto_rotate, delete_protection, description, host_provider, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target, target_name, token, uid_token, user_attribute, user_dn].hash
450
+ [provider_type, authentication_credentials, auto_rotate, delete_protection, description, host_provider, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target, target_name, token, uid_token, user_attribute, user_dn].hash
439
451
  end
440
452
 
441
453
  # Builds the object from hash
@@ -51,6 +51,9 @@ module Akeyless
51
51
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
52
52
  attr_accessor :rotated_username
53
53
 
54
+ # How many days before the rotation of the item would you like to be notified
55
+ attr_accessor :rotation_event_in
56
+
54
57
  # The Hour of the rotation in UTC
55
58
  attr_accessor :rotation_hour
56
59
 
@@ -102,6 +105,7 @@ module Akeyless
102
105
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
103
106
  :'rotated_password' => :'rotated-password',
104
107
  :'rotated_username' => :'rotated-username',
108
+ :'rotation_event_in' => :'rotation-event-in',
105
109
  :'rotation_hour' => :'rotation-hour',
106
110
  :'rotation_interval' => :'rotation-interval',
107
111
  :'rotator_type' => :'rotator-type',
@@ -137,6 +141,7 @@ module Akeyless
137
141
  :'rotate_after_disconnect' => :'String',
138
142
  :'rotated_password' => :'String',
139
143
  :'rotated_username' => :'String',
144
+ :'rotation_event_in' => :'Array<String>',
140
145
  :'rotation_hour' => :'Integer',
141
146
  :'rotation_interval' => :'String',
142
147
  :'rotator_type' => :'String',
@@ -229,6 +234,12 @@ module Akeyless
229
234
  self.rotated_username = attributes[:'rotated_username']
230
235
  end
231
236
 
237
+ if attributes.key?(:'rotation_event_in')
238
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
239
+ self.rotation_event_in = value
240
+ end
241
+ end
242
+
232
243
  if attributes.key?(:'rotation_hour')
233
244
  self.rotation_hour = attributes[:'rotation_hour']
234
245
  end
@@ -335,6 +346,7 @@ module Akeyless
335
346
  rotate_after_disconnect == o.rotate_after_disconnect &&
336
347
  rotated_password == o.rotated_password &&
337
348
  rotated_username == o.rotated_username &&
349
+ rotation_event_in == o.rotation_event_in &&
338
350
  rotation_hour == o.rotation_hour &&
339
351
  rotation_interval == o.rotation_interval &&
340
352
  rotator_type == o.rotator_type &&
@@ -358,7 +370,7 @@ module Akeyless
358
370
  # Calculates hash code according to all attributes.
359
371
  # @return [Integer] Hash code
360
372
  def hash
361
- [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
373
+ [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
362
374
  end
363
375
 
364
376
  # Builds the object from hash
@@ -51,6 +51,9 @@ module Akeyless
51
51
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
52
52
  attr_accessor :rotated_username
53
53
 
54
+ # How many days before the rotation of the item would you like to be notified
55
+ attr_accessor :rotation_event_in
56
+
54
57
  # The Hour of the rotation in UTC
55
58
  attr_accessor :rotation_hour
56
59
 
@@ -105,6 +108,7 @@ module Akeyless
105
108
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
106
109
  :'rotated_password' => :'rotated-password',
107
110
  :'rotated_username' => :'rotated-username',
111
+ :'rotation_event_in' => :'rotation-event-in',
108
112
  :'rotation_hour' => :'rotation-hour',
109
113
  :'rotation_interval' => :'rotation-interval',
110
114
  :'rotator_type' => :'rotator-type',
@@ -141,6 +145,7 @@ module Akeyless
141
145
  :'rotate_after_disconnect' => :'String',
142
146
  :'rotated_password' => :'String',
143
147
  :'rotated_username' => :'String',
148
+ :'rotation_event_in' => :'Array<String>',
144
149
  :'rotation_hour' => :'Integer',
145
150
  :'rotation_interval' => :'String',
146
151
  :'rotator_type' => :'String',
@@ -234,6 +239,12 @@ module Akeyless
234
239
  self.rotated_username = attributes[:'rotated_username']
235
240
  end
236
241
 
242
+ if attributes.key?(:'rotation_event_in')
243
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
244
+ self.rotation_event_in = value
245
+ end
246
+ end
247
+
237
248
  if attributes.key?(:'rotation_hour')
238
249
  self.rotation_hour = attributes[:'rotation_hour']
239
250
  end
@@ -344,6 +355,7 @@ module Akeyless
344
355
  rotate_after_disconnect == o.rotate_after_disconnect &&
345
356
  rotated_password == o.rotated_password &&
346
357
  rotated_username == o.rotated_username &&
358
+ rotation_event_in == o.rotation_event_in &&
347
359
  rotation_hour == o.rotation_hour &&
348
360
  rotation_interval == o.rotation_interval &&
349
361
  rotator_type == o.rotator_type &&
@@ -368,7 +380,7 @@ module Akeyless
368
380
  # Calculates hash code according to all attributes.
369
381
  # @return [Integer] Hash code
370
382
  def hash
371
- [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
383
+ [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
372
384
  end
373
385
 
374
386
  # Builds the object from hash
@@ -51,6 +51,9 @@ module Akeyless
51
51
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
52
52
  attr_accessor :rotated_username
53
53
 
54
+ # How many days before the rotation of the item would you like to be notified
55
+ attr_accessor :rotation_event_in
56
+
54
57
  # The Hour of the rotation in UTC
55
58
  attr_accessor :rotation_hour
56
59
 
@@ -102,6 +105,7 @@ module Akeyless
102
105
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
103
106
  :'rotated_password' => :'rotated-password',
104
107
  :'rotated_username' => :'rotated-username',
108
+ :'rotation_event_in' => :'rotation-event-in',
105
109
  :'rotation_hour' => :'rotation-hour',
106
110
  :'rotation_interval' => :'rotation-interval',
107
111
  :'rotator_type' => :'rotator-type',
@@ -137,6 +141,7 @@ module Akeyless
137
141
  :'rotate_after_disconnect' => :'String',
138
142
  :'rotated_password' => :'String',
139
143
  :'rotated_username' => :'String',
144
+ :'rotation_event_in' => :'Array<String>',
140
145
  :'rotation_hour' => :'Integer',
141
146
  :'rotation_interval' => :'String',
142
147
  :'rotator_type' => :'String',
@@ -229,6 +234,12 @@ module Akeyless
229
234
  self.rotated_username = attributes[:'rotated_username']
230
235
  end
231
236
 
237
+ if attributes.key?(:'rotation_event_in')
238
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
239
+ self.rotation_event_in = value
240
+ end
241
+ end
242
+
232
243
  if attributes.key?(:'rotation_hour')
233
244
  self.rotation_hour = attributes[:'rotation_hour']
234
245
  end
@@ -335,6 +346,7 @@ module Akeyless
335
346
  rotate_after_disconnect == o.rotate_after_disconnect &&
336
347
  rotated_password == o.rotated_password &&
337
348
  rotated_username == o.rotated_username &&
349
+ rotation_event_in == o.rotation_event_in &&
338
350
  rotation_hour == o.rotation_hour &&
339
351
  rotation_interval == o.rotation_interval &&
340
352
  rotator_type == o.rotator_type &&
@@ -358,7 +370,7 @@ module Akeyless
358
370
  # Calculates hash code according to all attributes.
359
371
  # @return [Integer] Hash code
360
372
  def hash
361
- [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
373
+ [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
362
374
  end
363
375
 
364
376
  # Builds the object from hash
@@ -51,6 +51,9 @@ module Akeyless
51
51
  # username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
52
52
  attr_accessor :rotated_username
53
53
 
54
+ # How many days before the rotation of the item would you like to be notified
55
+ attr_accessor :rotation_event_in
56
+
54
57
  # The Hour of the rotation in UTC
55
58
  attr_accessor :rotation_hour
56
59
 
@@ -99,6 +102,7 @@ module Akeyless
99
102
  :'rotate_after_disconnect' => :'rotate-after-disconnect',
100
103
  :'rotated_password' => :'rotated-password',
101
104
  :'rotated_username' => :'rotated-username',
105
+ :'rotation_event_in' => :'rotation-event-in',
102
106
  :'rotation_hour' => :'rotation-hour',
103
107
  :'rotation_interval' => :'rotation-interval',
104
108
  :'rotator_type' => :'rotator-type',
@@ -133,6 +137,7 @@ module Akeyless
133
137
  :'rotate_after_disconnect' => :'String',
134
138
  :'rotated_password' => :'String',
135
139
  :'rotated_username' => :'String',
140
+ :'rotation_event_in' => :'Array<String>',
136
141
  :'rotation_hour' => :'Integer',
137
142
  :'rotation_interval' => :'String',
138
143
  :'rotator_type' => :'String',
@@ -224,6 +229,12 @@ module Akeyless
224
229
  self.rotated_username = attributes[:'rotated_username']
225
230
  end
226
231
 
232
+ if attributes.key?(:'rotation_event_in')
233
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
234
+ self.rotation_event_in = value
235
+ end
236
+ end
237
+
227
238
  if attributes.key?(:'rotation_hour')
228
239
  self.rotation_hour = attributes[:'rotation_hour']
229
240
  end
@@ -326,6 +337,7 @@ module Akeyless
326
337
  rotate_after_disconnect == o.rotate_after_disconnect &&
327
338
  rotated_password == o.rotated_password &&
328
339
  rotated_username == o.rotated_username &&
340
+ rotation_event_in == o.rotation_event_in &&
329
341
  rotation_hour == o.rotation_hour &&
330
342
  rotation_interval == o.rotation_interval &&
331
343
  rotator_type == o.rotator_type &&
@@ -348,7 +360,7 @@ module Akeyless
348
360
  # Calculates hash code according to all attributes.
349
361
  # @return [Integer] Hash code
350
362
  def hash
351
- [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_type, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
363
+ [authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
352
364
  end
353
365
 
354
366
  # Builds the object from hash