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
@@ -16,9 +16,6 @@ require 'time'
16
16
  module Akeyless
17
17
  # Connect is a command that performs secure remote access
18
18
  class Connect
19
- # todo - enable when gw-sra unification is done The Gateway URL (configuration management) address, e.g. http://localhost:8000
20
- attr_accessor :bastion_gateway_url
21
-
22
19
  attr_accessor :helper
23
20
 
24
21
  # used to override .akeyless-connect.rc in tests
@@ -39,6 +36,9 @@ module Akeyless
39
36
  # The Akeyless certificate issuer name
40
37
  attr_accessor :cert_issuer_name
41
38
 
39
+ # The Gateway URL (configuration management) address, e.g. http://localhost:8000
40
+ attr_accessor :gateway_url
41
+
42
42
  # The file from which the identity (private key) for public key authentication is read
43
43
  attr_accessor :identity_file
44
44
 
@@ -77,7 +77,6 @@ module Akeyless
77
77
  # Attribute mapping from ruby-style variable name to JSON key.
78
78
  def self.attribute_map
79
79
  {
80
- :'bastion_gateway_url' => :'BastionGatewayUrl',
81
80
  :'helper' => :'Helper',
82
81
  :'rc_file_override' => :'RcFileOverride',
83
82
  :'bastion_ctrl_path' => :'bastion-ctrl-path',
@@ -85,6 +84,7 @@ module Akeyless
85
84
  :'bastion_ctrl_proto' => :'bastion-ctrl-proto',
86
85
  :'bastion_ctrl_subdomain' => :'bastion-ctrl-subdomain',
87
86
  :'cert_issuer_name' => :'cert-issuer-name',
87
+ :'gateway_url' => :'gateway-url',
88
88
  :'identity_file' => :'identity-file',
89
89
  :'json' => :'json',
90
90
  :'justification' => :'justification',
@@ -108,7 +108,6 @@ module Akeyless
108
108
  # Attribute type mapping.
109
109
  def self.openapi_types
110
110
  {
111
- :'bastion_gateway_url' => :'String',
112
111
  :'helper' => :'Object',
113
112
  :'rc_file_override' => :'String',
114
113
  :'bastion_ctrl_path' => :'String',
@@ -116,6 +115,7 @@ module Akeyless
116
115
  :'bastion_ctrl_proto' => :'String',
117
116
  :'bastion_ctrl_subdomain' => :'String',
118
117
  :'cert_issuer_name' => :'String',
118
+ :'gateway_url' => :'String',
119
119
  :'identity_file' => :'String',
120
120
  :'json' => :'Boolean',
121
121
  :'justification' => :'String',
@@ -152,10 +152,6 @@ module Akeyless
152
152
  h[k.to_sym] = v
153
153
  }
154
154
 
155
- if attributes.key?(:'bastion_gateway_url')
156
- self.bastion_gateway_url = attributes[:'bastion_gateway_url']
157
- end
158
-
159
155
  if attributes.key?(:'helper')
160
156
  self.helper = attributes[:'helper']
161
157
  end
@@ -188,6 +184,10 @@ module Akeyless
188
184
  self.cert_issuer_name = attributes[:'cert_issuer_name']
189
185
  end
190
186
 
187
+ if attributes.key?(:'gateway_url')
188
+ self.gateway_url = attributes[:'gateway_url']
189
+ end
190
+
191
191
  if attributes.key?(:'identity_file')
192
192
  self.identity_file = attributes[:'identity_file']
193
193
  end
@@ -261,7 +261,6 @@ module Akeyless
261
261
  def ==(o)
262
262
  return true if self.equal?(o)
263
263
  self.class == o.class &&
264
- bastion_gateway_url == o.bastion_gateway_url &&
265
264
  helper == o.helper &&
266
265
  rc_file_override == o.rc_file_override &&
267
266
  bastion_ctrl_path == o.bastion_ctrl_path &&
@@ -269,6 +268,7 @@ module Akeyless
269
268
  bastion_ctrl_proto == o.bastion_ctrl_proto &&
270
269
  bastion_ctrl_subdomain == o.bastion_ctrl_subdomain &&
271
270
  cert_issuer_name == o.cert_issuer_name &&
271
+ gateway_url == o.gateway_url &&
272
272
  identity_file == o.identity_file &&
273
273
  json == o.json &&
274
274
  justification == o.justification &&
@@ -292,7 +292,7 @@ module Akeyless
292
292
  # Calculates hash code according to all attributes.
293
293
  # @return [Integer] Hash code
294
294
  def hash
295
- [bastion_gateway_url, helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, identity_file, json, justification, name, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion].hash
295
+ [helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, gateway_url, identity_file, json, justification, name, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion].hash
296
296
  end
297
297
 
298
298
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Classic Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]
20
20
  attr_accessor :alg
21
21
 
22
+ # Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation [true/false]
23
+ attr_accessor :auto_rotate
24
+
22
25
  # Certificate in a PEM format.
23
26
  attr_accessor :cert_file_data
24
27
 
@@ -54,6 +57,9 @@ module Akeyless
54
57
  # Description of the object
55
58
  attr_accessor :description
56
59
 
60
+ # How many days before the expiration of the certificate would you like to be notified.
61
+ attr_accessor :expiration_event_in
62
+
57
63
  # Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.
58
64
  attr_accessor :generate_self_signed_certificate
59
65
 
@@ -75,6 +81,12 @@ module Akeyless
75
81
  # The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
76
82
  attr_accessor :protection_key_name
77
83
 
84
+ # How many days before the rotation of the item would you like to be notified
85
+ attr_accessor :rotation_event_in
86
+
87
+ # The number of days to wait between every automatic rotation (1-365)
88
+ attr_accessor :rotation_interval
89
+
78
90
  # Add tags attached to this object
79
91
  attr_accessor :tags
80
92
 
@@ -88,6 +100,7 @@ module Akeyless
88
100
  def self.attribute_map
89
101
  {
90
102
  :'alg' => :'alg',
103
+ :'auto_rotate' => :'auto-rotate',
91
104
  :'cert_file_data' => :'cert-file-data',
92
105
  :'certificate_common_name' => :'certificate-common-name',
93
106
  :'certificate_country' => :'certificate-country',
@@ -100,6 +113,7 @@ module Akeyless
100
113
  :'conf_file_data' => :'conf-file-data',
101
114
  :'delete_protection' => :'delete_protection',
102
115
  :'description' => :'description',
116
+ :'expiration_event_in' => :'expiration-event-in',
103
117
  :'generate_self_signed_certificate' => :'generate-self-signed-certificate',
104
118
  :'gpg_alg' => :'gpg-alg',
105
119
  :'json' => :'json',
@@ -107,6 +121,8 @@ module Akeyless
107
121
  :'metadata' => :'metadata',
108
122
  :'name' => :'name',
109
123
  :'protection_key_name' => :'protection-key-name',
124
+ :'rotation_event_in' => :'rotation-event-in',
125
+ :'rotation_interval' => :'rotation-interval',
110
126
  :'tags' => :'tags',
111
127
  :'token' => :'token',
112
128
  :'uid_token' => :'uid-token'
@@ -122,6 +138,7 @@ module Akeyless
122
138
  def self.openapi_types
123
139
  {
124
140
  :'alg' => :'String',
141
+ :'auto_rotate' => :'String',
125
142
  :'cert_file_data' => :'String',
126
143
  :'certificate_common_name' => :'String',
127
144
  :'certificate_country' => :'String',
@@ -134,6 +151,7 @@ module Akeyless
134
151
  :'conf_file_data' => :'String',
135
152
  :'delete_protection' => :'String',
136
153
  :'description' => :'String',
154
+ :'expiration_event_in' => :'Array<String>',
137
155
  :'generate_self_signed_certificate' => :'Boolean',
138
156
  :'gpg_alg' => :'String',
139
157
  :'json' => :'Boolean',
@@ -141,6 +159,8 @@ module Akeyless
141
159
  :'metadata' => :'String',
142
160
  :'name' => :'String',
143
161
  :'protection_key_name' => :'String',
162
+ :'rotation_event_in' => :'Array<String>',
163
+ :'rotation_interval' => :'String',
144
164
  :'tags' => :'Array<String>',
145
165
  :'token' => :'String',
146
166
  :'uid_token' => :'String'
@@ -174,6 +194,10 @@ module Akeyless
174
194
  self.alg = nil
175
195
  end
176
196
 
197
+ if attributes.key?(:'auto_rotate')
198
+ self.auto_rotate = attributes[:'auto_rotate']
199
+ end
200
+
177
201
  if attributes.key?(:'cert_file_data')
178
202
  self.cert_file_data = attributes[:'cert_file_data']
179
203
  end
@@ -222,6 +246,12 @@ module Akeyless
222
246
  self.description = attributes[:'description']
223
247
  end
224
248
 
249
+ if attributes.key?(:'expiration_event_in')
250
+ if (value = attributes[:'expiration_event_in']).is_a?(Array)
251
+ self.expiration_event_in = value
252
+ end
253
+ end
254
+
225
255
  if attributes.key?(:'generate_self_signed_certificate')
226
256
  self.generate_self_signed_certificate = attributes[:'generate_self_signed_certificate']
227
257
  end
@@ -254,6 +284,16 @@ module Akeyless
254
284
  self.protection_key_name = attributes[:'protection_key_name']
255
285
  end
256
286
 
287
+ if attributes.key?(:'rotation_event_in')
288
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
289
+ self.rotation_event_in = value
290
+ end
291
+ end
292
+
293
+ if attributes.key?(:'rotation_interval')
294
+ self.rotation_interval = attributes[:'rotation_interval']
295
+ end
296
+
257
297
  if attributes.key?(:'tags')
258
298
  if (value = attributes[:'tags']).is_a?(Array)
259
299
  self.tags = value
@@ -300,6 +340,7 @@ module Akeyless
300
340
  return true if self.equal?(o)
301
341
  self.class == o.class &&
302
342
  alg == o.alg &&
343
+ auto_rotate == o.auto_rotate &&
303
344
  cert_file_data == o.cert_file_data &&
304
345
  certificate_common_name == o.certificate_common_name &&
305
346
  certificate_country == o.certificate_country &&
@@ -312,6 +353,7 @@ module Akeyless
312
353
  conf_file_data == o.conf_file_data &&
313
354
  delete_protection == o.delete_protection &&
314
355
  description == o.description &&
356
+ expiration_event_in == o.expiration_event_in &&
315
357
  generate_self_signed_certificate == o.generate_self_signed_certificate &&
316
358
  gpg_alg == o.gpg_alg &&
317
359
  json == o.json &&
@@ -319,6 +361,8 @@ module Akeyless
319
361
  metadata == o.metadata &&
320
362
  name == o.name &&
321
363
  protection_key_name == o.protection_key_name &&
364
+ rotation_event_in == o.rotation_event_in &&
365
+ rotation_interval == o.rotation_interval &&
322
366
  tags == o.tags &&
323
367
  token == o.token &&
324
368
  uid_token == o.uid_token
@@ -333,7 +377,7 @@ module Akeyless
333
377
  # Calculates hash code according to all attributes.
334
378
  # @return [Integer] Hash code
335
379
  def hash
336
- [alg, cert_file_data, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, delete_protection, description, generate_self_signed_certificate, gpg_alg, json, key_data, metadata, name, protection_key_name, tags, token, uid_token].hash
380
+ [alg, auto_rotate, cert_file_data, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, delete_protection, description, expiration_event_in, generate_self_signed_certificate, gpg_alg, json, key_data, metadata, name, protection_key_name, rotation_event_in, rotation_interval, tags, token, uid_token].hash
337
381
  end
338
382
 
339
383
  # Builds the object from hash
@@ -18,6 +18,9 @@ module Akeyless
18
18
  # DFCKey type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096]
19
19
  attr_accessor :alg
20
20
 
21
+ # Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation [true/false]
22
+ attr_accessor :auto_rotate
23
+
21
24
  # Common name for the generated certificate. Relevant only for generate-self-signed-certificate.
22
25
  attr_accessor :certificate_common_name
23
26
 
@@ -53,6 +56,9 @@ module Akeyless
53
56
  # Description of the object
54
57
  attr_accessor :description
55
58
 
59
+ # How many days before the expiration of the certificate would you like to be notified.
60
+ attr_accessor :expiration_event_in
61
+
56
62
  # Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.
57
63
  attr_accessor :generate_self_signed_certificate
58
64
 
@@ -65,6 +71,12 @@ module Akeyless
65
71
  # DFCKey name
66
72
  attr_accessor :name
67
73
 
74
+ # How many days before the rotation of the item would you like to be notified
75
+ attr_accessor :rotation_event_in
76
+
77
+ # The number of days to wait between every automatic rotation (7-365)
78
+ attr_accessor :rotation_interval
79
+
68
80
  # The number of fragments that the item will be split into (not includes customer fragment)
69
81
  attr_accessor :split_level
70
82
 
@@ -81,6 +93,7 @@ module Akeyless
81
93
  def self.attribute_map
82
94
  {
83
95
  :'alg' => :'alg',
96
+ :'auto_rotate' => :'auto-rotate',
84
97
  :'certificate_common_name' => :'certificate-common-name',
85
98
  :'certificate_country' => :'certificate-country',
86
99
  :'certificate_digest_algo' => :'certificate-digest-algo',
@@ -93,10 +106,13 @@ module Akeyless
93
106
  :'customer_frg_id' => :'customer-frg-id',
94
107
  :'delete_protection' => :'delete_protection',
95
108
  :'description' => :'description',
109
+ :'expiration_event_in' => :'expiration-event-in',
96
110
  :'generate_self_signed_certificate' => :'generate-self-signed-certificate',
97
111
  :'json' => :'json',
98
112
  :'metadata' => :'metadata',
99
113
  :'name' => :'name',
114
+ :'rotation_event_in' => :'rotation-event-in',
115
+ :'rotation_interval' => :'rotation-interval',
100
116
  :'split_level' => :'split-level',
101
117
  :'tag' => :'tag',
102
118
  :'token' => :'token',
@@ -113,6 +129,7 @@ module Akeyless
113
129
  def self.openapi_types
114
130
  {
115
131
  :'alg' => :'String',
132
+ :'auto_rotate' => :'String',
116
133
  :'certificate_common_name' => :'String',
117
134
  :'certificate_country' => :'String',
118
135
  :'certificate_digest_algo' => :'String',
@@ -125,10 +142,13 @@ module Akeyless
125
142
  :'customer_frg_id' => :'String',
126
143
  :'delete_protection' => :'String',
127
144
  :'description' => :'String',
145
+ :'expiration_event_in' => :'Array<String>',
128
146
  :'generate_self_signed_certificate' => :'Boolean',
129
147
  :'json' => :'Boolean',
130
148
  :'metadata' => :'String',
131
149
  :'name' => :'String',
150
+ :'rotation_event_in' => :'Array<String>',
151
+ :'rotation_interval' => :'String',
132
152
  :'split_level' => :'Integer',
133
153
  :'tag' => :'Array<String>',
134
154
  :'token' => :'String',
@@ -163,6 +183,10 @@ module Akeyless
163
183
  self.alg = nil
164
184
  end
165
185
 
186
+ if attributes.key?(:'auto_rotate')
187
+ self.auto_rotate = attributes[:'auto_rotate']
188
+ end
189
+
166
190
  if attributes.key?(:'certificate_common_name')
167
191
  self.certificate_common_name = attributes[:'certificate_common_name']
168
192
  end
@@ -211,6 +235,12 @@ module Akeyless
211
235
  self.description = attributes[:'description']
212
236
  end
213
237
 
238
+ if attributes.key?(:'expiration_event_in')
239
+ if (value = attributes[:'expiration_event_in']).is_a?(Array)
240
+ self.expiration_event_in = value
241
+ end
242
+ end
243
+
214
244
  if attributes.key?(:'generate_self_signed_certificate')
215
245
  self.generate_self_signed_certificate = attributes[:'generate_self_signed_certificate']
216
246
  end
@@ -231,6 +261,16 @@ module Akeyless
231
261
  self.name = nil
232
262
  end
233
263
 
264
+ if attributes.key?(:'rotation_event_in')
265
+ if (value = attributes[:'rotation_event_in']).is_a?(Array)
266
+ self.rotation_event_in = value
267
+ end
268
+ end
269
+
270
+ if attributes.key?(:'rotation_interval')
271
+ self.rotation_interval = attributes[:'rotation_interval']
272
+ end
273
+
234
274
  if attributes.key?(:'split_level')
235
275
  self.split_level = attributes[:'split_level']
236
276
  else
@@ -283,6 +323,7 @@ module Akeyless
283
323
  return true if self.equal?(o)
284
324
  self.class == o.class &&
285
325
  alg == o.alg &&
326
+ auto_rotate == o.auto_rotate &&
286
327
  certificate_common_name == o.certificate_common_name &&
287
328
  certificate_country == o.certificate_country &&
288
329
  certificate_digest_algo == o.certificate_digest_algo &&
@@ -295,10 +336,13 @@ module Akeyless
295
336
  customer_frg_id == o.customer_frg_id &&
296
337
  delete_protection == o.delete_protection &&
297
338
  description == o.description &&
339
+ expiration_event_in == o.expiration_event_in &&
298
340
  generate_self_signed_certificate == o.generate_self_signed_certificate &&
299
341
  json == o.json &&
300
342
  metadata == o.metadata &&
301
343
  name == o.name &&
344
+ rotation_event_in == o.rotation_event_in &&
345
+ rotation_interval == o.rotation_interval &&
302
346
  split_level == o.split_level &&
303
347
  tag == o.tag &&
304
348
  token == o.token &&
@@ -314,7 +358,7 @@ module Akeyless
314
358
  # Calculates hash code according to all attributes.
315
359
  # @return [Integer] Hash code
316
360
  def hash
317
- [alg, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, generate_self_signed_certificate, json, metadata, name, split_level, tag, token, uid_token].hash
361
+ [alg, auto_rotate, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, expiration_event_in, generate_self_signed_certificate, json, metadata, name, rotation_event_in, rotation_interval, split_level, tag, token, uid_token].hash
318
362
  end
319
363
 
320
364
  # Builds the object from hash
@@ -51,6 +51,9 @@ module Akeyless
51
51
  # Set this to allow the cert issuer will expose a public CRL endpoint
52
52
  attr_accessor :create_public_crl
53
53
 
54
+ # Mark key usage as critical [true/false]
55
+ attr_accessor :critical_key_usage
56
+
54
57
  # Protection from accidental deletion of this object [true/false]
55
58
  attr_accessor :delete_protection
56
59
 
@@ -60,10 +63,13 @@ module Akeyless
60
63
  # A path in which to save generated certificates
61
64
  attr_accessor :destination_path
62
65
 
66
+ # If set, the cert issuer will support the acme protocol
67
+ attr_accessor :enable_acme
68
+
63
69
  # How many days before the expiration of the certificate would you like to be notified.
64
70
  attr_accessor :expiration_event_in
65
71
 
66
- # The GW cluster URL to issue the certificate from, required in Public CA mode or to allow CRLs on private CA
72
+ # The GW cluster URL to issue the certificate from. Required in Public CA mode, to allow CRLs on private CA, or to enable ACME
67
73
  attr_accessor :gw_cluster_url
68
74
 
69
75
  # If set, the basic constraints extension will be added to certificate
@@ -141,9 +147,11 @@ module Akeyless
141
147
  :'country' => :'country',
142
148
  :'create_private_crl' => :'create-private-crl',
143
149
  :'create_public_crl' => :'create-public-crl',
150
+ :'critical_key_usage' => :'critical-key-usage',
144
151
  :'delete_protection' => :'delete_protection',
145
152
  :'description' => :'description',
146
153
  :'destination_path' => :'destination-path',
154
+ :'enable_acme' => :'enable-acme',
147
155
  :'expiration_event_in' => :'expiration-event-in',
148
156
  :'gw_cluster_url' => :'gw-cluster-url',
149
157
  :'is_ca' => :'is-ca',
@@ -189,9 +197,11 @@ module Akeyless
189
197
  :'country' => :'String',
190
198
  :'create_private_crl' => :'Boolean',
191
199
  :'create_public_crl' => :'Boolean',
200
+ :'critical_key_usage' => :'String',
192
201
  :'delete_protection' => :'String',
193
202
  :'description' => :'String',
194
203
  :'destination_path' => :'String',
204
+ :'enable_acme' => :'Boolean',
195
205
  :'expiration_event_in' => :'Array<String>',
196
206
  :'gw_cluster_url' => :'String',
197
207
  :'is_ca' => :'Boolean',
@@ -286,6 +296,12 @@ module Akeyless
286
296
  self.create_public_crl = attributes[:'create_public_crl']
287
297
  end
288
298
 
299
+ if attributes.key?(:'critical_key_usage')
300
+ self.critical_key_usage = attributes[:'critical_key_usage']
301
+ else
302
+ self.critical_key_usage = 'true'
303
+ end
304
+
289
305
  if attributes.key?(:'delete_protection')
290
306
  self.delete_protection = attributes[:'delete_protection']
291
307
  end
@@ -298,6 +314,10 @@ module Akeyless
298
314
  self.destination_path = attributes[:'destination_path']
299
315
  end
300
316
 
317
+ if attributes.key?(:'enable_acme')
318
+ self.enable_acme = attributes[:'enable_acme']
319
+ end
320
+
301
321
  if attributes.key?(:'expiration_event_in')
302
322
  if (value = attributes[:'expiration_event_in']).is_a?(Array)
303
323
  self.expiration_event_in = value
@@ -448,9 +468,11 @@ module Akeyless
448
468
  country == o.country &&
449
469
  create_private_crl == o.create_private_crl &&
450
470
  create_public_crl == o.create_public_crl &&
471
+ critical_key_usage == o.critical_key_usage &&
451
472
  delete_protection == o.delete_protection &&
452
473
  description == o.description &&
453
474
  destination_path == o.destination_path &&
475
+ enable_acme == o.enable_acme &&
454
476
  expiration_event_in == o.expiration_event_in &&
455
477
  gw_cluster_url == o.gw_cluster_url &&
456
478
  is_ca == o.is_ca &&
@@ -484,7 +506,7 @@ module Akeyless
484
506
  # Calculates hash code according to all attributes.
485
507
  # @return [Integer] Hash code
486
508
  def hash
487
- [allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains, allowed_extra_extensions, allowed_uri_sans, ca_target, client_flag, code_signing_flag, country, create_private_crl, create_public_crl, delete_protection, description, destination_path, expiration_event_in, gw_cluster_url, is_ca, json, key_usage, locality, metadata, name, not_enforce_hostnames, not_require_cn, organizational_units, organizations, postal_code, protect_certificates, province, server_flag, signer_key_name, street_address, tag, token, ttl, uid_token].hash
509
+ [allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains, allowed_extra_extensions, allowed_uri_sans, ca_target, client_flag, code_signing_flag, country, create_private_crl, create_public_crl, critical_key_usage, delete_protection, description, destination_path, enable_acme, expiration_event_in, gw_cluster_url, is_ca, json, key_usage, locality, metadata, name, not_enforce_hostnames, not_require_cn, organizational_units, organizations, postal_code, protect_certificates, province, server_flag, signer_key_name, street_address, tag, token, ttl, uid_token].hash
488
510
  end
489
511
 
490
512
  # Builds the object from hash