akeyless 5.0.25 → 5.0.27

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 (422) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -2
  3. data/docs/AccountCustomField.md +34 -0
  4. data/docs/AccountCustomFieldGetOutput.md +1 -1
  5. data/docs/AccountGeneralSettings.md +2 -0
  6. data/docs/CloudflareTargetDetails.md +20 -0
  7. data/docs/CreatePKICertIssuer.md +2 -0
  8. data/docs/CreateRole.md +2 -0
  9. data/docs/CreateSecret.md +4 -0
  10. data/docs/DSProducerDetails.md +4 -0
  11. data/docs/DigiCertTargetDetails.md +2 -0
  12. data/docs/DynamicSecretCreateArtifactory.md +4 -0
  13. data/docs/DynamicSecretCreateAws.md +12 -0
  14. data/docs/DynamicSecretCreateAzure.md +12 -0
  15. data/docs/DynamicSecretCreateCassandra.md +12 -0
  16. data/docs/DynamicSecretCreateChef.md +12 -0
  17. data/docs/DynamicSecretCreateCustom.md +4 -0
  18. data/docs/DynamicSecretCreateDockerhub.md +4 -0
  19. data/docs/DynamicSecretCreateEks.md +4 -0
  20. data/docs/DynamicSecretCreateGcp.md +4 -0
  21. data/docs/DynamicSecretCreateGithub.md +4 -0
  22. data/docs/DynamicSecretCreateGitlab.md +4 -0
  23. data/docs/DynamicSecretCreateGke.md +4 -0
  24. data/docs/DynamicSecretCreateGoogleWorkspace.md +4 -0
  25. data/docs/DynamicSecretCreateHanaDb.md +12 -0
  26. data/docs/DynamicSecretCreateK8s.md +4 -0
  27. data/docs/DynamicSecretCreateLdap.md +12 -0
  28. data/docs/DynamicSecretCreateMongoDb.md +12 -0
  29. data/docs/DynamicSecretCreateMsSql.md +12 -0
  30. data/docs/DynamicSecretCreateMySql.md +12 -0
  31. data/docs/DynamicSecretCreateOpenAI.md +4 -0
  32. data/docs/DynamicSecretCreateOracleDb.md +12 -0
  33. data/docs/DynamicSecretCreatePing.md +4 -0
  34. data/docs/DynamicSecretCreatePostgreSql.md +12 -0
  35. data/docs/DynamicSecretCreateRabbitMq.md +12 -0
  36. data/docs/DynamicSecretCreateRdp.md +12 -0
  37. data/docs/DynamicSecretCreateRedis.md +12 -0
  38. data/docs/DynamicSecretCreateRedshift.md +12 -0
  39. data/docs/DynamicSecretCreateSnowflake.md +12 -0
  40. data/docs/DynamicSecretCreateVenafi.md +4 -0
  41. data/docs/DynamicSecretTmpCredsDelete.md +4 -0
  42. data/docs/DynamicSecretTmpCredsGet.md +4 -0
  43. data/docs/DynamicSecretTmpCredsUpdate.md +4 -0
  44. data/docs/DynamicSecretUpdateArtifactory.md +4 -0
  45. data/docs/DynamicSecretUpdateAws.md +12 -0
  46. data/docs/DynamicSecretUpdateAzure.md +12 -0
  47. data/docs/DynamicSecretUpdateCassandra.md +12 -0
  48. data/docs/DynamicSecretUpdateChef.md +12 -0
  49. data/docs/DynamicSecretUpdateCustom.md +4 -0
  50. data/docs/DynamicSecretUpdateDockerhub.md +4 -0
  51. data/docs/DynamicSecretUpdateEks.md +4 -0
  52. data/docs/DynamicSecretUpdateGcp.md +4 -0
  53. data/docs/DynamicSecretUpdateGithub.md +4 -0
  54. data/docs/DynamicSecretUpdateGitlab.md +4 -0
  55. data/docs/DynamicSecretUpdateGke.md +4 -0
  56. data/docs/DynamicSecretUpdateGoogleWorkspace.md +4 -0
  57. data/docs/DynamicSecretUpdateHanaDb.md +12 -0
  58. data/docs/DynamicSecretUpdateK8s.md +4 -0
  59. data/docs/DynamicSecretUpdateLdap.md +12 -0
  60. data/docs/DynamicSecretUpdateMongoDb.md +12 -0
  61. data/docs/DynamicSecretUpdateMsSql.md +12 -0
  62. data/docs/DynamicSecretUpdateMySql.md +12 -0
  63. data/docs/DynamicSecretUpdateOpenAI.md +4 -0
  64. data/docs/DynamicSecretUpdateOracleDb.md +12 -0
  65. data/docs/DynamicSecretUpdatePing.md +4 -0
  66. data/docs/DynamicSecretUpdatePostgreSql.md +12 -0
  67. data/docs/DynamicSecretUpdateRabbitMq.md +12 -0
  68. data/docs/DynamicSecretUpdateRdp.md +12 -0
  69. data/docs/DynamicSecretUpdateRedis.md +12 -0
  70. data/docs/DynamicSecretUpdateRedshift.md +12 -0
  71. data/docs/DynamicSecretUpdateSnowflake.md +12 -0
  72. data/docs/DynamicSecretUpdateVenafi.md +4 -0
  73. data/docs/FolderUSCSyncConfig.md +24 -0
  74. data/docs/GatewayCreateMigration.md +2 -0
  75. data/docs/GatewayCreateProducerArtifactory.md +4 -0
  76. data/docs/GatewayCreateProducerAws.md +12 -0
  77. data/docs/GatewayCreateProducerAzure.md +12 -0
  78. data/docs/GatewayCreateProducerCassandra.md +12 -0
  79. data/docs/GatewayCreateProducerChef.md +12 -0
  80. data/docs/GatewayCreateProducerCustom.md +4 -0
  81. data/docs/GatewayCreateProducerDockerhub.md +4 -0
  82. data/docs/GatewayCreateProducerEks.md +4 -0
  83. data/docs/GatewayCreateProducerGcp.md +4 -0
  84. data/docs/GatewayCreateProducerGithub.md +4 -0
  85. data/docs/GatewayCreateProducerGke.md +4 -0
  86. data/docs/GatewayCreateProducerHanaDb.md +12 -0
  87. data/docs/GatewayCreateProducerLdap.md +12 -0
  88. data/docs/GatewayCreateProducerMSSQL.md +12 -0
  89. data/docs/GatewayCreateProducerMongo.md +12 -0
  90. data/docs/GatewayCreateProducerMySQL.md +12 -0
  91. data/docs/GatewayCreateProducerNativeK8S.md +4 -0
  92. data/docs/GatewayCreateProducerOracleDb.md +12 -0
  93. data/docs/GatewayCreateProducerPing.md +4 -0
  94. data/docs/GatewayCreateProducerPostgreSQL.md +12 -0
  95. data/docs/GatewayCreateProducerRabbitMQ.md +12 -0
  96. data/docs/GatewayCreateProducerRdp.md +12 -0
  97. data/docs/GatewayCreateProducerRedis.md +12 -0
  98. data/docs/GatewayCreateProducerRedshift.md +12 -0
  99. data/docs/GatewayCreateProducerSnowflake.md +12 -0
  100. data/docs/GatewayCreateProducerVenafi.md +4 -0
  101. data/docs/GatewayDeleteProducer.md +4 -0
  102. data/docs/GatewayGetProducer.md +4 -0
  103. data/docs/GatewayGetTmpUsers.md +4 -0
  104. data/docs/GatewayRevokeTmpUsers.md +4 -0
  105. data/docs/GatewayStartProducer.md +4 -0
  106. data/docs/GatewayStopProducer.md +4 -0
  107. data/docs/GatewayUpdateMigration.md +2 -0
  108. data/docs/GatewayUpdateProducerArtifactory.md +4 -0
  109. data/docs/GatewayUpdateProducerAws.md +12 -0
  110. data/docs/GatewayUpdateProducerAzure.md +12 -0
  111. data/docs/GatewayUpdateProducerCassandra.md +12 -0
  112. data/docs/GatewayUpdateProducerChef.md +12 -0
  113. data/docs/GatewayUpdateProducerCustom.md +4 -0
  114. data/docs/GatewayUpdateProducerDockerhub.md +4 -0
  115. data/docs/GatewayUpdateProducerEks.md +4 -0
  116. data/docs/GatewayUpdateProducerGcp.md +4 -0
  117. data/docs/GatewayUpdateProducerGithub.md +4 -0
  118. data/docs/GatewayUpdateProducerGke.md +4 -0
  119. data/docs/GatewayUpdateProducerHanaDb.md +12 -0
  120. data/docs/GatewayUpdateProducerLdap.md +12 -0
  121. data/docs/GatewayUpdateProducerMSSQL.md +12 -0
  122. data/docs/GatewayUpdateProducerMongo.md +12 -0
  123. data/docs/GatewayUpdateProducerMySQL.md +12 -0
  124. data/docs/GatewayUpdateProducerNativeK8S.md +4 -0
  125. data/docs/GatewayUpdateProducerOracleDb.md +12 -0
  126. data/docs/GatewayUpdateProducerPing.md +4 -0
  127. data/docs/GatewayUpdateProducerPostgreSQL.md +12 -0
  128. data/docs/GatewayUpdateProducerRabbitMQ.md +12 -0
  129. data/docs/GatewayUpdateProducerRdp.md +12 -0
  130. data/docs/GatewayUpdateProducerRedis.md +12 -0
  131. data/docs/GatewayUpdateProducerRedshift.md +12 -0
  132. data/docs/GatewayUpdateProducerSnowflake.md +12 -0
  133. data/docs/GatewayUpdateProducerVenafi.md +4 -0
  134. data/docs/GatewayUpdateTmpUsers.md +4 -0
  135. data/docs/GetFolderOutput.md +3 -1
  136. data/docs/GoogleTrustTargetDetails.md +2 -0
  137. data/docs/HashiPayload.md +2 -0
  138. data/docs/KMIPClient.md +2 -0
  139. data/docs/KMIPServer.md +2 -0
  140. data/docs/KmipClientUpdate.md +28 -0
  141. data/docs/KmipClientUpdateOutput.md +18 -0
  142. data/docs/KmipCreateClient.md +2 -0
  143. data/docs/KmipDescribeServerOutput.md +2 -0
  144. data/docs/KmipServerSetup.md +2 -0
  145. data/docs/KmipServerUpdate.md +24 -0
  146. data/docs/KmipServerUpdateOutput.md +18 -0
  147. data/docs/LetsEncryptTargetDetails.md +2 -0
  148. data/docs/ListTargets.md +1 -1
  149. data/docs/PKICertificateIssueDetails.md +4 -0
  150. data/docs/RotatedSecretCreateAws.md +13 -1
  151. data/docs/RotatedSecretCreateAzure.md +12 -0
  152. data/docs/RotatedSecretCreateCassandra.md +13 -1
  153. data/docs/RotatedSecretCreateCustom.md +9 -5
  154. data/docs/RotatedSecretCreateDockerhub.md +13 -1
  155. data/docs/RotatedSecretCreateGcp.md +13 -1
  156. data/docs/RotatedSecretCreateHanadb.md +13 -1
  157. data/docs/RotatedSecretCreateLdap.md +12 -0
  158. data/docs/RotatedSecretCreateMongodb.md +13 -1
  159. data/docs/RotatedSecretCreateMssql.md +13 -1
  160. data/docs/RotatedSecretCreateMysql.md +13 -1
  161. data/docs/RotatedSecretCreateOpenAI.md +13 -1
  162. data/docs/RotatedSecretCreateOracledb.md +13 -1
  163. data/docs/RotatedSecretCreatePostgresql.md +13 -1
  164. data/docs/RotatedSecretCreateRedis.md +13 -1
  165. data/docs/RotatedSecretCreateRedshift.md +13 -1
  166. data/docs/RotatedSecretCreateSnowflake.md +13 -1
  167. data/docs/RotatedSecretCreateSplunk.md +13 -1
  168. data/docs/RotatedSecretCreateSsh.md +13 -1
  169. data/docs/RotatedSecretCreateWindows.md +13 -1
  170. data/docs/RotatedSecretUpdateAws.md +13 -1
  171. data/docs/RotatedSecretUpdateAzure.md +12 -0
  172. data/docs/RotatedSecretUpdateCassandra.md +13 -1
  173. data/docs/RotatedSecretUpdateCustom.md +9 -5
  174. data/docs/RotatedSecretUpdateDockerhub.md +13 -1
  175. data/docs/RotatedSecretUpdateGcp.md +13 -1
  176. data/docs/RotatedSecretUpdateHanadb.md +13 -1
  177. data/docs/RotatedSecretUpdateLdap.md +12 -0
  178. data/docs/RotatedSecretUpdateMongodb.md +13 -1
  179. data/docs/RotatedSecretUpdateMssql.md +13 -1
  180. data/docs/RotatedSecretUpdateMysql.md +13 -1
  181. data/docs/RotatedSecretUpdateOpenAI.md +13 -1
  182. data/docs/RotatedSecretUpdateOracledb.md +13 -1
  183. data/docs/RotatedSecretUpdatePostgresql.md +13 -1
  184. data/docs/RotatedSecretUpdateRedis.md +13 -1
  185. data/docs/RotatedSecretUpdateRedshift.md +13 -1
  186. data/docs/RotatedSecretUpdateSnowflake.md +13 -1
  187. data/docs/RotatedSecretUpdateSplunk.md +13 -1
  188. data/docs/RotatedSecretUpdateSsh.md +13 -1
  189. data/docs/RotatedSecretUpdateWindows.md +13 -1
  190. data/docs/SecretInfo.md +2 -0
  191. data/docs/TargetCreateCloudflare.md +36 -0
  192. data/docs/TargetCreateDigiCert.md +3 -1
  193. data/docs/TargetCreateGoogleTrust.md +3 -1
  194. data/docs/TargetCreateLetsEncrypt.md +3 -1
  195. data/docs/TargetList.md +1 -1
  196. data/docs/TargetTypeDetailsInput.md +2 -0
  197. data/docs/TargetUpdateCloudflare.md +40 -0
  198. data/docs/TargetUpdateDigiCert.md +3 -1
  199. data/docs/TargetUpdateGoogleTrust.md +3 -1
  200. data/docs/TargetUpdateLetsEncrypt.md +3 -1
  201. data/docs/UpdateAccountSettings.md +5 -5
  202. data/docs/UpdatePKICertIssuer.md +2 -0
  203. data/docs/UpdateRole.md +2 -0
  204. data/docs/UscCreate.md +4 -0
  205. data/docs/UscUpdate.md +4 -0
  206. data/docs/V2Api.md +260 -4
  207. data/lib/akeyless/api/v2_api.rb +251 -3
  208. data/lib/akeyless/models/account_custom_field.rb +287 -0
  209. data/lib/akeyless/models/account_custom_field_get_output.rb +1 -1
  210. data/lib/akeyless/models/account_general_settings.rb +10 -1
  211. data/lib/akeyless/models/cloudflare_target_details.rb +224 -0
  212. data/lib/akeyless/models/create_pki_cert_issuer.rb +11 -1
  213. data/lib/akeyless/models/create_role.rb +11 -1
  214. data/lib/akeyless/models/create_secret.rb +25 -1
  215. data/lib/akeyless/models/digi_cert_target_details.rb +11 -1
  216. data/lib/akeyless/models/ds_producer_details.rb +20 -1
  217. data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +25 -1
  218. data/lib/akeyless/models/dynamic_secret_create_aws.rb +64 -1
  219. data/lib/akeyless/models/dynamic_secret_create_azure.rb +64 -1
  220. data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +64 -1
  221. data/lib/akeyless/models/dynamic_secret_create_chef.rb +64 -1
  222. data/lib/akeyless/models/dynamic_secret_create_custom.rb +25 -1
  223. data/lib/akeyless/models/dynamic_secret_create_dockerhub.rb +25 -1
  224. data/lib/akeyless/models/dynamic_secret_create_eks.rb +25 -1
  225. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +25 -1
  226. data/lib/akeyless/models/dynamic_secret_create_github.rb +25 -1
  227. data/lib/akeyless/models/dynamic_secret_create_gitlab.rb +25 -1
  228. data/lib/akeyless/models/dynamic_secret_create_gke.rb +25 -1
  229. data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +25 -1
  230. data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +64 -1
  231. data/lib/akeyless/models/dynamic_secret_create_k8s.rb +25 -1
  232. data/lib/akeyless/models/dynamic_secret_create_ldap.rb +64 -1
  233. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +64 -1
  234. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +64 -1
  235. data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +64 -1
  236. data/lib/akeyless/models/dynamic_secret_create_open_ai.rb +25 -1
  237. data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +64 -1
  238. data/lib/akeyless/models/dynamic_secret_create_ping.rb +25 -1
  239. data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +64 -1
  240. data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +64 -1
  241. data/lib/akeyless/models/dynamic_secret_create_rdp.rb +64 -1
  242. data/lib/akeyless/models/dynamic_secret_create_redis.rb +64 -1
  243. data/lib/akeyless/models/dynamic_secret_create_redshift.rb +64 -1
  244. data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +64 -1
  245. data/lib/akeyless/models/dynamic_secret_create_venafi.rb +25 -1
  246. data/lib/akeyless/models/dynamic_secret_tmp_creds_delete.rb +25 -1
  247. data/lib/akeyless/models/dynamic_secret_tmp_creds_get.rb +25 -1
  248. data/lib/akeyless/models/dynamic_secret_tmp_creds_update.rb +25 -1
  249. data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +25 -1
  250. data/lib/akeyless/models/dynamic_secret_update_aws.rb +64 -1
  251. data/lib/akeyless/models/dynamic_secret_update_azure.rb +64 -1
  252. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +64 -1
  253. data/lib/akeyless/models/dynamic_secret_update_chef.rb +64 -1
  254. data/lib/akeyless/models/dynamic_secret_update_custom.rb +25 -1
  255. data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +25 -1
  256. data/lib/akeyless/models/dynamic_secret_update_eks.rb +25 -1
  257. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +25 -1
  258. data/lib/akeyless/models/dynamic_secret_update_github.rb +25 -1
  259. data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +25 -1
  260. data/lib/akeyless/models/dynamic_secret_update_gke.rb +25 -1
  261. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +25 -1
  262. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +64 -1
  263. data/lib/akeyless/models/dynamic_secret_update_k8s.rb +25 -1
  264. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +64 -1
  265. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +64 -1
  266. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +64 -1
  267. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +64 -1
  268. data/lib/akeyless/models/dynamic_secret_update_open_ai.rb +25 -1
  269. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +64 -1
  270. data/lib/akeyless/models/dynamic_secret_update_ping.rb +25 -1
  271. data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +64 -1
  272. data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +64 -1
  273. data/lib/akeyless/models/dynamic_secret_update_rdp.rb +64 -1
  274. data/lib/akeyless/models/dynamic_secret_update_redis.rb +64 -1
  275. data/lib/akeyless/models/dynamic_secret_update_redshift.rb +64 -1
  276. data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +64 -1
  277. data/lib/akeyless/models/dynamic_secret_update_venafi.rb +25 -1
  278. data/lib/akeyless/models/folder_usc_sync_config.rb +241 -0
  279. data/lib/akeyless/models/gateway_create_migration.rb +11 -1
  280. data/lib/akeyless/models/gateway_create_producer_artifactory.rb +25 -1
  281. data/lib/akeyless/models/gateway_create_producer_aws.rb +64 -1
  282. data/lib/akeyless/models/gateway_create_producer_azure.rb +64 -1
  283. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +64 -1
  284. data/lib/akeyless/models/gateway_create_producer_chef.rb +64 -1
  285. data/lib/akeyless/models/gateway_create_producer_custom.rb +25 -1
  286. data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +25 -1
  287. data/lib/akeyless/models/gateway_create_producer_eks.rb +25 -1
  288. data/lib/akeyless/models/gateway_create_producer_gcp.rb +25 -1
  289. data/lib/akeyless/models/gateway_create_producer_github.rb +25 -1
  290. data/lib/akeyless/models/gateway_create_producer_gke.rb +25 -1
  291. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +64 -1
  292. data/lib/akeyless/models/gateway_create_producer_ldap.rb +64 -1
  293. data/lib/akeyless/models/gateway_create_producer_mongo.rb +64 -1
  294. data/lib/akeyless/models/gateway_create_producer_mssql.rb +64 -1
  295. data/lib/akeyless/models/gateway_create_producer_my_sql.rb +64 -1
  296. data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +25 -1
  297. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +64 -1
  298. data/lib/akeyless/models/gateway_create_producer_ping.rb +25 -1
  299. data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +64 -1
  300. data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +64 -1
  301. data/lib/akeyless/models/gateway_create_producer_rdp.rb +64 -1
  302. data/lib/akeyless/models/gateway_create_producer_redis.rb +64 -1
  303. data/lib/akeyless/models/gateway_create_producer_redshift.rb +64 -1
  304. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +64 -1
  305. data/lib/akeyless/models/gateway_create_producer_venafi.rb +25 -1
  306. data/lib/akeyless/models/gateway_delete_producer.rb +25 -1
  307. data/lib/akeyless/models/gateway_get_producer.rb +25 -1
  308. data/lib/akeyless/models/gateway_get_tmp_users.rb +25 -1
  309. data/lib/akeyless/models/gateway_revoke_tmp_users.rb +25 -1
  310. data/lib/akeyless/models/gateway_start_producer.rb +25 -1
  311. data/lib/akeyless/models/gateway_stop_producer.rb +25 -1
  312. data/lib/akeyless/models/gateway_update_migration.rb +11 -1
  313. data/lib/akeyless/models/gateway_update_producer_artifactory.rb +25 -1
  314. data/lib/akeyless/models/gateway_update_producer_aws.rb +64 -1
  315. data/lib/akeyless/models/gateway_update_producer_azure.rb +64 -1
  316. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +64 -1
  317. data/lib/akeyless/models/gateway_update_producer_chef.rb +64 -1
  318. data/lib/akeyless/models/gateway_update_producer_custom.rb +25 -1
  319. data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +25 -1
  320. data/lib/akeyless/models/gateway_update_producer_eks.rb +25 -1
  321. data/lib/akeyless/models/gateway_update_producer_gcp.rb +25 -1
  322. data/lib/akeyless/models/gateway_update_producer_github.rb +25 -1
  323. data/lib/akeyless/models/gateway_update_producer_gke.rb +25 -1
  324. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +64 -1
  325. data/lib/akeyless/models/gateway_update_producer_ldap.rb +64 -1
  326. data/lib/akeyless/models/gateway_update_producer_mongo.rb +64 -1
  327. data/lib/akeyless/models/gateway_update_producer_mssql.rb +64 -1
  328. data/lib/akeyless/models/gateway_update_producer_my_sql.rb +64 -1
  329. data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +25 -1
  330. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +64 -1
  331. data/lib/akeyless/models/gateway_update_producer_ping.rb +25 -1
  332. data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +64 -1
  333. data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +64 -1
  334. data/lib/akeyless/models/gateway_update_producer_rdp.rb +64 -1
  335. data/lib/akeyless/models/gateway_update_producer_redis.rb +64 -1
  336. data/lib/akeyless/models/gateway_update_producer_redshift.rb +64 -1
  337. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +64 -1
  338. data/lib/akeyless/models/gateway_update_producer_venafi.rb +25 -1
  339. data/lib/akeyless/models/gateway_update_tmp_users.rb +25 -1
  340. data/lib/akeyless/models/get_folder_output.rb +15 -4
  341. data/lib/akeyless/models/google_trust_target_details.rb +11 -1
  342. data/lib/akeyless/models/hashi_payload.rb +10 -1
  343. data/lib/akeyless/models/kmip_client.rb +12 -1
  344. data/lib/akeyless/models/kmip_client_update.rb +267 -0
  345. data/lib/akeyless/models/kmip_client_update_output.rb +214 -0
  346. data/lib/akeyless/models/kmip_create_client.rb +13 -1
  347. data/lib/akeyless/models/kmip_describe_server_output.rb +12 -1
  348. data/lib/akeyless/models/kmip_server.rb +12 -1
  349. data/lib/akeyless/models/kmip_server_setup.rb +13 -1
  350. data/lib/akeyless/models/kmip_server_update.rb +249 -0
  351. data/lib/akeyless/models/kmip_server_update_output.rb +214 -0
  352. data/lib/akeyless/models/lets_encrypt_target_details.rb +11 -1
  353. data/lib/akeyless/models/list_targets.rb +1 -1
  354. data/lib/akeyless/models/pki_certificate_issue_details.rb +19 -1
  355. data/lib/akeyless/models/rotated_secret_create_aws.rb +67 -4
  356. data/lib/akeyless/models/rotated_secret_create_azure.rb +64 -1
  357. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +67 -4
  358. data/lib/akeyless/models/rotated_secret_create_custom.rb +28 -5
  359. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +67 -4
  360. data/lib/akeyless/models/rotated_secret_create_gcp.rb +67 -4
  361. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +67 -4
  362. data/lib/akeyless/models/rotated_secret_create_ldap.rb +64 -1
  363. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +67 -4
  364. data/lib/akeyless/models/rotated_secret_create_mssql.rb +67 -4
  365. data/lib/akeyless/models/rotated_secret_create_mysql.rb +67 -4
  366. data/lib/akeyless/models/rotated_secret_create_open_ai.rb +67 -4
  367. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +67 -4
  368. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +67 -4
  369. data/lib/akeyless/models/rotated_secret_create_redis.rb +67 -4
  370. data/lib/akeyless/models/rotated_secret_create_redshift.rb +67 -4
  371. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +67 -4
  372. data/lib/akeyless/models/rotated_secret_create_splunk.rb +67 -4
  373. data/lib/akeyless/models/rotated_secret_create_ssh.rb +67 -4
  374. data/lib/akeyless/models/rotated_secret_create_windows.rb +67 -4
  375. data/lib/akeyless/models/rotated_secret_update_aws.rb +67 -4
  376. data/lib/akeyless/models/rotated_secret_update_azure.rb +64 -1
  377. data/lib/akeyless/models/rotated_secret_update_cassandra.rb +67 -4
  378. data/lib/akeyless/models/rotated_secret_update_custom.rb +28 -5
  379. data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +67 -4
  380. data/lib/akeyless/models/rotated_secret_update_gcp.rb +67 -4
  381. data/lib/akeyless/models/rotated_secret_update_hanadb.rb +67 -4
  382. data/lib/akeyless/models/rotated_secret_update_ldap.rb +64 -1
  383. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +67 -4
  384. data/lib/akeyless/models/rotated_secret_update_mssql.rb +67 -4
  385. data/lib/akeyless/models/rotated_secret_update_mysql.rb +67 -4
  386. data/lib/akeyless/models/rotated_secret_update_open_ai.rb +67 -4
  387. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +67 -4
  388. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +67 -4
  389. data/lib/akeyless/models/rotated_secret_update_redis.rb +67 -4
  390. data/lib/akeyless/models/rotated_secret_update_redshift.rb +67 -4
  391. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +67 -4
  392. data/lib/akeyless/models/rotated_secret_update_splunk.rb +67 -4
  393. data/lib/akeyless/models/rotated_secret_update_ssh.rb +67 -4
  394. data/lib/akeyless/models/rotated_secret_update_windows.rb +67 -4
  395. data/lib/akeyless/models/secret_info.rb +10 -1
  396. data/lib/akeyless/models/target_create_cloudflare.rb +314 -0
  397. data/lib/akeyless/models/target_create_digi_cert.rb +12 -2
  398. data/lib/akeyless/models/target_create_google_trust.rb +12 -2
  399. data/lib/akeyless/models/target_create_lets_encrypt.rb +12 -2
  400. data/lib/akeyless/models/target_list.rb +1 -1
  401. data/lib/akeyless/models/target_type_details_input.rb +10 -1
  402. data/lib/akeyless/models/target_update_cloudflare.rb +334 -0
  403. data/lib/akeyless/models/target_update_digi_cert.rb +12 -2
  404. data/lib/akeyless/models/target_update_google_trust.rb +12 -2
  405. data/lib/akeyless/models/target_update_lets_encrypt.rb +12 -2
  406. data/lib/akeyless/models/update_account_settings.rb +3 -4
  407. data/lib/akeyless/models/update_pki_cert_issuer.rb +11 -1
  408. data/lib/akeyless/models/update_role.rb +11 -1
  409. data/lib/akeyless/models/usc_create.rb +21 -1
  410. data/lib/akeyless/models/usc_update.rb +21 -1
  411. data/lib/akeyless/version.rb +1 -1
  412. data/lib/akeyless.rb +9 -1
  413. data/spec/models/account_custom_field_spec.rb +84 -0
  414. data/spec/models/cloudflare_target_details_spec.rb +42 -0
  415. data/spec/models/folder_usc_sync_config_spec.rb +54 -0
  416. data/spec/models/kmip_client_update_output_spec.rb +36 -0
  417. data/spec/models/kmip_client_update_spec.rb +66 -0
  418. data/spec/models/kmip_server_update_output_spec.rb +36 -0
  419. data/spec/models/kmip_server_update_spec.rb +54 -0
  420. data/spec/models/target_create_cloudflare_spec.rb +90 -0
  421. data/spec/models/target_update_cloudflare_spec.rb +102 -0
  422. metadata +1202 -1166
@@ -18,6 +18,9 @@ module Akeyless
18
18
  # Server certificate TTL in days
19
19
  attr_accessor :certificate_ttl
20
20
 
21
+ # How many days before the expiration of the certificate would you like to be notified.
22
+ attr_accessor :expiration_event_in
23
+
21
24
  # Hostname
22
25
  attr_accessor :hostname
23
26
 
@@ -37,6 +40,7 @@ module Akeyless
37
40
  def self.attribute_map
38
41
  {
39
42
  :'certificate_ttl' => :'certificate-ttl',
43
+ :'expiration_event_in' => :'expiration-event-in',
40
44
  :'hostname' => :'hostname',
41
45
  :'json' => :'json',
42
46
  :'root' => :'root',
@@ -54,6 +58,7 @@ module Akeyless
54
58
  def self.openapi_types
55
59
  {
56
60
  :'certificate_ttl' => :'Integer',
61
+ :'expiration_event_in' => :'Array<String>',
57
62
  :'hostname' => :'String',
58
63
  :'json' => :'Boolean',
59
64
  :'root' => :'String',
@@ -89,6 +94,12 @@ module Akeyless
89
94
  self.certificate_ttl = 90
90
95
  end
91
96
 
97
+ if attributes.key?(:'expiration_event_in')
98
+ if (value = attributes[:'expiration_event_in']).is_a?(Array)
99
+ self.expiration_event_in = value
100
+ end
101
+ end
102
+
92
103
  if attributes.key?(:'hostname')
93
104
  self.hostname = attributes[:'hostname']
94
105
  else
@@ -147,6 +158,7 @@ module Akeyless
147
158
  return true if self.equal?(o)
148
159
  self.class == o.class &&
149
160
  certificate_ttl == o.certificate_ttl &&
161
+ expiration_event_in == o.expiration_event_in &&
150
162
  hostname == o.hostname &&
151
163
  json == o.json &&
152
164
  root == o.root &&
@@ -163,7 +175,7 @@ module Akeyless
163
175
  # Calculates hash code according to all attributes.
164
176
  # @return [Integer] Hash code
165
177
  def hash
166
- [certificate_ttl, hostname, json, root, token, uid_token].hash
178
+ [certificate_ttl, expiration_event_in, hostname, json, root, token, uid_token].hash
167
179
  end
168
180
 
169
181
  # Builds the object from hash
@@ -0,0 +1,249 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class KmipServerUpdate
18
+ # How many days before the expiration of the certificate would you like to be notified.
19
+ attr_accessor :expiration_event_in
20
+
21
+ # Set output format to JSON
22
+ attr_accessor :json
23
+
24
+ # Authentication token (see `/auth` and `/configure`)
25
+ attr_accessor :token
26
+
27
+ # The universal identity token, Required only for universal_identity authentication
28
+ attr_accessor :uid_token
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+ :'expiration_event_in' => :'expiration-event-in',
34
+ :'json' => :'json',
35
+ :'token' => :'token',
36
+ :'uid_token' => :'uid-token'
37
+ }
38
+ end
39
+
40
+ # Returns all the JSON keys this model knows about
41
+ def self.acceptable_attributes
42
+ attribute_map.values
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.openapi_types
47
+ {
48
+ :'expiration_event_in' => :'Array<String>',
49
+ :'json' => :'Boolean',
50
+ :'token' => :'String',
51
+ :'uid_token' => :'String'
52
+ }
53
+ end
54
+
55
+ # List of attributes with nullable: true
56
+ def self.openapi_nullable
57
+ Set.new([
58
+ ])
59
+ end
60
+
61
+ # Initializes the object
62
+ # @param [Hash] attributes Model attributes in the form of hash
63
+ def initialize(attributes = {})
64
+ if (!attributes.is_a?(Hash))
65
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::KmipServerUpdate` initialize method"
66
+ end
67
+
68
+ # check to see if the attribute exists and convert string to symbol for hash key
69
+ attributes = attributes.each_with_object({}) { |(k, v), h|
70
+ if (!self.class.attribute_map.key?(k.to_sym))
71
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::KmipServerUpdate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
72
+ end
73
+ h[k.to_sym] = v
74
+ }
75
+
76
+ if attributes.key?(:'expiration_event_in')
77
+ if (value = attributes[:'expiration_event_in']).is_a?(Array)
78
+ self.expiration_event_in = value
79
+ end
80
+ end
81
+
82
+ if attributes.key?(:'json')
83
+ self.json = attributes[:'json']
84
+ else
85
+ self.json = false
86
+ end
87
+
88
+ if attributes.key?(:'token')
89
+ self.token = attributes[:'token']
90
+ end
91
+
92
+ if attributes.key?(:'uid_token')
93
+ self.uid_token = attributes[:'uid_token']
94
+ end
95
+ end
96
+
97
+ # Show invalid properties with the reasons. Usually used together with valid?
98
+ # @return Array for valid properties with the reasons
99
+ def list_invalid_properties
100
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
101
+ invalid_properties = Array.new
102
+ invalid_properties
103
+ end
104
+
105
+ # Check to see if the all the properties in the model are valid
106
+ # @return true if the model is valid
107
+ def valid?
108
+ warn '[DEPRECATED] the `valid?` method is obsolete'
109
+ true
110
+ end
111
+
112
+ # Checks equality by comparing each attribute.
113
+ # @param [Object] Object to be compared
114
+ def ==(o)
115
+ return true if self.equal?(o)
116
+ self.class == o.class &&
117
+ expiration_event_in == o.expiration_event_in &&
118
+ json == o.json &&
119
+ token == o.token &&
120
+ uid_token == o.uid_token
121
+ end
122
+
123
+ # @see the `==` method
124
+ # @param [Object] Object to be compared
125
+ def eql?(o)
126
+ self == o
127
+ end
128
+
129
+ # Calculates hash code according to all attributes.
130
+ # @return [Integer] Hash code
131
+ def hash
132
+ [expiration_event_in, json, token, uid_token].hash
133
+ end
134
+
135
+ # Builds the object from hash
136
+ # @param [Hash] attributes Model attributes in the form of hash
137
+ # @return [Object] Returns the model itself
138
+ def self.build_from_hash(attributes)
139
+ return nil unless attributes.is_a?(Hash)
140
+ attributes = attributes.transform_keys(&:to_sym)
141
+ transformed_hash = {}
142
+ openapi_types.each_pair do |key, type|
143
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
144
+ transformed_hash["#{key}"] = nil
145
+ elsif type =~ /\AArray<(.*)>/i
146
+ # check to ensure the input is an array given that the attribute
147
+ # is documented as an array but the input is not
148
+ if attributes[attribute_map[key]].is_a?(Array)
149
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
150
+ end
151
+ elsif !attributes[attribute_map[key]].nil?
152
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
153
+ end
154
+ end
155
+ new(transformed_hash)
156
+ end
157
+
158
+ # Deserializes the data based on type
159
+ # @param string type Data type
160
+ # @param string value Value to be deserialized
161
+ # @return [Object] Deserialized data
162
+ def self._deserialize(type, value)
163
+ case type.to_sym
164
+ when :Time
165
+ Time.parse(value)
166
+ when :Date
167
+ Date.parse(value)
168
+ when :String
169
+ value.to_s
170
+ when :Integer
171
+ value.to_i
172
+ when :Float
173
+ value.to_f
174
+ when :Boolean
175
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
176
+ true
177
+ else
178
+ false
179
+ end
180
+ when :Object
181
+ # generic object (usually a Hash), return directly
182
+ value
183
+ when /\AArray<(?<inner_type>.+)>\z/
184
+ inner_type = Regexp.last_match[:inner_type]
185
+ value.map { |v| _deserialize(inner_type, v) }
186
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
187
+ k_type = Regexp.last_match[:k_type]
188
+ v_type = Regexp.last_match[:v_type]
189
+ {}.tap do |hash|
190
+ value.each do |k, v|
191
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
192
+ end
193
+ end
194
+ else # model
195
+ # models (e.g. Pet) or oneOf
196
+ klass = Akeyless.const_get(type)
197
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
198
+ end
199
+ end
200
+
201
+ # Returns the string representation of the object
202
+ # @return [String] String presentation of the object
203
+ def to_s
204
+ to_hash.to_s
205
+ end
206
+
207
+ # to_body is an alias to to_hash (backward compatibility)
208
+ # @return [Hash] Returns the object in the form of hash
209
+ def to_body
210
+ to_hash
211
+ end
212
+
213
+ # Returns the object in the form of hash
214
+ # @return [Hash] Returns the object in the form of hash
215
+ def to_hash
216
+ hash = {}
217
+ self.class.attribute_map.each_pair do |attr, param|
218
+ value = self.send(attr)
219
+ if value.nil?
220
+ is_nullable = self.class.openapi_nullable.include?(attr)
221
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
222
+ end
223
+
224
+ hash[param] = _to_hash(value)
225
+ end
226
+ hash
227
+ end
228
+
229
+ # Outputs non-array value in the form of hash
230
+ # For object, use to_hash. Otherwise, just return the value
231
+ # @param [Object] value Any valid value
232
+ # @return [Hash] Returns the value in the form of hash
233
+ def _to_hash(value)
234
+ if value.is_a?(Array)
235
+ value.compact.map { |v| _to_hash(v) }
236
+ elsif value.is_a?(Hash)
237
+ {}.tap do |hash|
238
+ value.each { |k, v| hash[k] = _to_hash(v) }
239
+ end
240
+ elsif value.respond_to? :to_hash
241
+ value.to_hash
242
+ else
243
+ value
244
+ end
245
+ end
246
+
247
+ end
248
+
249
+ end
@@ -0,0 +1,214 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class KmipServerUpdateOutput
18
+ attr_accessor :updated
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'updated' => :'updated'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'updated' => :'Boolean'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::KmipServerUpdateOutput` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::KmipServerUpdateOutput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'updated')
61
+ self.updated = attributes[:'updated']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
69
+ invalid_properties = Array.new
70
+ invalid_properties
71
+ end
72
+
73
+ # Check to see if the all the properties in the model are valid
74
+ # @return true if the model is valid
75
+ def valid?
76
+ warn '[DEPRECATED] the `valid?` method is obsolete'
77
+ true
78
+ end
79
+
80
+ # Checks equality by comparing each attribute.
81
+ # @param [Object] Object to be compared
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ updated == o.updated
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Integer] Hash code
96
+ def hash
97
+ [updated].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def self.build_from_hash(attributes)
104
+ return nil unless attributes.is_a?(Hash)
105
+ attributes = attributes.transform_keys(&:to_sym)
106
+ transformed_hash = {}
107
+ openapi_types.each_pair do |key, type|
108
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
109
+ transformed_hash["#{key}"] = nil
110
+ elsif type =~ /\AArray<(.*)>/i
111
+ # check to ensure the input is an array given that the attribute
112
+ # is documented as an array but the input is not
113
+ if attributes[attribute_map[key]].is_a?(Array)
114
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
115
+ end
116
+ elsif !attributes[attribute_map[key]].nil?
117
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
118
+ end
119
+ end
120
+ new(transformed_hash)
121
+ end
122
+
123
+ # Deserializes the data based on type
124
+ # @param string type Data type
125
+ # @param string value Value to be deserialized
126
+ # @return [Object] Deserialized data
127
+ def self._deserialize(type, value)
128
+ case type.to_sym
129
+ when :Time
130
+ Time.parse(value)
131
+ when :Date
132
+ Date.parse(value)
133
+ when :String
134
+ value.to_s
135
+ when :Integer
136
+ value.to_i
137
+ when :Float
138
+ value.to_f
139
+ when :Boolean
140
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
141
+ true
142
+ else
143
+ false
144
+ end
145
+ when :Object
146
+ # generic object (usually a Hash), return directly
147
+ value
148
+ when /\AArray<(?<inner_type>.+)>\z/
149
+ inner_type = Regexp.last_match[:inner_type]
150
+ value.map { |v| _deserialize(inner_type, v) }
151
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
152
+ k_type = Regexp.last_match[:k_type]
153
+ v_type = Regexp.last_match[:v_type]
154
+ {}.tap do |hash|
155
+ value.each do |k, v|
156
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
157
+ end
158
+ end
159
+ else # model
160
+ # models (e.g. Pet) or oneOf
161
+ klass = Akeyless.const_get(type)
162
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
163
+ end
164
+ end
165
+
166
+ # Returns the string representation of the object
167
+ # @return [String] String presentation of the object
168
+ def to_s
169
+ to_hash.to_s
170
+ end
171
+
172
+ # to_body is an alias to to_hash (backward compatibility)
173
+ # @return [Hash] Returns the object in the form of hash
174
+ def to_body
175
+ to_hash
176
+ end
177
+
178
+ # Returns the object in the form of hash
179
+ # @return [Hash] Returns the object in the form of hash
180
+ def to_hash
181
+ hash = {}
182
+ self.class.attribute_map.each_pair do |attr, param|
183
+ value = self.send(attr)
184
+ if value.nil?
185
+ is_nullable = self.class.openapi_nullable.include?(attr)
186
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
+ end
188
+
189
+ hash[param] = _to_hash(value)
190
+ end
191
+ hash
192
+ end
193
+
194
+ # Outputs non-array value in the form of hash
195
+ # For object, use to_hash. Otherwise, just return the value
196
+ # @param [Object] value Any valid value
197
+ # @return [Hash] Returns the value in the form of hash
198
+ def _to_hash(value)
199
+ if value.is_a?(Array)
200
+ value.compact.map { |v| _to_hash(v) }
201
+ elsif value.is_a?(Hash)
202
+ {}.tap do |hash|
203
+ value.each { |k, v| hash[k] = _to_hash(v) }
204
+ end
205
+ elsif value.respond_to? :to_hash
206
+ value.to_hash
207
+ else
208
+ value
209
+ end
210
+ end
211
+
212
+ end
213
+
214
+ end
@@ -33,6 +33,9 @@ module Akeyless
33
33
 
34
34
  attr_accessor :dns_target_type
35
35
 
36
+ # Cloudflare zone identifier Required when DNSTargetType is Cloudflare
37
+ attr_accessor :dns_zone
38
+
36
39
  # Email address for ACME account registration Required
37
40
  attr_accessor :email
38
41
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  :'challenge_type' => :'challenge_type',
58
61
  :'dns_target_name' => :'dns_target_name',
59
62
  :'dns_target_type' => :'dns_target_type',
63
+ :'dns_zone' => :'dns_zone',
60
64
  :'email' => :'email',
61
65
  :'gcp_project' => :'gcp_project',
62
66
  :'hosted_zone' => :'hosted_zone',
@@ -79,6 +83,7 @@ module Akeyless
79
83
  :'challenge_type' => :'String',
80
84
  :'dns_target_name' => :'String',
81
85
  :'dns_target_type' => :'String',
86
+ :'dns_zone' => :'String',
82
87
  :'email' => :'String',
83
88
  :'gcp_project' => :'String',
84
89
  :'hosted_zone' => :'String',
@@ -132,6 +137,10 @@ module Akeyless
132
137
  self.dns_target_type = attributes[:'dns_target_type']
133
138
  end
134
139
 
140
+ if attributes.key?(:'dns_zone')
141
+ self.dns_zone = attributes[:'dns_zone']
142
+ end
143
+
135
144
  if attributes.key?(:'email')
136
145
  self.email = attributes[:'email']
137
146
  end
@@ -179,6 +188,7 @@ module Akeyless
179
188
  challenge_type == o.challenge_type &&
180
189
  dns_target_name == o.dns_target_name &&
181
190
  dns_target_type == o.dns_target_type &&
191
+ dns_zone == o.dns_zone &&
182
192
  email == o.email &&
183
193
  gcp_project == o.gcp_project &&
184
194
  hosted_zone == o.hosted_zone &&
@@ -195,7 +205,7 @@ module Akeyless
195
205
  # Calculates hash code according to all attributes.
196
206
  # @return [Integer] Hash code
197
207
  def hash
198
- [account_key_pem, account_url, acme_environment, challenge_type, dns_target_name, dns_target_type, email, gcp_project, hosted_zone, resource_group, timeout].hash
208
+ [account_key_pem, account_url, acme_environment, challenge_type, dns_target_name, dns_target_type, dns_zone, email, gcp_project, hosted_zone, resource_group, timeout].hash
199
209
  end
200
210
 
201
211
  # Builds the object from hash
@@ -28,7 +28,7 @@ module Akeyless
28
28
  # Authentication token (see `/auth` and `/configure`)
29
29
  attr_accessor :token
30
30
 
31
- # The target types list . In case it is empty, all types of targets will be returned. options: [hanadb cassandra aws ssh gke eks mysql mongodb snowflake mssql redshift artifactory azure rabbitmq k8s venafi gcp oracle dockerhub ldap github chef web salesforce postgres]
31
+ # The target types list . In case it is empty, all types of targets will be returned. options: [hanadb cassandra aws ssh gke eks mysql mongodb snowflake mssql redshift artifactory azure rabbitmq k8s venafi gcp oracle dockerhub cloudflare ldap github chef web salesforce postgres]
32
32
  attr_accessor :type
33
33
 
34
34
  # The universal identity token, Required only for universal_identity authentication
@@ -33,6 +33,10 @@ module Akeyless
33
33
 
34
34
  attr_accessor :auto_renew_certificate
35
35
 
36
+ attr_accessor :basic_constraints
37
+
38
+ attr_accessor :basic_constraints_critical
39
+
36
40
  attr_accessor :basic_constraints_valid_for_non_ca
37
41
 
38
42
  attr_accessor :certificate_authority_mode
@@ -121,6 +125,8 @@ module Akeyless
121
125
  :'allowed_ip_sans' => :'allowed_ip_sans',
122
126
  :'allowed_uri_sans' => :'allowed_uri_sans',
123
127
  :'auto_renew_certificate' => :'auto_renew_certificate',
128
+ :'basic_constraints' => :'basic_constraints',
129
+ :'basic_constraints_critical' => :'basic_constraints_critical',
124
130
  :'basic_constraints_valid_for_non_ca' => :'basic_constraints_valid_for_non_ca',
125
131
  :'certificate_authority_mode' => :'certificate_authority_mode',
126
132
  :'client_flag' => :'client_flag',
@@ -175,6 +181,8 @@ module Akeyless
175
181
  :'allowed_ip_sans' => :'Array<String>',
176
182
  :'allowed_uri_sans' => :'Array<String>',
177
183
  :'auto_renew_certificate' => :'Boolean',
184
+ :'basic_constraints' => :'String',
185
+ :'basic_constraints_critical' => :'Boolean',
178
186
  :'basic_constraints_valid_for_non_ca' => :'Boolean',
179
187
  :'certificate_authority_mode' => :'String',
180
188
  :'client_flag' => :'Boolean',
@@ -277,6 +285,14 @@ module Akeyless
277
285
  self.auto_renew_certificate = attributes[:'auto_renew_certificate']
278
286
  end
279
287
 
288
+ if attributes.key?(:'basic_constraints')
289
+ self.basic_constraints = attributes[:'basic_constraints']
290
+ end
291
+
292
+ if attributes.key?(:'basic_constraints_critical')
293
+ self.basic_constraints_critical = attributes[:'basic_constraints_critical']
294
+ end
295
+
280
296
  if attributes.key?(:'basic_constraints_valid_for_non_ca')
281
297
  self.basic_constraints_valid_for_non_ca = attributes[:'basic_constraints_valid_for_non_ca']
282
298
  end
@@ -461,6 +477,8 @@ module Akeyless
461
477
  allowed_ip_sans == o.allowed_ip_sans &&
462
478
  allowed_uri_sans == o.allowed_uri_sans &&
463
479
  auto_renew_certificate == o.auto_renew_certificate &&
480
+ basic_constraints == o.basic_constraints &&
481
+ basic_constraints_critical == o.basic_constraints_critical &&
464
482
  basic_constraints_valid_for_non_ca == o.basic_constraints_valid_for_non_ca &&
465
483
  certificate_authority_mode == o.certificate_authority_mode &&
466
484
  client_flag == o.client_flag &&
@@ -506,7 +524,7 @@ module Akeyless
506
524
  # Calculates hash code according to all attributes.
507
525
  # @return [Integer] Hash code
508
526
  def hash
509
- [acme_enabled, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains_list, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew_certificate, basic_constraints_valid_for_non_ca, certificate_authority_mode, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, destination_path, disable_wildcards, enforce_hostnames, expiration_events, gw_cluster_id, gw_cluster_url, is_ca, key_bits, key_type, key_usage_list, locality, max_path_len, non_critical_key_usage, not_before_duration, ocsp_next_update, organization_list, organization_unit_list, pki_issuer_type, postal_code, protect_generated_certificates, province, renew_before_expiration_in_days, require_cn, server_flag, street_address].hash
527
+ [acme_enabled, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains_list, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew_certificate, basic_constraints, basic_constraints_critical, basic_constraints_valid_for_non_ca, certificate_authority_mode, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, destination_path, disable_wildcards, enforce_hostnames, expiration_events, gw_cluster_id, gw_cluster_url, is_ca, key_bits, key_type, key_usage_list, locality, max_path_len, non_critical_key_usage, not_before_duration, ocsp_next_update, organization_list, organization_unit_list, pki_issuer_type, postal_code, protect_generated_certificates, province, renew_before_expiration_in_days, require_cn, server_flag, street_address].hash
510
528
  end
511
529
 
512
530
  # Builds the object from hash