akeyless 4.2.0 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (478) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/docs/Auth.md +4 -2
  4. data/docs/AuthMethod.md +2 -0
  5. data/docs/AuthMethodCreateApiKey.md +2 -0
  6. data/docs/AuthMethodCreateAwsIam.md +2 -0
  7. data/docs/AuthMethodCreateAzureAD.md +2 -0
  8. data/docs/AuthMethodCreateCert.md +2 -0
  9. data/docs/AuthMethodCreateEmail.md +2 -0
  10. data/docs/AuthMethodCreateGcp.md +2 -0
  11. data/docs/AuthMethodCreateK8s.md +2 -0
  12. data/docs/AuthMethodCreateLdap.md +2 -0
  13. data/docs/AuthMethodCreateOCI.md +2 -0
  14. data/docs/AuthMethodCreateOIDC.md +2 -0
  15. data/docs/AuthMethodCreateOauth2.md +2 -0
  16. data/docs/AuthMethodCreateSAML.md +2 -0
  17. data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
  18. data/docs/AuthMethodUpdateApiKey.md +2 -0
  19. data/docs/AuthMethodUpdateAwsIam.md +2 -0
  20. data/docs/AuthMethodUpdateAzureAD.md +2 -0
  21. data/docs/AuthMethodUpdateCert.md +2 -0
  22. data/docs/AuthMethodUpdateEmail.md +2 -0
  23. data/docs/AuthMethodUpdateGcp.md +2 -0
  24. data/docs/AuthMethodUpdateK8s.md +2 -0
  25. data/docs/AuthMethodUpdateLdap.md +2 -0
  26. data/docs/AuthMethodUpdateOCI.md +2 -0
  27. data/docs/AuthMethodUpdateOIDC.md +2 -0
  28. data/docs/AuthMethodUpdateOauth2.md +2 -0
  29. data/docs/AuthMethodUpdateSAML.md +2 -0
  30. data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
  31. data/docs/AuthOutput.md +2 -0
  32. data/docs/BastionListEntry.md +2 -0
  33. data/docs/BatchEncryptionRequestLine.md +24 -0
  34. data/docs/BatchEncryptionResponseLine.md +20 -0
  35. data/docs/Connect.md +2 -0
  36. data/docs/CreateAuthMethod.md +2 -0
  37. data/docs/CreateAuthMethodAWSIAM.md +2 -0
  38. data/docs/CreateAuthMethodAzureAD.md +2 -0
  39. data/docs/CreateAuthMethodCert.md +2 -0
  40. data/docs/CreateAuthMethodEmail.md +2 -0
  41. data/docs/CreateAuthMethodGCP.md +2 -0
  42. data/docs/CreateAuthMethodHuawei.md +2 -0
  43. data/docs/CreateAuthMethodK8S.md +2 -0
  44. data/docs/CreateAuthMethodLDAP.md +2 -0
  45. data/docs/CreateAuthMethodOAuth2.md +2 -0
  46. data/docs/CreateAuthMethodOCI.md +2 -0
  47. data/docs/CreateAuthMethodOIDC.md +2 -0
  48. data/docs/CreateAuthMethodSAML.md +2 -0
  49. data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
  50. data/docs/CreateCertificate.md +1 -1
  51. data/docs/CreateClassicKey.md +3 -1
  52. data/docs/CreateDFCKey.md +3 -1
  53. data/docs/CreateDynamicSecret.md +1 -1
  54. data/docs/CreateESM.md +1 -1
  55. data/docs/CreateKey.md +1 -1
  56. data/docs/CreateOidcApp.md +1 -1
  57. data/docs/CreatePKICertIssuer.md +1 -1
  58. data/docs/CreateRole.md +2 -0
  59. data/docs/CreateRotatedSecret.md +1 -1
  60. data/docs/CreateSSHCertIssuer.md +1 -1
  61. data/docs/CreateSecret.md +1 -1
  62. data/docs/CreateTokenizer.md +1 -1
  63. data/docs/CreateUSC.md +1 -1
  64. data/docs/DSProducerDetails.md +4 -0
  65. data/docs/DescribeItem.md +2 -0
  66. data/docs/DynamicSecretCreateArtifactory.md +1 -1
  67. data/docs/DynamicSecretCreateAws.md +5 -1
  68. data/docs/DynamicSecretCreateAzure.md +1 -1
  69. data/docs/DynamicSecretCreateCassandra.md +1 -1
  70. data/docs/DynamicSecretCreateChef.md +1 -1
  71. data/docs/DynamicSecretCreateCustom.md +1 -1
  72. data/docs/DynamicSecretCreateDockerhub.md +1 -1
  73. data/docs/DynamicSecretCreateEks.md +1 -1
  74. data/docs/DynamicSecretCreateGcp.md +1 -1
  75. data/docs/DynamicSecretCreateGithub.md +1 -1
  76. data/docs/DynamicSecretCreateGitlab.md +1 -1
  77. data/docs/DynamicSecretCreateGke.md +1 -1
  78. data/docs/DynamicSecretCreateGoogleWorkspace.md +1 -1
  79. data/docs/DynamicSecretCreateHanaDb.md +1 -1
  80. data/docs/DynamicSecretCreateK8s.md +1 -1
  81. data/docs/DynamicSecretCreateLdap.md +1 -1
  82. data/docs/DynamicSecretCreateMongoDb.md +1 -1
  83. data/docs/DynamicSecretCreateMsSql.md +1 -1
  84. data/docs/DynamicSecretCreateMySql.md +1 -1
  85. data/docs/DynamicSecretCreateOracleDb.md +1 -1
  86. data/docs/DynamicSecretCreatePing.md +1 -1
  87. data/docs/DynamicSecretCreatePostgreSql.md +1 -1
  88. data/docs/DynamicSecretCreateRabbitMq.md +1 -1
  89. data/docs/DynamicSecretCreateRdp.md +1 -1
  90. data/docs/DynamicSecretCreateRedis.md +1 -1
  91. data/docs/DynamicSecretCreateRedshift.md +1 -1
  92. data/docs/DynamicSecretCreateSnowflake.md +1 -1
  93. data/docs/DynamicSecretCreateVenafi.md +1 -1
  94. data/docs/DynamicSecretUpdateArtifactory.md +1 -1
  95. data/docs/DynamicSecretUpdateAws.md +5 -1
  96. data/docs/DynamicSecretUpdateAzure.md +1 -1
  97. data/docs/DynamicSecretUpdateCassandra.md +1 -1
  98. data/docs/DynamicSecretUpdateChef.md +1 -1
  99. data/docs/DynamicSecretUpdateCustom.md +1 -1
  100. data/docs/DynamicSecretUpdateDockerhub.md +1 -1
  101. data/docs/DynamicSecretUpdateEks.md +1 -1
  102. data/docs/DynamicSecretUpdateGcp.md +1 -1
  103. data/docs/DynamicSecretUpdateGithub.md +1 -1
  104. data/docs/DynamicSecretUpdateGitlab.md +1 -1
  105. data/docs/DynamicSecretUpdateGke.md +1 -1
  106. data/docs/DynamicSecretUpdateGoogleWorkspace.md +1 -1
  107. data/docs/DynamicSecretUpdateHanaDb.md +1 -1
  108. data/docs/DynamicSecretUpdateK8s.md +1 -1
  109. data/docs/DynamicSecretUpdateLdap.md +1 -1
  110. data/docs/DynamicSecretUpdateMongoDb.md +1 -1
  111. data/docs/DynamicSecretUpdateMsSql.md +1 -1
  112. data/docs/DynamicSecretUpdateMySql.md +1 -1
  113. data/docs/DynamicSecretUpdateOracleDb.md +1 -1
  114. data/docs/DynamicSecretUpdatePing.md +1 -1
  115. data/docs/DynamicSecretUpdatePostgreSql.md +1 -1
  116. data/docs/DynamicSecretUpdateRabbitMq.md +1 -1
  117. data/docs/DynamicSecretUpdateRdp.md +1 -1
  118. data/docs/DynamicSecretUpdateRedis.md +1 -1
  119. data/docs/DynamicSecretUpdateRedshift.md +1 -1
  120. data/docs/DynamicSecretUpdateSnowflake.md +1 -1
  121. data/docs/DynamicSecretUpdateVenafi.md +1 -1
  122. data/docs/GatewayCreateMigration.md +2 -0
  123. data/docs/GatewayCreateProducerArtifactory.md +1 -1
  124. data/docs/GatewayCreateProducerAws.md +5 -1
  125. data/docs/GatewayCreateProducerAzure.md +1 -1
  126. data/docs/GatewayCreateProducerCassandra.md +1 -1
  127. data/docs/GatewayCreateProducerChef.md +1 -1
  128. data/docs/GatewayCreateProducerCustom.md +1 -1
  129. data/docs/GatewayCreateProducerDockerhub.md +1 -1
  130. data/docs/GatewayCreateProducerEks.md +1 -1
  131. data/docs/GatewayCreateProducerGcp.md +1 -1
  132. data/docs/GatewayCreateProducerGithub.md +1 -1
  133. data/docs/GatewayCreateProducerGke.md +1 -1
  134. data/docs/GatewayCreateProducerHanaDb.md +1 -1
  135. data/docs/GatewayCreateProducerLdap.md +1 -1
  136. data/docs/GatewayCreateProducerMSSQL.md +1 -1
  137. data/docs/GatewayCreateProducerMongo.md +1 -1
  138. data/docs/GatewayCreateProducerMySQL.md +1 -1
  139. data/docs/GatewayCreateProducerNativeK8S.md +1 -1
  140. data/docs/GatewayCreateProducerOracleDb.md +1 -1
  141. data/docs/GatewayCreateProducerPing.md +1 -1
  142. data/docs/GatewayCreateProducerPostgreSQL.md +1 -1
  143. data/docs/GatewayCreateProducerRabbitMQ.md +1 -1
  144. data/docs/GatewayCreateProducerRdp.md +1 -1
  145. data/docs/GatewayCreateProducerRedis.md +1 -1
  146. data/docs/GatewayCreateProducerRedshift.md +1 -1
  147. data/docs/GatewayCreateProducerSnowflake.md +1 -1
  148. data/docs/GatewayCreateProducerVenafi.md +1 -1
  149. data/docs/GatewayUpdateItem.md +1 -1
  150. data/docs/GatewayUpdateMigration.md +2 -0
  151. data/docs/GatewayUpdateProducerArtifactory.md +1 -1
  152. data/docs/GatewayUpdateProducerAws.md +5 -1
  153. data/docs/GatewayUpdateProducerAzure.md +1 -1
  154. data/docs/GatewayUpdateProducerCassandra.md +1 -1
  155. data/docs/GatewayUpdateProducerChef.md +1 -1
  156. data/docs/GatewayUpdateProducerCustom.md +1 -1
  157. data/docs/GatewayUpdateProducerDockerhub.md +1 -1
  158. data/docs/GatewayUpdateProducerEks.md +1 -1
  159. data/docs/GatewayUpdateProducerGcp.md +1 -1
  160. data/docs/GatewayUpdateProducerGithub.md +1 -1
  161. data/docs/GatewayUpdateProducerGke.md +1 -1
  162. data/docs/GatewayUpdateProducerHanaDb.md +1 -1
  163. data/docs/GatewayUpdateProducerLdap.md +1 -1
  164. data/docs/GatewayUpdateProducerMSSQL.md +1 -1
  165. data/docs/GatewayUpdateProducerMongo.md +1 -1
  166. data/docs/GatewayUpdateProducerMySQL.md +1 -1
  167. data/docs/GatewayUpdateProducerNativeK8S.md +1 -1
  168. data/docs/GatewayUpdateProducerOracleDb.md +1 -1
  169. data/docs/GatewayUpdateProducerPing.md +1 -1
  170. data/docs/GatewayUpdateProducerPostgreSQL.md +1 -1
  171. data/docs/GatewayUpdateProducerRabbitMQ.md +1 -1
  172. data/docs/GatewayUpdateProducerRdp.md +1 -1
  173. data/docs/GatewayUpdateProducerRedis.md +1 -1
  174. data/docs/GatewayUpdateProducerRedshift.md +1 -1
  175. data/docs/GatewayUpdateProducerSnowflake.md +1 -1
  176. data/docs/GatewayUpdateProducerVenafi.md +1 -1
  177. data/docs/ItemGeneralInfo.md +2 -0
  178. data/docs/NotiForwarder.md +2 -0
  179. data/docs/RenewCertificate.md +2 -0
  180. data/docs/Role.md +2 -0
  181. data/docs/RotatedSecretCreateAws.md +1 -1
  182. data/docs/RotatedSecretCreateAzure.md +3 -1
  183. data/docs/RotatedSecretCreateCassandra.md +1 -1
  184. data/docs/RotatedSecretCreateCustom.md +3 -1
  185. data/docs/RotatedSecretCreateDockerhub.md +1 -1
  186. data/docs/RotatedSecretCreateGcp.md +1 -1
  187. data/docs/RotatedSecretCreateHanadb.md +1 -1
  188. data/docs/RotatedSecretCreateLdap.md +1 -1
  189. data/docs/RotatedSecretCreateMongodb.md +1 -1
  190. data/docs/RotatedSecretCreateMssql.md +1 -1
  191. data/docs/RotatedSecretCreateMysql.md +1 -1
  192. data/docs/RotatedSecretCreateOracledb.md +1 -1
  193. data/docs/RotatedSecretCreatePostgresql.md +1 -1
  194. data/docs/RotatedSecretCreateRedis.md +1 -1
  195. data/docs/RotatedSecretCreateRedshift.md +1 -1
  196. data/docs/RotatedSecretCreateSnowflake.md +1 -1
  197. data/docs/RotatedSecretCreateSsh.md +1 -1
  198. data/docs/RotatedSecretCreateWindows.md +1 -1
  199. data/docs/RotatedSecretDetailsInfo.md +3 -1
  200. data/docs/RotatedSecretUpdateAws.md +1 -1
  201. data/docs/RotatedSecretUpdateAzure.md +3 -1
  202. data/docs/RotatedSecretUpdateCassandra.md +1 -1
  203. data/docs/RotatedSecretUpdateCustom.md +3 -1
  204. data/docs/RotatedSecretUpdateDockerhub.md +1 -1
  205. data/docs/RotatedSecretUpdateGcp.md +1 -1
  206. data/docs/RotatedSecretUpdateHanadb.md +1 -1
  207. data/docs/RotatedSecretUpdateLdap.md +1 -1
  208. data/docs/RotatedSecretUpdateMongodb.md +1 -1
  209. data/docs/RotatedSecretUpdateMssql.md +1 -1
  210. data/docs/RotatedSecretUpdateMysql.md +1 -1
  211. data/docs/RotatedSecretUpdateOracledb.md +1 -1
  212. data/docs/RotatedSecretUpdatePostgresql.md +1 -1
  213. data/docs/RotatedSecretUpdateRedis.md +1 -1
  214. data/docs/RotatedSecretUpdateRedshift.md +1 -1
  215. data/docs/RotatedSecretUpdateSnowflake.md +1 -1
  216. data/docs/RotatedSecretUpdateSsh.md +1 -1
  217. data/docs/RotatedSecretUpdateWindows.md +1 -1
  218. data/docs/UpdateAuthMethod.md +2 -0
  219. data/docs/UpdateAuthMethodAWSIAM.md +2 -0
  220. data/docs/UpdateAuthMethodAzureAD.md +2 -0
  221. data/docs/UpdateAuthMethodCert.md +2 -0
  222. data/docs/UpdateAuthMethodGCP.md +2 -0
  223. data/docs/UpdateAuthMethodK8S.md +2 -0
  224. data/docs/UpdateAuthMethodLDAP.md +2 -0
  225. data/docs/UpdateAuthMethodOAuth2.md +2 -0
  226. data/docs/UpdateAuthMethodOCI.md +2 -0
  227. data/docs/UpdateAuthMethodOIDC.md +2 -0
  228. data/docs/UpdateAuthMethodSAML.md +2 -0
  229. data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
  230. data/docs/UpdateCertificateValue.md +1 -1
  231. data/docs/UpdateItem.md +1 -1
  232. data/docs/UpdatePKICertIssuer.md +1 -1
  233. data/docs/UpdateRole.md +2 -0
  234. data/docs/UpdateSSHCertIssuer.md +1 -1
  235. data/docs/UploadPKCS12.md +1 -1
  236. data/docs/UploadRSA.md +3 -1
  237. data/docs/V2Api.md +126 -0
  238. data/lib/akeyless/api/v2_api.rb +659 -531
  239. data/lib/akeyless/models/auth.rb +15 -5
  240. data/lib/akeyless/models/auth_method.rb +10 -1
  241. data/lib/akeyless/models/auth_method_create_api_key.rb +11 -1
  242. data/lib/akeyless/models/auth_method_create_aws_iam.rb +11 -1
  243. data/lib/akeyless/models/auth_method_create_azure_ad.rb +11 -1
  244. data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
  245. data/lib/akeyless/models/auth_method_create_email.rb +11 -1
  246. data/lib/akeyless/models/auth_method_create_gcp.rb +11 -1
  247. data/lib/akeyless/models/auth_method_create_k8s.rb +11 -1
  248. data/lib/akeyless/models/auth_method_create_ldap.rb +11 -1
  249. data/lib/akeyless/models/auth_method_create_oauth2.rb +11 -1
  250. data/lib/akeyless/models/auth_method_create_oci.rb +11 -1
  251. data/lib/akeyless/models/auth_method_create_oidc.rb +11 -1
  252. data/lib/akeyless/models/auth_method_create_saml.rb +11 -1
  253. data/lib/akeyless/models/auth_method_create_universal_identity.rb +11 -1
  254. data/lib/akeyless/models/auth_method_update_api_key.rb +11 -1
  255. data/lib/akeyless/models/auth_method_update_aws_iam.rb +11 -1
  256. data/lib/akeyless/models/auth_method_update_azure_ad.rb +11 -1
  257. data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
  258. data/lib/akeyless/models/auth_method_update_email.rb +11 -1
  259. data/lib/akeyless/models/auth_method_update_gcp.rb +11 -1
  260. data/lib/akeyless/models/auth_method_update_k8s.rb +11 -1
  261. data/lib/akeyless/models/auth_method_update_ldap.rb +11 -1
  262. data/lib/akeyless/models/auth_method_update_oauth2.rb +11 -1
  263. data/lib/akeyless/models/auth_method_update_oci.rb +11 -1
  264. data/lib/akeyless/models/auth_method_update_oidc.rb +11 -1
  265. data/lib/akeyless/models/auth_method_update_saml.rb +11 -1
  266. data/lib/akeyless/models/auth_method_update_universal_identity.rb +11 -1
  267. data/lib/akeyless/models/auth_output.rb +10 -1
  268. data/lib/akeyless/models/bastion_list_entry.rb +10 -1
  269. data/lib/akeyless/models/batch_encryption_request_line.rb +243 -0
  270. data/lib/akeyless/models/batch_encryption_response_line.rb +223 -0
  271. data/lib/akeyless/models/connect.rb +11 -1
  272. data/lib/akeyless/models/create_auth_method.rb +11 -1
  273. data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
  274. data/lib/akeyless/models/create_auth_method_azure_ad.rb +11 -1
  275. data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
  276. data/lib/akeyless/models/create_auth_method_email.rb +11 -1
  277. data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
  278. data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
  279. data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
  280. data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
  281. data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
  282. data/lib/akeyless/models/create_auth_method_oci.rb +11 -1
  283. data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
  284. data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
  285. data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
  286. data/lib/akeyless/models/create_certificate.rb +1 -1
  287. data/lib/akeyless/models/create_classic_key.rb +11 -2
  288. data/lib/akeyless/models/create_dfc_key.rb +11 -2
  289. data/lib/akeyless/models/create_dynamic_secret.rb +1 -1
  290. data/lib/akeyless/models/create_esm.rb +1 -1
  291. data/lib/akeyless/models/create_key.rb +1 -1
  292. data/lib/akeyless/models/create_oidc_app.rb +1 -1
  293. data/lib/akeyless/models/create_pki_cert_issuer.rb +1 -1
  294. data/lib/akeyless/models/create_role.rb +11 -1
  295. data/lib/akeyless/models/create_rotated_secret.rb +1 -1
  296. data/lib/akeyless/models/create_secret.rb +1 -1
  297. data/lib/akeyless/models/create_ssh_cert_issuer.rb +1 -1
  298. data/lib/akeyless/models/create_tokenizer.rb +1 -1
  299. data/lib/akeyless/models/create_usc.rb +1 -1
  300. data/lib/akeyless/models/describe_item.rb +13 -1
  301. data/lib/akeyless/models/ds_producer_details.rb +19 -1
  302. data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +1 -1
  303. data/lib/akeyless/models/dynamic_secret_create_aws.rb +22 -2
  304. data/lib/akeyless/models/dynamic_secret_create_azure.rb +1 -1
  305. data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +1 -1
  306. data/lib/akeyless/models/dynamic_secret_create_chef.rb +1 -1
  307. data/lib/akeyless/models/dynamic_secret_create_custom.rb +1 -1
  308. data/lib/akeyless/models/dynamic_secret_create_dockerhub.rb +1 -1
  309. data/lib/akeyless/models/dynamic_secret_create_eks.rb +1 -1
  310. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +1 -1
  311. data/lib/akeyless/models/dynamic_secret_create_github.rb +1 -1
  312. data/lib/akeyless/models/dynamic_secret_create_gitlab.rb +1 -1
  313. data/lib/akeyless/models/dynamic_secret_create_gke.rb +1 -1
  314. data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +1 -1
  315. data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +1 -1
  316. data/lib/akeyless/models/dynamic_secret_create_k8s.rb +1 -1
  317. data/lib/akeyless/models/dynamic_secret_create_ldap.rb +1 -1
  318. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +1 -1
  319. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +1 -1
  320. data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +1 -1
  321. data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +1 -1
  322. data/lib/akeyless/models/dynamic_secret_create_ping.rb +1 -1
  323. data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +1 -1
  324. data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +1 -1
  325. data/lib/akeyless/models/dynamic_secret_create_rdp.rb +1 -1
  326. data/lib/akeyless/models/dynamic_secret_create_redis.rb +1 -1
  327. data/lib/akeyless/models/dynamic_secret_create_redshift.rb +1 -1
  328. data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +1 -1
  329. data/lib/akeyless/models/dynamic_secret_create_venafi.rb +1 -1
  330. data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +1 -1
  331. data/lib/akeyless/models/dynamic_secret_update_aws.rb +22 -2
  332. data/lib/akeyless/models/dynamic_secret_update_azure.rb +1 -1
  333. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +1 -1
  334. data/lib/akeyless/models/dynamic_secret_update_chef.rb +1 -1
  335. data/lib/akeyless/models/dynamic_secret_update_custom.rb +1 -1
  336. data/lib/akeyless/models/dynamic_secret_update_dockerhub.rb +1 -1
  337. data/lib/akeyless/models/dynamic_secret_update_eks.rb +1 -1
  338. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +1 -1
  339. data/lib/akeyless/models/dynamic_secret_update_github.rb +1 -1
  340. data/lib/akeyless/models/dynamic_secret_update_gitlab.rb +1 -1
  341. data/lib/akeyless/models/dynamic_secret_update_gke.rb +1 -1
  342. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +1 -1
  343. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +1 -1
  344. data/lib/akeyless/models/dynamic_secret_update_k8s.rb +1 -1
  345. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +1 -1
  346. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +1 -1
  347. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +1 -1
  348. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +1 -1
  349. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +1 -1
  350. data/lib/akeyless/models/dynamic_secret_update_ping.rb +1 -1
  351. data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +1 -1
  352. data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +1 -1
  353. data/lib/akeyless/models/dynamic_secret_update_rdp.rb +1 -1
  354. data/lib/akeyless/models/dynamic_secret_update_redis.rb +1 -1
  355. data/lib/akeyless/models/dynamic_secret_update_redshift.rb +1 -1
  356. data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +1 -1
  357. data/lib/akeyless/models/dynamic_secret_update_venafi.rb +1 -1
  358. data/lib/akeyless/models/gateway_create_migration.rb +10 -1
  359. data/lib/akeyless/models/gateway_create_producer_artifactory.rb +1 -1
  360. data/lib/akeyless/models/gateway_create_producer_aws.rb +22 -2
  361. data/lib/akeyless/models/gateway_create_producer_azure.rb +1 -1
  362. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +1 -1
  363. data/lib/akeyless/models/gateway_create_producer_chef.rb +1 -1
  364. data/lib/akeyless/models/gateway_create_producer_custom.rb +1 -1
  365. data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +1 -1
  366. data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
  367. data/lib/akeyless/models/gateway_create_producer_gcp.rb +1 -1
  368. data/lib/akeyless/models/gateway_create_producer_github.rb +1 -1
  369. data/lib/akeyless/models/gateway_create_producer_gke.rb +1 -1
  370. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +1 -1
  371. data/lib/akeyless/models/gateway_create_producer_ldap.rb +1 -1
  372. data/lib/akeyless/models/gateway_create_producer_mongo.rb +1 -1
  373. data/lib/akeyless/models/gateway_create_producer_mssql.rb +1 -1
  374. data/lib/akeyless/models/gateway_create_producer_my_sql.rb +1 -1
  375. data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +1 -1
  376. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +1 -1
  377. data/lib/akeyless/models/gateway_create_producer_ping.rb +1 -1
  378. data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +1 -1
  379. data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +1 -1
  380. data/lib/akeyless/models/gateway_create_producer_rdp.rb +1 -1
  381. data/lib/akeyless/models/gateway_create_producer_redis.rb +1 -1
  382. data/lib/akeyless/models/gateway_create_producer_redshift.rb +1 -1
  383. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +1 -1
  384. data/lib/akeyless/models/gateway_create_producer_venafi.rb +1 -1
  385. data/lib/akeyless/models/gateway_update_item.rb +1 -1
  386. data/lib/akeyless/models/gateway_update_migration.rb +10 -1
  387. data/lib/akeyless/models/gateway_update_producer_artifactory.rb +1 -1
  388. data/lib/akeyless/models/gateway_update_producer_aws.rb +22 -2
  389. data/lib/akeyless/models/gateway_update_producer_azure.rb +1 -1
  390. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +1 -1
  391. data/lib/akeyless/models/gateway_update_producer_chef.rb +1 -1
  392. data/lib/akeyless/models/gateway_update_producer_custom.rb +1 -1
  393. data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +1 -1
  394. data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
  395. data/lib/akeyless/models/gateway_update_producer_gcp.rb +1 -1
  396. data/lib/akeyless/models/gateway_update_producer_github.rb +1 -1
  397. data/lib/akeyless/models/gateway_update_producer_gke.rb +1 -1
  398. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +1 -1
  399. data/lib/akeyless/models/gateway_update_producer_ldap.rb +1 -1
  400. data/lib/akeyless/models/gateway_update_producer_mongo.rb +1 -1
  401. data/lib/akeyless/models/gateway_update_producer_mssql.rb +1 -1
  402. data/lib/akeyless/models/gateway_update_producer_my_sql.rb +1 -1
  403. data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +1 -1
  404. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +1 -1
  405. data/lib/akeyless/models/gateway_update_producer_ping.rb +1 -1
  406. data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +1 -1
  407. data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +1 -1
  408. data/lib/akeyless/models/gateway_update_producer_rdp.rb +1 -1
  409. data/lib/akeyless/models/gateway_update_producer_redis.rb +1 -1
  410. data/lib/akeyless/models/gateway_update_producer_redshift.rb +1 -1
  411. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +1 -1
  412. data/lib/akeyless/models/gateway_update_producer_venafi.rb +1 -1
  413. data/lib/akeyless/models/get_rotated_secret_value.rb +0 -1
  414. data/lib/akeyless/models/item_general_info.rb +10 -1
  415. data/lib/akeyless/models/noti_forwarder.rb +10 -1
  416. data/lib/akeyless/models/renew_certificate.rb +11 -1
  417. data/lib/akeyless/models/role.rb +10 -1
  418. data/lib/akeyless/models/rotated_secret_create_aws.rb +1 -1
  419. data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -2
  420. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +1 -1
  421. data/lib/akeyless/models/rotated_secret_create_custom.rb +14 -2
  422. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +1 -1
  423. data/lib/akeyless/models/rotated_secret_create_gcp.rb +1 -1
  424. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +1 -1
  425. data/lib/akeyless/models/rotated_secret_create_ldap.rb +1 -1
  426. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +1 -1
  427. data/lib/akeyless/models/rotated_secret_create_mssql.rb +1 -1
  428. data/lib/akeyless/models/rotated_secret_create_mysql.rb +1 -1
  429. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +1 -1
  430. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +1 -1
  431. data/lib/akeyless/models/rotated_secret_create_redis.rb +1 -1
  432. data/lib/akeyless/models/rotated_secret_create_redshift.rb +1 -1
  433. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +1 -1
  434. data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
  435. data/lib/akeyless/models/rotated_secret_create_windows.rb +1 -1
  436. data/lib/akeyless/models/rotated_secret_details_info.rb +13 -4
  437. data/lib/akeyless/models/rotated_secret_update_aws.rb +1 -1
  438. data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -2
  439. data/lib/akeyless/models/rotated_secret_update_cassandra.rb +1 -1
  440. data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -2
  441. data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +1 -1
  442. data/lib/akeyless/models/rotated_secret_update_gcp.rb +1 -1
  443. data/lib/akeyless/models/rotated_secret_update_hanadb.rb +1 -1
  444. data/lib/akeyless/models/rotated_secret_update_ldap.rb +1 -1
  445. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +1 -1
  446. data/lib/akeyless/models/rotated_secret_update_mssql.rb +1 -1
  447. data/lib/akeyless/models/rotated_secret_update_mysql.rb +1 -1
  448. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +1 -1
  449. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +1 -1
  450. data/lib/akeyless/models/rotated_secret_update_redis.rb +1 -1
  451. data/lib/akeyless/models/rotated_secret_update_redshift.rb +1 -1
  452. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +1 -1
  453. data/lib/akeyless/models/rotated_secret_update_ssh.rb +1 -1
  454. data/lib/akeyless/models/rotated_secret_update_windows.rb +1 -1
  455. data/lib/akeyless/models/update_auth_method.rb +11 -1
  456. data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
  457. data/lib/akeyless/models/update_auth_method_azure_ad.rb +11 -1
  458. data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
  459. data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
  460. data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
  461. data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
  462. data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
  463. data/lib/akeyless/models/update_auth_method_oci.rb +11 -1
  464. data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
  465. data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
  466. data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
  467. data/lib/akeyless/models/update_certificate_value.rb +1 -1
  468. data/lib/akeyless/models/update_item.rb +1 -1
  469. data/lib/akeyless/models/update_pki_cert_issuer.rb +1 -1
  470. data/lib/akeyless/models/update_role.rb +11 -1
  471. data/lib/akeyless/models/update_ssh_cert_issuer.rb +1 -1
  472. data/lib/akeyless/models/upload_pkcs12.rb +1 -1
  473. data/lib/akeyless/models/upload_rsa.rb +11 -2
  474. data/lib/akeyless/version.rb +1 -1
  475. data/lib/akeyless.rb +2 -0
  476. data/spec/models/batch_encryption_request_line_spec.rb +54 -0
  477. data/spec/models/batch_encryption_response_line_spec.rb +42 -0
  478. metadata +985 -977
@@ -0,0 +1,223 @@
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: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.8.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class BatchEncryptionResponseLine
18
+ attr_accessor :data
19
+
20
+ attr_accessor :error
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'data' => :'data',
26
+ :'error' => :'error'
27
+ }
28
+ end
29
+
30
+ # Returns all the JSON keys this model knows about
31
+ def self.acceptable_attributes
32
+ attribute_map.values
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.openapi_types
37
+ {
38
+ :'data' => :'String',
39
+ :'error' => :'String'
40
+ }
41
+ end
42
+
43
+ # List of attributes with nullable: true
44
+ def self.openapi_nullable
45
+ Set.new([
46
+ ])
47
+ end
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ def initialize(attributes = {})
52
+ if (!attributes.is_a?(Hash))
53
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::BatchEncryptionResponseLine` initialize method"
54
+ end
55
+
56
+ # check to see if the attribute exists and convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h|
58
+ if (!self.class.attribute_map.key?(k.to_sym))
59
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::BatchEncryptionResponseLine`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
+ end
61
+ h[k.to_sym] = v
62
+ }
63
+
64
+ if attributes.key?(:'data')
65
+ self.data = attributes[:'data']
66
+ end
67
+
68
+ if attributes.key?(:'error')
69
+ self.error = attributes[:'error']
70
+ end
71
+ end
72
+
73
+ # Show invalid properties with the reasons. Usually used together with valid?
74
+ # @return Array for valid properties with the reasons
75
+ def list_invalid_properties
76
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ warn '[DEPRECATED] the `valid?` method is obsolete'
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ data == o.data &&
94
+ error == o.error
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Integer] Hash code
105
+ def hash
106
+ [data, error].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def self.build_from_hash(attributes)
113
+ return nil unless attributes.is_a?(Hash)
114
+ attributes = attributes.transform_keys(&:to_sym)
115
+ transformed_hash = {}
116
+ openapi_types.each_pair do |key, type|
117
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
118
+ transformed_hash["#{key}"] = nil
119
+ elsif type =~ /\AArray<(.*)>/i
120
+ # check to ensure the input is an array given that the attribute
121
+ # is documented as an array but the input is not
122
+ if attributes[attribute_map[key]].is_a?(Array)
123
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
124
+ end
125
+ elsif !attributes[attribute_map[key]].nil?
126
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
127
+ end
128
+ end
129
+ new(transformed_hash)
130
+ end
131
+
132
+ # Deserializes the data based on type
133
+ # @param string type Data type
134
+ # @param string value Value to be deserialized
135
+ # @return [Object] Deserialized data
136
+ def self._deserialize(type, value)
137
+ case type.to_sym
138
+ when :Time
139
+ Time.parse(value)
140
+ when :Date
141
+ Date.parse(value)
142
+ when :String
143
+ value.to_s
144
+ when :Integer
145
+ value.to_i
146
+ when :Float
147
+ value.to_f
148
+ when :Boolean
149
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
150
+ true
151
+ else
152
+ false
153
+ end
154
+ when :Object
155
+ # generic object (usually a Hash), return directly
156
+ value
157
+ when /\AArray<(?<inner_type>.+)>\z/
158
+ inner_type = Regexp.last_match[:inner_type]
159
+ value.map { |v| _deserialize(inner_type, v) }
160
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
161
+ k_type = Regexp.last_match[:k_type]
162
+ v_type = Regexp.last_match[:v_type]
163
+ {}.tap do |hash|
164
+ value.each do |k, v|
165
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
166
+ end
167
+ end
168
+ else # model
169
+ # models (e.g. Pet) or oneOf
170
+ klass = Akeyless.const_get(type)
171
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
172
+ end
173
+ end
174
+
175
+ # Returns the string representation of the object
176
+ # @return [String] String presentation of the object
177
+ def to_s
178
+ to_hash.to_s
179
+ end
180
+
181
+ # to_body is an alias to to_hash (backward compatibility)
182
+ # @return [Hash] Returns the object in the form of hash
183
+ def to_body
184
+ to_hash
185
+ end
186
+
187
+ # Returns the object in the form of hash
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_hash
190
+ hash = {}
191
+ self.class.attribute_map.each_pair do |attr, param|
192
+ value = self.send(attr)
193
+ if value.nil?
194
+ is_nullable = self.class.openapi_nullable.include?(attr)
195
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
196
+ end
197
+
198
+ hash[param] = _to_hash(value)
199
+ end
200
+ hash
201
+ end
202
+
203
+ # Outputs non-array value in the form of hash
204
+ # For object, use to_hash. Otherwise, just return the value
205
+ # @param [Object] value Any valid value
206
+ # @return [Hash] Returns the value in the form of hash
207
+ def _to_hash(value)
208
+ if value.is_a?(Array)
209
+ value.compact.map { |v| _to_hash(v) }
210
+ elsif value.is_a?(Hash)
211
+ {}.tap do |hash|
212
+ value.each { |k, v| hash[k] = _to_hash(v) }
213
+ end
214
+ elsif value.respond_to? :to_hash
215
+ value.to_hash
216
+ else
217
+ value
218
+ end
219
+ end
220
+
221
+ end
222
+
223
+ end
@@ -16,6 +16,9 @@ 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
+
19
22
  attr_accessor :helper
20
23
 
21
24
  # used to override .akeyless-connect.rc in tests
@@ -74,6 +77,7 @@ module Akeyless
74
77
  # Attribute mapping from ruby-style variable name to JSON key.
75
78
  def self.attribute_map
76
79
  {
80
+ :'bastion_gateway_url' => :'BastionGatewayUrl',
77
81
  :'helper' => :'Helper',
78
82
  :'rc_file_override' => :'RcFileOverride',
79
83
  :'bastion_ctrl_path' => :'bastion-ctrl-path',
@@ -104,6 +108,7 @@ module Akeyless
104
108
  # Attribute type mapping.
105
109
  def self.openapi_types
106
110
  {
111
+ :'bastion_gateway_url' => :'String',
107
112
  :'helper' => :'Object',
108
113
  :'rc_file_override' => :'String',
109
114
  :'bastion_ctrl_path' => :'String',
@@ -147,6 +152,10 @@ module Akeyless
147
152
  h[k.to_sym] = v
148
153
  }
149
154
 
155
+ if attributes.key?(:'bastion_gateway_url')
156
+ self.bastion_gateway_url = attributes[:'bastion_gateway_url']
157
+ end
158
+
150
159
  if attributes.key?(:'helper')
151
160
  self.helper = attributes[:'helper']
152
161
  end
@@ -252,6 +261,7 @@ module Akeyless
252
261
  def ==(o)
253
262
  return true if self.equal?(o)
254
263
  self.class == o.class &&
264
+ bastion_gateway_url == o.bastion_gateway_url &&
255
265
  helper == o.helper &&
256
266
  rc_file_override == o.rc_file_override &&
257
267
  bastion_ctrl_path == o.bastion_ctrl_path &&
@@ -282,7 +292,7 @@ module Akeyless
282
292
  # Calculates hash code according to all attributes.
283
293
  # @return [Integer] Hash code
284
294
  def hash
285
- [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
+ [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
286
296
  end
287
297
 
288
298
  # Builds the object from hash
@@ -25,6 +25,9 @@ module Akeyless
25
25
  # A CIDR whitelist with the IPs that the access is restricted to
26
26
  attr_accessor :bound_ips
27
27
 
28
+ # Protection from accidental deletion of this object [true/false]
29
+ attr_accessor :delete_protection
30
+
28
31
  # Auth Method description
29
32
  attr_accessor :description
30
33
 
@@ -58,6 +61,7 @@ module Akeyless
58
61
  :'access_expires' => :'access-expires',
59
62
  :'audit_logs_claims' => :'audit-logs-claims',
60
63
  :'bound_ips' => :'bound-ips',
64
+ :'delete_protection' => :'delete_protection',
61
65
  :'description' => :'description',
62
66
  :'force_sub_claims' => :'force-sub-claims',
63
67
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -81,6 +85,7 @@ module Akeyless
81
85
  :'access_expires' => :'Integer',
82
86
  :'audit_logs_claims' => :'Array<String>',
83
87
  :'bound_ips' => :'Array<String>',
88
+ :'delete_protection' => :'String',
84
89
  :'description' => :'String',
85
90
  :'force_sub_claims' => :'Boolean',
86
91
  :'gw_bound_ips' => :'Array<String>',
@@ -132,6 +137,10 @@ module Akeyless
132
137
  end
133
138
  end
134
139
 
140
+ if attributes.key?(:'delete_protection')
141
+ self.delete_protection = attributes[:'delete_protection']
142
+ end
143
+
135
144
  if attributes.key?(:'description')
136
145
  self.description = attributes[:'description']
137
146
  end
@@ -207,6 +216,7 @@ module Akeyless
207
216
  access_expires == o.access_expires &&
208
217
  audit_logs_claims == o.audit_logs_claims &&
209
218
  bound_ips == o.bound_ips &&
219
+ delete_protection == o.delete_protection &&
210
220
  description == o.description &&
211
221
  force_sub_claims == o.force_sub_claims &&
212
222
  gw_bound_ips == o.gw_bound_ips &&
@@ -227,7 +237,7 @@ module Akeyless
227
237
  # Calculates hash code according to all attributes.
228
238
  # @return [Integer] Hash code
229
239
  def hash
230
- [access_expires, audit_logs_claims, bound_ips, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
240
+ [access_expires, audit_logs_claims, bound_ips, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
231
241
  end
232
242
 
233
243
  # Builds the object from hash
@@ -46,6 +46,9 @@ module Akeyless
46
46
  # A list of full user-name that the access is restricted to
47
47
  attr_accessor :bound_user_name
48
48
 
49
+ # Protection from accidental deletion of this object [true/false]
50
+ attr_accessor :delete_protection
51
+
49
52
  # Auth Method description
50
53
  attr_accessor :description
51
54
 
@@ -89,6 +92,7 @@ module Akeyless
89
92
  :'bound_role_name' => :'bound-role-name',
90
93
  :'bound_user_id' => :'bound-user-id',
91
94
  :'bound_user_name' => :'bound-user-name',
95
+ :'delete_protection' => :'delete_protection',
92
96
  :'description' => :'description',
93
97
  :'force_sub_claims' => :'force-sub-claims',
94
98
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -120,6 +124,7 @@ module Akeyless
120
124
  :'bound_role_name' => :'Array<String>',
121
125
  :'bound_user_id' => :'Array<String>',
122
126
  :'bound_user_name' => :'Array<String>',
127
+ :'delete_protection' => :'String',
123
128
  :'description' => :'String',
124
129
  :'force_sub_claims' => :'Boolean',
125
130
  :'gw_bound_ips' => :'Array<String>',
@@ -216,6 +221,10 @@ module Akeyless
216
221
  end
217
222
  end
218
223
 
224
+ if attributes.key?(:'delete_protection')
225
+ self.delete_protection = attributes[:'delete_protection']
226
+ end
227
+
219
228
  if attributes.key?(:'description')
220
229
  self.description = attributes[:'description']
221
230
  end
@@ -309,6 +318,7 @@ module Akeyless
309
318
  bound_role_name == o.bound_role_name &&
310
319
  bound_user_id == o.bound_user_id &&
311
320
  bound_user_name == o.bound_user_name &&
321
+ delete_protection == o.delete_protection &&
312
322
  description == o.description &&
313
323
  force_sub_claims == o.force_sub_claims &&
314
324
  gw_bound_ips == o.gw_bound_ips &&
@@ -330,7 +340,7 @@ module Akeyless
330
340
  # Calculates hash code according to all attributes.
331
341
  # @return [Integer] Hash code
332
342
  def hash
333
- [access_expires, audit_logs_claims, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, sts_url, token, uid_token].hash
343
+ [access_expires, audit_logs_claims, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, sts_url, token, uid_token].hash
334
344
  end
335
345
 
336
346
  # Builds the object from hash
@@ -55,6 +55,9 @@ module Akeyless
55
55
  # The Azure tenant id that the access is restricted to
56
56
  attr_accessor :bound_tenant_id
57
57
 
58
+ # Protection from accidental deletion of this object [true/false]
59
+ attr_accessor :delete_protection
60
+
58
61
  # Auth Method description
59
62
  attr_accessor :description
60
63
 
@@ -104,6 +107,7 @@ module Akeyless
104
107
  :'bound_spid' => :'bound-spid',
105
108
  :'bound_sub_id' => :'bound-sub-id',
106
109
  :'bound_tenant_id' => :'bound-tenant-id',
110
+ :'delete_protection' => :'delete_protection',
107
111
  :'description' => :'description',
108
112
  :'force_sub_claims' => :'force-sub-claims',
109
113
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -139,6 +143,7 @@ module Akeyless
139
143
  :'bound_spid' => :'Array<String>',
140
144
  :'bound_sub_id' => :'Array<String>',
141
145
  :'bound_tenant_id' => :'String',
146
+ :'delete_protection' => :'String',
142
147
  :'description' => :'String',
143
148
  :'force_sub_claims' => :'Boolean',
144
149
  :'gw_bound_ips' => :'Array<String>',
@@ -252,6 +257,10 @@ module Akeyless
252
257
  self.bound_tenant_id = nil
253
258
  end
254
259
 
260
+ if attributes.key?(:'delete_protection')
261
+ self.delete_protection = attributes[:'delete_protection']
262
+ end
263
+
255
264
  if attributes.key?(:'description')
256
265
  self.description = attributes[:'description']
257
266
  end
@@ -354,6 +363,7 @@ module Akeyless
354
363
  bound_spid == o.bound_spid &&
355
364
  bound_sub_id == o.bound_sub_id &&
356
365
  bound_tenant_id == o.bound_tenant_id &&
366
+ delete_protection == o.delete_protection &&
357
367
  description == o.description &&
358
368
  force_sub_claims == o.force_sub_claims &&
359
369
  gw_bound_ips == o.gw_bound_ips &&
@@ -376,7 +386,7 @@ module Akeyless
376
386
  # Calculates hash code according to all attributes.
377
387
  # @return [Integer] Hash code
378
388
  def hash
379
- [access_expires, audience, audit_logs_claims, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, description, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, product_type, token, uid_token].hash
389
+ [access_expires, audience, audit_logs_claims, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, delete_protection, description, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, product_type, token, uid_token].hash
380
390
  end
381
391
 
382
392
  # Builds the object from hash
@@ -49,6 +49,9 @@ module Akeyless
49
49
  # The certificate data in base64, if no file was provided
50
50
  attr_accessor :certificate_data
51
51
 
52
+ # Protection from accidental deletion of this object [true/false]
53
+ attr_accessor :delete_protection
54
+
52
55
  # Auth Method description
53
56
  attr_accessor :description
54
57
 
@@ -96,6 +99,7 @@ module Akeyless
96
99
  :'bound_organizational_units' => :'bound-organizational-units',
97
100
  :'bound_uri_sans' => :'bound-uri-sans',
98
101
  :'certificate_data' => :'certificate-data',
102
+ :'delete_protection' => :'delete_protection',
99
103
  :'description' => :'description',
100
104
  :'force_sub_claims' => :'force-sub-claims',
101
105
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -129,6 +133,7 @@ module Akeyless
129
133
  :'bound_organizational_units' => :'Array<String>',
130
134
  :'bound_uri_sans' => :'Array<String>',
131
135
  :'certificate_data' => :'String',
136
+ :'delete_protection' => :'String',
132
137
  :'description' => :'String',
133
138
  :'force_sub_claims' => :'Boolean',
134
139
  :'gw_bound_ips' => :'Array<String>',
@@ -226,6 +231,10 @@ module Akeyless
226
231
  self.certificate_data = attributes[:'certificate_data']
227
232
  end
228
233
 
234
+ if attributes.key?(:'delete_protection')
235
+ self.delete_protection = attributes[:'delete_protection']
236
+ end
237
+
229
238
  if attributes.key?(:'description')
230
239
  self.description = attributes[:'description']
231
240
  end
@@ -326,6 +335,7 @@ module Akeyless
326
335
  bound_organizational_units == o.bound_organizational_units &&
327
336
  bound_uri_sans == o.bound_uri_sans &&
328
337
  certificate_data == o.certificate_data &&
338
+ delete_protection == o.delete_protection &&
329
339
  description == o.description &&
330
340
  force_sub_claims == o.force_sub_claims &&
331
341
  gw_bound_ips == o.gw_bound_ips &&
@@ -348,7 +358,7 @@ module Akeyless
348
358
  # Calculates hash code according to all attributes.
349
359
  # @return [Integer] Hash code
350
360
  def hash
351
- [access_expires, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
361
+ [access_expires, allowed_cors, audit_logs_claims, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, revoked_cert_ids, token, uid_token, unique_identifier].hash
352
362
  end
353
363
 
354
364
  # Builds the object from hash
@@ -25,6 +25,9 @@ module Akeyless
25
25
  # A CIDR whitelist with the IPs that the access is restricted to
26
26
  attr_accessor :bound_ips
27
27
 
28
+ # Protection from accidental deletion of this object [true/false]
29
+ attr_accessor :delete_protection
30
+
28
31
  # Auth Method description
29
32
  attr_accessor :description
30
33
 
@@ -61,6 +64,7 @@ module Akeyless
61
64
  :'access_expires' => :'access-expires',
62
65
  :'audit_logs_claims' => :'audit-logs-claims',
63
66
  :'bound_ips' => :'bound-ips',
67
+ :'delete_protection' => :'delete_protection',
64
68
  :'description' => :'description',
65
69
  :'email' => :'email',
66
70
  :'force_sub_claims' => :'force-sub-claims',
@@ -85,6 +89,7 @@ module Akeyless
85
89
  :'access_expires' => :'Integer',
86
90
  :'audit_logs_claims' => :'Array<String>',
87
91
  :'bound_ips' => :'Array<String>',
92
+ :'delete_protection' => :'String',
88
93
  :'description' => :'String',
89
94
  :'email' => :'String',
90
95
  :'force_sub_claims' => :'Boolean',
@@ -137,6 +142,10 @@ module Akeyless
137
142
  end
138
143
  end
139
144
 
145
+ if attributes.key?(:'delete_protection')
146
+ self.delete_protection = attributes[:'delete_protection']
147
+ end
148
+
140
149
  if attributes.key?(:'description')
141
150
  self.description = attributes[:'description']
142
151
  end
@@ -223,6 +232,7 @@ module Akeyless
223
232
  access_expires == o.access_expires &&
224
233
  audit_logs_claims == o.audit_logs_claims &&
225
234
  bound_ips == o.bound_ips &&
235
+ delete_protection == o.delete_protection &&
226
236
  description == o.description &&
227
237
  email == o.email &&
228
238
  force_sub_claims == o.force_sub_claims &&
@@ -244,7 +254,7 @@ module Akeyless
244
254
  # Calculates hash code according to all attributes.
245
255
  # @return [Integer] Hash code
246
256
  def hash
247
- [access_expires, audit_logs_claims, bound_ips, description, email, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
257
+ [access_expires, audit_logs_claims, bound_ips, delete_protection, description, email, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
248
258
  end
249
259
 
250
260
  # Builds the object from hash
@@ -43,6 +43,9 @@ module Akeyless
43
43
  # === Machine authentication section === List of zones that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a zonal group and the group must belong to this zone.
44
44
  attr_accessor :bound_zones
45
45
 
46
+ # Protection from accidental deletion of this object [true/false]
47
+ attr_accessor :delete_protection
48
+
46
49
  # Auth Method description
47
50
  attr_accessor :description
48
51
 
@@ -88,6 +91,7 @@ module Akeyless
88
91
  :'bound_regions' => :'bound-regions',
89
92
  :'bound_service_accounts' => :'bound-service-accounts',
90
93
  :'bound_zones' => :'bound-zones',
94
+ :'delete_protection' => :'delete_protection',
91
95
  :'description' => :'description',
92
96
  :'force_sub_claims' => :'force-sub-claims',
93
97
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -119,6 +123,7 @@ module Akeyless
119
123
  :'bound_regions' => :'Array<String>',
120
124
  :'bound_service_accounts' => :'Array<String>',
121
125
  :'bound_zones' => :'Array<String>',
126
+ :'delete_protection' => :'String',
122
127
  :'description' => :'String',
123
128
  :'force_sub_claims' => :'Boolean',
124
129
  :'gw_bound_ips' => :'Array<String>',
@@ -208,6 +213,10 @@ module Akeyless
208
213
  end
209
214
  end
210
215
 
216
+ if attributes.key?(:'delete_protection')
217
+ self.delete_protection = attributes[:'delete_protection']
218
+ end
219
+
211
220
  if attributes.key?(:'description')
212
221
  self.description = attributes[:'description']
213
222
  end
@@ -309,6 +318,7 @@ module Akeyless
309
318
  bound_regions == o.bound_regions &&
310
319
  bound_service_accounts == o.bound_service_accounts &&
311
320
  bound_zones == o.bound_zones &&
321
+ delete_protection == o.delete_protection &&
312
322
  description == o.description &&
313
323
  force_sub_claims == o.force_sub_claims &&
314
324
  gw_bound_ips == o.gw_bound_ips &&
@@ -331,7 +341,7 @@ module Akeyless
331
341
  # Calculates hash code according to all attributes.
332
342
  # @return [Integer] Hash code
333
343
  def hash
334
- [access_expires, audience, audit_logs_claims, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, service_account_creds_data, token, type, uid_token].hash
344
+ [access_expires, audience, audit_logs_claims, bound_ips, bound_labels, bound_projects, bound_regions, bound_service_accounts, bound_zones, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, service_account_creds_data, token, type, uid_token].hash
335
345
  end
336
346
 
337
347
  # Builds the object from hash
@@ -46,6 +46,9 @@ module Akeyless
46
46
  # A list of full user-name that the access is restricted to
47
47
  attr_accessor :bound_user_name
48
48
 
49
+ # Protection from accidental deletion of this object [true/false]
50
+ attr_accessor :delete_protection
51
+
49
52
  # Auth Method description
50
53
  attr_accessor :description
51
54
 
@@ -86,6 +89,7 @@ module Akeyless
86
89
  :'bound_tenant_name' => :'bound-tenant-name',
87
90
  :'bound_user_id' => :'bound-user-id',
88
91
  :'bound_user_name' => :'bound-user-name',
92
+ :'delete_protection' => :'delete_protection',
89
93
  :'description' => :'description',
90
94
  :'force_sub_claims' => :'force-sub-claims',
91
95
  :'gw_bound_ips' => :'gw-bound-ips',
@@ -116,6 +120,7 @@ module Akeyless
116
120
  :'bound_tenant_name' => :'Array<String>',
117
121
  :'bound_user_id' => :'Array<String>',
118
122
  :'bound_user_name' => :'Array<String>',
123
+ :'delete_protection' => :'String',
119
124
  :'description' => :'String',
120
125
  :'force_sub_claims' => :'Boolean',
121
126
  :'gw_bound_ips' => :'Array<String>',
@@ -209,6 +214,10 @@ module Akeyless
209
214
  end
210
215
  end
211
216
 
217
+ if attributes.key?(:'delete_protection')
218
+ self.delete_protection = attributes[:'delete_protection']
219
+ end
220
+
212
221
  if attributes.key?(:'description')
213
222
  self.description = attributes[:'description']
214
223
  end
@@ -291,6 +300,7 @@ module Akeyless
291
300
  bound_tenant_name == o.bound_tenant_name &&
292
301
  bound_user_id == o.bound_user_id &&
293
302
  bound_user_name == o.bound_user_name &&
303
+ delete_protection == o.delete_protection &&
294
304
  description == o.description &&
295
305
  force_sub_claims == o.force_sub_claims &&
296
306
  gw_bound_ips == o.gw_bound_ips &&
@@ -311,7 +321,7 @@ module Akeyless
311
321
  # Calculates hash code according to all attributes.
312
322
  # @return [Integer] Hash code
313
323
  def hash
314
- [access_expires, audit_logs_claims, auth_url, bound_domain_id, bound_domain_name, bound_ips, bound_tenant_id, bound_tenant_name, bound_user_id, bound_user_name, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
324
+ [access_expires, audit_logs_claims, auth_url, bound_domain_id, bound_domain_name, bound_ips, bound_tenant_id, bound_tenant_name, bound_user_id, bound_user_name, delete_protection, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, product_type, token, uid_token].hash
315
325
  end
316
326
 
317
327
  # Builds the object from hash