akeyless 5.0.22 → 5.0.24

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 (312) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -5
  3. data/docs/AccountGeneralSettings.md +4 -0
  4. data/docs/AgenticRule.md +20 -0
  5. data/docs/AgenticRules.md +20 -0
  6. data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
  7. data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
  8. data/docs/AwsStorage.md +2 -0
  9. data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
  10. data/docs/CreateRole.md +2 -0
  11. data/docs/CreateRotatedSecret.md +3 -1
  12. data/docs/CreateSecret.md +2 -0
  13. data/docs/CreateUSC.md +6 -2
  14. data/docs/DSProducerDetails.md +2 -0
  15. data/docs/DeleteRoleRule.md +1 -1
  16. data/docs/DescribePermissions.md +1 -1
  17. data/docs/DigiCertTargetDetails.md +42 -0
  18. data/docs/EsmListSecretsOutput.md +5 -1
  19. data/docs/GatewayCreateMigration.md +4 -0
  20. data/docs/GatewayMigrationCreateOutput.md +2 -0
  21. data/docs/GatewayUpdateMigration.md +4 -0
  22. data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
  23. data/docs/GeneralConfigPart.md +4 -0
  24. data/docs/GoogleTrustTargetDetails.md +42 -0
  25. data/docs/HashiPayload.md +5 -1
  26. data/docs/Item.md +2 -0
  27. data/docs/ItemGeneralInfo.md +2 -0
  28. data/docs/ItemLockingSetting.md +20 -0
  29. data/docs/ListItems.md +2 -0
  30. data/docs/LockItem.md +28 -0
  31. data/docs/LockTarget.md +28 -0
  32. data/docs/LockingInfo.md +24 -0
  33. data/docs/MigrationStatusReplyObj.md +2 -0
  34. data/docs/NetappStorage.md +30 -0
  35. data/docs/ReverseRBAC.md +1 -1
  36. data/docs/RotatedSecretCreateAws.md +3 -1
  37. data/docs/RotatedSecretCreateAzure.md +3 -1
  38. data/docs/RotatedSecretCreateCustom.md +3 -1
  39. data/docs/RotatedSecretCreateLdap.md +3 -1
  40. data/docs/RotatedSecretCreateMongodb.md +3 -1
  41. data/docs/RotatedSecretCreateMssql.md +3 -1
  42. data/docs/RotatedSecretCreateMysql.md +3 -1
  43. data/docs/RotatedSecretCreateOracledb.md +3 -1
  44. data/docs/RotatedSecretCreatePostgresql.md +3 -1
  45. data/docs/RotatedSecretCreateRedshift.md +3 -1
  46. data/docs/RotatedSecretCreateSsh.md +3 -1
  47. data/docs/RotatedSecretCreateWindows.md +3 -1
  48. data/docs/RotatedSecretUpdateAws.md +3 -1
  49. data/docs/RotatedSecretUpdateAzure.md +3 -1
  50. data/docs/RotatedSecretUpdateCustom.md +3 -1
  51. data/docs/RotatedSecretUpdateLdap.md +3 -1
  52. data/docs/RotatedSecretUpdateMongodb.md +3 -1
  53. data/docs/RotatedSecretUpdateMssql.md +3 -1
  54. data/docs/RotatedSecretUpdateMysql.md +3 -1
  55. data/docs/RotatedSecretUpdateOracledb.md +3 -1
  56. data/docs/RotatedSecretUpdatePostgresql.md +3 -1
  57. data/docs/RotatedSecretUpdateRedshift.md +3 -1
  58. data/docs/RotatedSecretUpdateSsh.md +3 -1
  59. data/docs/RotatedSecretUpdateWindows.md +3 -1
  60. data/docs/RuntimeAuthorityCommand.md +28 -0
  61. data/docs/SecretInfo.md +2 -0
  62. data/docs/SecureRemoteAccess.md +4 -0
  63. data/docs/SetDefaultProfile.md +20 -0
  64. data/docs/SetDefaultProfileOutput.md +18 -0
  65. data/docs/SetRoleRule.md +1 -1
  66. data/docs/SyncCounters.md +22 -0
  67. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  68. data/docs/Target.md +4 -0
  69. data/docs/TargetCreateArtifactory.md +2 -0
  70. data/docs/TargetCreateAws.md +2 -0
  71. data/docs/TargetCreateAzure.md +2 -0
  72. data/docs/TargetCreateDB.md +2 -0
  73. data/docs/TargetCreateDigiCert.md +52 -0
  74. data/docs/TargetCreateDockerhub.md +2 -0
  75. data/docs/TargetCreateEks.md +2 -0
  76. data/docs/TargetCreateGcp.md +2 -0
  77. data/docs/TargetCreateGemini.md +2 -0
  78. data/docs/TargetCreateGithub.md +2 -0
  79. data/docs/TargetCreateGitlab.md +2 -0
  80. data/docs/TargetCreateGke.md +2 -0
  81. data/docs/TargetCreateGlobalSign.md +2 -0
  82. data/docs/TargetCreateGlobalSignAtlas.md +2 -0
  83. data/docs/TargetCreateGodaddy.md +2 -0
  84. data/docs/TargetCreateGoogleTrust.md +52 -0
  85. data/docs/TargetCreateHashiVault.md +2 -0
  86. data/docs/TargetCreateK8s.md +2 -0
  87. data/docs/TargetCreateLdap.md +2 -0
  88. data/docs/TargetCreateLetsEncrypt.md +3 -1
  89. data/docs/TargetCreateLinked.md +2 -0
  90. data/docs/TargetCreateOpenAI.md +2 -0
  91. data/docs/TargetCreatePing.md +2 -0
  92. data/docs/TargetCreateRabbitMq.md +2 -0
  93. data/docs/TargetCreateSalesforce.md +2 -0
  94. data/docs/TargetCreateSectigo.md +2 -0
  95. data/docs/TargetCreateSplunk.md +5 -1
  96. data/docs/TargetCreateSsh.md +2 -0
  97. data/docs/TargetCreateWeb.md +2 -0
  98. data/docs/TargetCreateWindows.md +2 -0
  99. data/docs/TargetCreateZeroSSL.md +2 -0
  100. data/docs/TargetTypeDetailsInput.md +4 -0
  101. data/docs/TargetUpdateArtifactory.md +2 -0
  102. data/docs/TargetUpdateAws.md +2 -0
  103. data/docs/TargetUpdateAzure.md +2 -0
  104. data/docs/TargetUpdateDB.md +2 -0
  105. data/docs/TargetUpdateDigiCert.md +54 -0
  106. data/docs/TargetUpdateDockerhub.md +2 -0
  107. data/docs/TargetUpdateEks.md +2 -0
  108. data/docs/TargetUpdateGcp.md +2 -0
  109. data/docs/TargetUpdateGemini.md +2 -0
  110. data/docs/TargetUpdateGithub.md +2 -0
  111. data/docs/TargetUpdateGitlab.md +2 -0
  112. data/docs/TargetUpdateGke.md +2 -0
  113. data/docs/TargetUpdateGlobalSign.md +2 -0
  114. data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
  115. data/docs/TargetUpdateGodaddy.md +2 -0
  116. data/docs/TargetUpdateGoogleTrust.md +56 -0
  117. data/docs/TargetUpdateHashiVault.md +2 -0
  118. data/docs/TargetUpdateK8s.md +2 -0
  119. data/docs/TargetUpdateLdap.md +2 -0
  120. data/docs/TargetUpdateLetsEncrypt.md +3 -1
  121. data/docs/TargetUpdateOpenAI.md +2 -0
  122. data/docs/TargetUpdatePing.md +2 -0
  123. data/docs/TargetUpdateRabbitMq.md +2 -0
  124. data/docs/TargetUpdateSalesforce.md +2 -0
  125. data/docs/TargetUpdateSectigo.md +2 -0
  126. data/docs/TargetUpdateSsh.md +2 -0
  127. data/docs/TargetUpdateWeb.md +2 -0
  128. data/docs/TargetUpdateWindows.md +2 -0
  129. data/docs/TargetUpdateZeroSSL.md +2 -0
  130. data/docs/UniversalIdentityAccessRules.md +4 -0
  131. data/docs/UnlockItem.md +24 -0
  132. data/docs/UnlockTarget.md +24 -0
  133. data/docs/UpdateAccountSettings.md +4 -0
  134. data/docs/UpdateAuthMethodUniversalIdentity.md +4 -0
  135. data/docs/UpdateItem.md +8 -2
  136. data/docs/UpdateRole.md +2 -0
  137. data/docs/UpdateRotatedSecret.md +3 -1
  138. data/docs/UpdateTarget.md +2 -0
  139. data/docs/UscCreate.md +2 -0
  140. data/docs/UscDelete.md +4 -0
  141. data/docs/UscGet.md +4 -0
  142. data/docs/UscList.md +4 -0
  143. data/docs/UscListSecretsOutput.md +5 -1
  144. data/docs/UscUpdate.md +4 -0
  145. data/docs/V2Api.md +572 -6
  146. data/docs/WebBastionRdpRecord.md +2 -0
  147. data/lib/akeyless/api/v2_api.rb +580 -4
  148. data/lib/akeyless/models/account_general_settings.rb +19 -1
  149. data/lib/akeyless/models/agentic_rule.rb +223 -0
  150. data/lib/akeyless/models/agentic_rules.rb +227 -0
  151. data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -1
  152. data/lib/akeyless/models/auth_method_update_universal_identity.rb +25 -1
  153. data/lib/akeyless/models/aws_storage.rb +10 -1
  154. data/lib/akeyless/models/create_auth_method_universal_identity.rb +25 -1
  155. data/lib/akeyless/models/create_role.rb +11 -1
  156. data/lib/akeyless/models/create_rotated_secret.rb +12 -4
  157. data/lib/akeyless/models/create_secret.rb +11 -1
  158. data/lib/akeyless/models/create_usc.rb +25 -5
  159. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  160. data/lib/akeyless/models/describe_permissions.rb +1 -1
  161. data/lib/akeyless/models/digi_cert_target_details.rb +333 -0
  162. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  163. data/lib/akeyless/models/esm_list_secrets_output.rb +24 -4
  164. data/lib/akeyless/models/gateway_create_migration.rb +21 -1
  165. data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
  166. data/lib/akeyless/models/gateway_update_migration.rb +21 -1
  167. data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +11 -1
  168. data/lib/akeyless/models/general_config_part.rb +19 -1
  169. data/lib/akeyless/models/google_trust_target_details.rb +335 -0
  170. data/lib/akeyless/models/hashi_payload.rb +22 -4
  171. data/lib/akeyless/models/item.rb +10 -1
  172. data/lib/akeyless/models/item_general_info.rb +10 -1
  173. data/lib/akeyless/models/item_locking_setting.rb +223 -0
  174. data/lib/akeyless/models/list_items.rb +13 -1
  175. data/lib/akeyless/models/lock_item.rb +274 -0
  176. data/lib/akeyless/models/lock_target.rb +274 -0
  177. data/lib/akeyless/models/locking_info.rb +243 -0
  178. data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
  179. data/lib/akeyless/models/netapp_storage.rb +268 -0
  180. data/lib/akeyless/models/reverse_rbac.rb +1 -1
  181. data/lib/akeyless/models/rotated_secret_create_aws.rb +12 -4
  182. data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -4
  183. data/lib/akeyless/models/rotated_secret_create_custom.rb +12 -4
  184. data/lib/akeyless/models/rotated_secret_create_ldap.rb +12 -4
  185. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +12 -4
  186. data/lib/akeyless/models/rotated_secret_create_mssql.rb +12 -4
  187. data/lib/akeyless/models/rotated_secret_create_mysql.rb +12 -4
  188. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +12 -4
  189. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +12 -4
  190. data/lib/akeyless/models/rotated_secret_create_redshift.rb +12 -4
  191. data/lib/akeyless/models/rotated_secret_create_ssh.rb +12 -4
  192. data/lib/akeyless/models/rotated_secret_create_windows.rb +12 -4
  193. data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -4
  194. data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -4
  195. data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -4
  196. data/lib/akeyless/models/rotated_secret_update_ldap.rb +12 -4
  197. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +12 -4
  198. data/lib/akeyless/models/rotated_secret_update_mssql.rb +12 -4
  199. data/lib/akeyless/models/rotated_secret_update_mysql.rb +12 -4
  200. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +12 -4
  201. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +12 -4
  202. data/lib/akeyless/models/rotated_secret_update_redshift.rb +12 -4
  203. data/lib/akeyless/models/rotated_secret_update_ssh.rb +12 -4
  204. data/lib/akeyless/models/rotated_secret_update_windows.rb +12 -4
  205. data/lib/akeyless/models/runtime_authority_command.rb +288 -0
  206. data/lib/akeyless/models/secret_info.rb +10 -1
  207. data/lib/akeyless/models/secure_remote_access.rb +19 -1
  208. data/lib/akeyless/models/set_default_profile.rb +234 -0
  209. data/lib/akeyless/models/set_default_profile_output.rb +214 -0
  210. data/lib/akeyless/models/set_role_rule.rb +1 -1
  211. data/lib/akeyless/models/sync_counters.rb +233 -0
  212. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  213. data/lib/akeyless/models/target.rb +19 -1
  214. data/lib/akeyless/models/target_create_artifactory.rb +11 -1
  215. data/lib/akeyless/models/target_create_aws.rb +11 -1
  216. data/lib/akeyless/models/target_create_azure.rb +11 -1
  217. data/lib/akeyless/models/target_create_db.rb +11 -1
  218. data/lib/akeyless/models/target_create_digi_cert.rb +408 -0
  219. data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
  220. data/lib/akeyless/models/target_create_eks.rb +11 -1
  221. data/lib/akeyless/models/target_create_gcp.rb +11 -1
  222. data/lib/akeyless/models/target_create_gemini.rb +11 -1
  223. data/lib/akeyless/models/target_create_github.rb +11 -1
  224. data/lib/akeyless/models/target_create_gitlab.rb +11 -1
  225. data/lib/akeyless/models/target_create_gke.rb +11 -1
  226. data/lib/akeyless/models/target_create_global_sign.rb +11 -1
  227. data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
  228. data/lib/akeyless/models/target_create_godaddy.rb +11 -1
  229. data/lib/akeyless/models/target_create_google_trust.rb +408 -0
  230. data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
  231. data/lib/akeyless/models/target_create_k8s.rb +11 -1
  232. data/lib/akeyless/models/target_create_ldap.rb +11 -1
  233. data/lib/akeyless/models/target_create_lets_encrypt.rb +18 -1
  234. data/lib/akeyless/models/target_create_linked.rb +11 -1
  235. data/lib/akeyless/models/target_create_open_ai.rb +11 -1
  236. data/lib/akeyless/models/target_create_ping.rb +11 -1
  237. data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
  238. data/lib/akeyless/models/target_create_salesforce.rb +11 -1
  239. data/lib/akeyless/models/target_create_sectigo.rb +11 -1
  240. data/lib/akeyless/models/target_create_splunk.rb +21 -1
  241. data/lib/akeyless/models/target_create_ssh.rb +11 -1
  242. data/lib/akeyless/models/target_create_web.rb +11 -1
  243. data/lib/akeyless/models/target_create_windows.rb +11 -1
  244. data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
  245. data/lib/akeyless/models/target_type_details_input.rb +19 -1
  246. data/lib/akeyless/models/target_update_artifactory.rb +11 -1
  247. data/lib/akeyless/models/target_update_aws.rb +11 -1
  248. data/lib/akeyless/models/target_update_azure.rb +11 -1
  249. data/lib/akeyless/models/target_update_db.rb +11 -1
  250. data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
  251. data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
  252. data/lib/akeyless/models/target_update_eks.rb +11 -1
  253. data/lib/akeyless/models/target_update_gcp.rb +11 -1
  254. data/lib/akeyless/models/target_update_gemini.rb +11 -1
  255. data/lib/akeyless/models/target_update_github.rb +11 -1
  256. data/lib/akeyless/models/target_update_gitlab.rb +11 -1
  257. data/lib/akeyless/models/target_update_gke.rb +11 -1
  258. data/lib/akeyless/models/target_update_global_sign.rb +11 -1
  259. data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
  260. data/lib/akeyless/models/target_update_godaddy.rb +11 -1
  261. data/lib/akeyless/models/target_update_google_trust.rb +428 -0
  262. data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
  263. data/lib/akeyless/models/target_update_k8s.rb +11 -1
  264. data/lib/akeyless/models/target_update_ldap.rb +11 -1
  265. data/lib/akeyless/models/target_update_lets_encrypt.rb +18 -1
  266. data/lib/akeyless/models/target_update_open_ai.rb +11 -1
  267. data/lib/akeyless/models/target_update_ping.rb +11 -1
  268. data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
  269. data/lib/akeyless/models/target_update_salesforce.rb +11 -1
  270. data/lib/akeyless/models/target_update_sectigo.rb +11 -1
  271. data/lib/akeyless/models/target_update_ssh.rb +11 -1
  272. data/lib/akeyless/models/target_update_web.rb +11 -1
  273. data/lib/akeyless/models/target_update_windows.rb +11 -1
  274. data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
  275. data/lib/akeyless/models/universal_identity_access_rules.rb +19 -1
  276. data/lib/akeyless/models/unlock_item.rb +254 -0
  277. data/lib/akeyless/models/unlock_target.rb +254 -0
  278. data/lib/akeyless/models/update_account_settings.rb +21 -1
  279. data/lib/akeyless/models/update_auth_method_universal_identity.rb +25 -1
  280. data/lib/akeyless/models/update_item.rb +35 -7
  281. data/lib/akeyless/models/update_role.rb +11 -1
  282. data/lib/akeyless/models/update_rotated_secret.rb +12 -4
  283. data/lib/akeyless/models/update_target.rb +11 -1
  284. data/lib/akeyless/models/usc_create.rb +10 -1
  285. data/lib/akeyless/models/usc_delete.rb +20 -1
  286. data/lib/akeyless/models/usc_get.rb +20 -1
  287. data/lib/akeyless/models/usc_list.rb +21 -1
  288. data/lib/akeyless/models/usc_list_secrets_output.rb +24 -4
  289. data/lib/akeyless/models/usc_update.rb +20 -1
  290. data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
  291. data/lib/akeyless/version.rb +1 -1
  292. data/lib/akeyless.rb +19 -0
  293. data/spec/models/agentic_rule_spec.rb +42 -0
  294. data/spec/models/agentic_rules_spec.rb +42 -0
  295. data/spec/models/digi_cert_target_details_spec.rb +108 -0
  296. data/spec/models/google_trust_target_details_spec.rb +108 -0
  297. data/spec/models/item_locking_setting_spec.rb +42 -0
  298. data/spec/models/lock_item_spec.rb +66 -0
  299. data/spec/models/lock_target_spec.rb +66 -0
  300. data/spec/models/locking_info_spec.rb +54 -0
  301. data/spec/models/netapp_storage_spec.rb +72 -0
  302. data/spec/models/runtime_authority_command_spec.rb +66 -0
  303. data/spec/models/set_default_profile_output_spec.rb +36 -0
  304. data/spec/models/set_default_profile_spec.rb +42 -0
  305. data/spec/models/sync_counters_spec.rb +48 -0
  306. data/spec/models/target_create_digi_cert_spec.rb +132 -0
  307. data/spec/models/target_create_google_trust_spec.rb +132 -0
  308. data/spec/models/target_update_digi_cert_spec.rb +144 -0
  309. data/spec/models/target_update_google_trust_spec.rb +144 -0
  310. data/spec/models/unlock_item_spec.rb +54 -0
  311. data/spec/models/unlock_target_spec.rb +54 -0
  312. metadata +1226 -1147
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetCreateSsh is a command that creates a new ssh target
18
18
  class TargetCreateSsh
19
+ # Protection from accidental deletion of this object [true/false]
20
+ attr_accessor :delete_protection
21
+
19
22
  # Description of the object
20
23
  attr_accessor :description
21
24
 
@@ -58,6 +61,7 @@ module Akeyless
58
61
  # Attribute mapping from ruby-style variable name to JSON key.
59
62
  def self.attribute_map
60
63
  {
64
+ :'delete_protection' => :'delete_protection',
61
65
  :'description' => :'description',
62
66
  :'host' => :'host',
63
67
  :'json' => :'json',
@@ -82,6 +86,7 @@ module Akeyless
82
86
  # Attribute type mapping.
83
87
  def self.openapi_types
84
88
  {
89
+ :'delete_protection' => :'String',
85
90
  :'description' => :'String',
86
91
  :'host' => :'String',
87
92
  :'json' => :'Boolean',
@@ -119,6 +124,10 @@ module Akeyless
119
124
  h[k.to_sym] = v
120
125
  }
121
126
 
127
+ if attributes.key?(:'delete_protection')
128
+ self.delete_protection = attributes[:'delete_protection']
129
+ end
130
+
122
131
  if attributes.key?(:'description')
123
132
  self.description = attributes[:'description']
124
133
  end
@@ -203,6 +212,7 @@ module Akeyless
203
212
  def ==(o)
204
213
  return true if self.equal?(o)
205
214
  self.class == o.class &&
215
+ delete_protection == o.delete_protection &&
206
216
  description == o.description &&
207
217
  host == o.host &&
208
218
  json == o.json &&
@@ -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
- [description, host, json, key, max_versions, name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
240
+ [delete_protection, description, host, json, key, max_versions, name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
231
241
  end
232
242
 
233
243
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetCreateWeb is a command that creates a new web target
18
18
  class TargetCreateWeb
19
+ # Protection from accidental deletion of this object [true/false]
20
+ attr_accessor :delete_protection
21
+
19
22
  # Description of the object
20
23
  attr_accessor :description
21
24
 
@@ -43,6 +46,7 @@ module Akeyless
43
46
  # Attribute mapping from ruby-style variable name to JSON key.
44
47
  def self.attribute_map
45
48
  {
49
+ :'delete_protection' => :'delete_protection',
46
50
  :'description' => :'description',
47
51
  :'json' => :'json',
48
52
  :'key' => :'key',
@@ -62,6 +66,7 @@ module Akeyless
62
66
  # Attribute type mapping.
63
67
  def self.openapi_types
64
68
  {
69
+ :'delete_protection' => :'String',
65
70
  :'description' => :'String',
66
71
  :'json' => :'Boolean',
67
72
  :'key' => :'String',
@@ -94,6 +99,10 @@ module Akeyless
94
99
  h[k.to_sym] = v
95
100
  }
96
101
 
102
+ if attributes.key?(:'delete_protection')
103
+ self.delete_protection = attributes[:'delete_protection']
104
+ end
105
+
97
106
  if attributes.key?(:'description')
98
107
  self.description = attributes[:'description']
99
108
  end
@@ -156,6 +165,7 @@ module Akeyless
156
165
  def ==(o)
157
166
  return true if self.equal?(o)
158
167
  self.class == o.class &&
168
+ delete_protection == o.delete_protection &&
159
169
  description == o.description &&
160
170
  json == o.json &&
161
171
  key == o.key &&
@@ -175,7 +185,7 @@ module Akeyless
175
185
  # Calculates hash code according to all attributes.
176
186
  # @return [Integer] Hash code
177
187
  def hash
178
- [description, json, key, max_versions, name, token, uid_token, url].hash
188
+ [delete_protection, description, json, key, max_versions, name, token, uid_token, url].hash
179
189
  end
180
190
 
181
191
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Type of connection to Windows Server [credentials/parent-target]
23
23
  attr_accessor :connection_type
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -69,6 +72,7 @@ module Akeyless
69
72
  {
70
73
  :'certificate' => :'certificate',
71
74
  :'connection_type' => :'connection-type',
75
+ :'delete_protection' => :'delete_protection',
72
76
  :'description' => :'description',
73
77
  :'domain' => :'domain',
74
78
  :'hostname' => :'hostname',
@@ -96,6 +100,7 @@ module Akeyless
96
100
  {
97
101
  :'certificate' => :'String',
98
102
  :'connection_type' => :'String',
103
+ :'delete_protection' => :'String',
99
104
  :'description' => :'String',
100
105
  :'domain' => :'String',
101
106
  :'hostname' => :'String',
@@ -144,6 +149,10 @@ module Akeyless
144
149
  self.connection_type = 'credentials'
145
150
  end
146
151
 
152
+ if attributes.key?(:'delete_protection')
153
+ self.delete_protection = attributes[:'delete_protection']
154
+ end
155
+
147
156
  if attributes.key?(:'description')
148
157
  self.description = attributes[:'description']
149
158
  end
@@ -257,6 +266,7 @@ module Akeyless
257
266
  self.class == o.class &&
258
267
  certificate == o.certificate &&
259
268
  connection_type == o.connection_type &&
269
+ delete_protection == o.delete_protection &&
260
270
  description == o.description &&
261
271
  domain == o.domain &&
262
272
  hostname == o.hostname &&
@@ -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
- [certificate, connection_type, description, domain, hostname, json, key, max_versions, name, parent_target_name, password, port, token, uid_token, use_tls, username].hash
295
+ [certificate, connection_type, delete_protection, description, domain, hostname, json, key, max_versions, name, parent_target_name, password, port, token, uid_token, use_tls, username].hash
286
296
  end
287
297
 
288
298
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # API Key of the ZeroSSLTarget account
20
20
  attr_accessor :api_key
21
21
 
22
+ # Protection from accidental deletion of this object [true/false]
23
+ attr_accessor :delete_protection
24
+
22
25
  # Description of the object
23
26
  attr_accessor :description
24
27
 
@@ -62,6 +65,7 @@ module Akeyless
62
65
  def self.attribute_map
63
66
  {
64
67
  :'api_key' => :'api-key',
68
+ :'delete_protection' => :'delete_protection',
65
69
  :'description' => :'description',
66
70
  :'imap_fqdn' => :'imap-fqdn',
67
71
  :'imap_password' => :'imap-password',
@@ -87,6 +91,7 @@ module Akeyless
87
91
  def self.openapi_types
88
92
  {
89
93
  :'api_key' => :'String',
94
+ :'delete_protection' => :'String',
90
95
  :'description' => :'String',
91
96
  :'imap_fqdn' => :'String',
92
97
  :'imap_password' => :'String',
@@ -130,6 +135,10 @@ module Akeyless
130
135
  self.api_key = nil
131
136
  end
132
137
 
138
+ if attributes.key?(:'delete_protection')
139
+ self.delete_protection = attributes[:'delete_protection']
140
+ end
141
+
133
142
  if attributes.key?(:'description')
134
143
  self.description = attributes[:'description']
135
144
  end
@@ -243,6 +252,7 @@ module Akeyless
243
252
  return true if self.equal?(o)
244
253
  self.class == o.class &&
245
254
  api_key == o.api_key &&
255
+ delete_protection == o.delete_protection &&
246
256
  description == o.description &&
247
257
  imap_fqdn == o.imap_fqdn &&
248
258
  imap_password == o.imap_password &&
@@ -267,7 +277,7 @@ module Akeyless
267
277
  # Calculates hash code according to all attributes.
268
278
  # @return [Integer] Hash code
269
279
  def hash
270
- [api_key, description, imap_fqdn, imap_password, imap_port, imap_target_email, imap_username, json, key, max_versions, name, timeout, token, uid_token].hash
280
+ [api_key, delete_protection, description, imap_fqdn, imap_password, imap_port, imap_target_email, imap_username, json, key, max_versions, name, timeout, token, uid_token].hash
271
281
  end
272
282
 
273
283
  # Builds the object from hash
@@ -27,6 +27,8 @@ module Akeyless
27
27
 
28
28
  attr_accessor :db_target_details
29
29
 
30
+ attr_accessor :digicert_target_details
31
+
30
32
  attr_accessor :dockerhub_target_details
31
33
 
32
34
  attr_accessor :eks_target_details
@@ -47,6 +49,8 @@ module Akeyless
47
49
 
48
50
  attr_accessor :godaddy_target_details
49
51
 
52
+ attr_accessor :google_trust_target_details
53
+
50
54
  attr_accessor :hashi_vault_target_details
51
55
 
52
56
  attr_accessor :ldap_target_details
@@ -90,6 +94,7 @@ module Akeyless
90
94
  :'chef_target_details' => :'chef_target_details',
91
95
  :'custom_target_details' => :'custom_target_details',
92
96
  :'db_target_details' => :'db_target_details',
97
+ :'digicert_target_details' => :'digicert_target_details',
93
98
  :'dockerhub_target_details' => :'dockerhub_target_details',
94
99
  :'eks_target_details' => :'eks_target_details',
95
100
  :'gcp_target_details' => :'gcp_target_details',
@@ -100,6 +105,7 @@ module Akeyless
100
105
  :'globalsign_atlas_target_details' => :'globalsign_atlas_target_details',
101
106
  :'globalsign_target_details' => :'globalsign_target_details',
102
107
  :'godaddy_target_details' => :'godaddy_target_details',
108
+ :'google_trust_target_details' => :'google_trust_target_details',
103
109
  :'hashi_vault_target_details' => :'hashi_vault_target_details',
104
110
  :'ldap_target_details' => :'ldap_target_details',
105
111
  :'letsencrypt_target_details' => :'letsencrypt_target_details',
@@ -134,6 +140,7 @@ module Akeyless
134
140
  :'chef_target_details' => :'ChefTargetDetails',
135
141
  :'custom_target_details' => :'CustomTargetDetails',
136
142
  :'db_target_details' => :'DbTargetDetails',
143
+ :'digicert_target_details' => :'DigiCertTargetDetails',
137
144
  :'dockerhub_target_details' => :'DockerhubTargetDetails',
138
145
  :'eks_target_details' => :'EKSTargetDetails',
139
146
  :'gcp_target_details' => :'GcpTargetDetails',
@@ -144,6 +151,7 @@ module Akeyless
144
151
  :'globalsign_atlas_target_details' => :'GlobalSignAtlasTargetDetails',
145
152
  :'globalsign_target_details' => :'GlobalSignGCCTargetDetails',
146
153
  :'godaddy_target_details' => :'GodaddyTargetDetails',
154
+ :'google_trust_target_details' => :'GoogleTrustTargetDetails',
147
155
  :'hashi_vault_target_details' => :'HashiVaultTargetDetails',
148
156
  :'ldap_target_details' => :'LdapTargetDetails',
149
157
  :'letsencrypt_target_details' => :'LetsEncryptTargetDetails',
@@ -209,6 +217,10 @@ module Akeyless
209
217
  self.db_target_details = attributes[:'db_target_details']
210
218
  end
211
219
 
220
+ if attributes.key?(:'digicert_target_details')
221
+ self.digicert_target_details = attributes[:'digicert_target_details']
222
+ end
223
+
212
224
  if attributes.key?(:'dockerhub_target_details')
213
225
  self.dockerhub_target_details = attributes[:'dockerhub_target_details']
214
226
  end
@@ -249,6 +261,10 @@ module Akeyless
249
261
  self.godaddy_target_details = attributes[:'godaddy_target_details']
250
262
  end
251
263
 
264
+ if attributes.key?(:'google_trust_target_details')
265
+ self.google_trust_target_details = attributes[:'google_trust_target_details']
266
+ end
267
+
252
268
  if attributes.key?(:'hashi_vault_target_details')
253
269
  self.hashi_vault_target_details = attributes[:'hashi_vault_target_details']
254
270
  end
@@ -344,6 +360,7 @@ module Akeyless
344
360
  chef_target_details == o.chef_target_details &&
345
361
  custom_target_details == o.custom_target_details &&
346
362
  db_target_details == o.db_target_details &&
363
+ digicert_target_details == o.digicert_target_details &&
347
364
  dockerhub_target_details == o.dockerhub_target_details &&
348
365
  eks_target_details == o.eks_target_details &&
349
366
  gcp_target_details == o.gcp_target_details &&
@@ -354,6 +371,7 @@ module Akeyless
354
371
  globalsign_atlas_target_details == o.globalsign_atlas_target_details &&
355
372
  globalsign_target_details == o.globalsign_target_details &&
356
373
  godaddy_target_details == o.godaddy_target_details &&
374
+ google_trust_target_details == o.google_trust_target_details &&
357
375
  hashi_vault_target_details == o.hashi_vault_target_details &&
358
376
  ldap_target_details == o.ldap_target_details &&
359
377
  letsencrypt_target_details == o.letsencrypt_target_details &&
@@ -382,7 +400,7 @@ module Akeyless
382
400
  # Calculates hash code according to all attributes.
383
401
  # @return [Integer] Hash code
384
402
  def hash
385
- [artifactory_target_details, aws_target_details, azure_target_details, chef_target_details, custom_target_details, db_target_details, dockerhub_target_details, eks_target_details, gcp_target_details, gemini_target_details, github_target_details, gitlab_target_details, gke_target_details, globalsign_atlas_target_details, globalsign_target_details, godaddy_target_details, hashi_vault_target_details, ldap_target_details, letsencrypt_target_details, linked_target_details, mongo_db_target_details, native_k8s_target_details, openai_target_details, ping_target_details, rabbit_mq_target_details, salesforce_target_details, sectigo_target_details, splunk_target_details, ssh_target_details, venafi_target_details, web_target_details, windows_target_details, zerossl_target_details].hash
403
+ [artifactory_target_details, aws_target_details, azure_target_details, chef_target_details, custom_target_details, db_target_details, digicert_target_details, dockerhub_target_details, eks_target_details, gcp_target_details, gemini_target_details, github_target_details, gitlab_target_details, gke_target_details, globalsign_atlas_target_details, globalsign_target_details, godaddy_target_details, google_trust_target_details, hashi_vault_target_details, ldap_target_details, letsencrypt_target_details, linked_target_details, mongo_db_target_details, native_k8s_target_details, openai_target_details, ping_target_details, rabbit_mq_target_details, salesforce_target_details, sectigo_target_details, splunk_target_details, ssh_target_details, venafi_target_details, web_target_details, windows_target_details, zerossl_target_details].hash
386
404
  end
387
405
 
388
406
  # Builds the object from hash
@@ -24,6 +24,9 @@ module Akeyless
24
24
  # Base URL
25
25
  attr_accessor :base_url
26
26
 
27
+ # Protection from accidental deletion of this object [true/false]
28
+ attr_accessor :delete_protection
29
+
27
30
  # Description of the object
28
31
  attr_accessor :description
29
32
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  :'artifactory_admin_name' => :'artifactory-admin-name',
58
61
  :'artifactory_admin_pwd' => :'artifactory-admin-pwd',
59
62
  :'base_url' => :'base-url',
63
+ :'delete_protection' => :'delete_protection',
60
64
  :'description' => :'description',
61
65
  :'json' => :'json',
62
66
  :'keep_prev_version' => :'keep-prev-version',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  :'artifactory_admin_name' => :'String',
81
85
  :'artifactory_admin_pwd' => :'String',
82
86
  :'base_url' => :'String',
87
+ :'delete_protection' => :'String',
83
88
  :'description' => :'String',
84
89
  :'json' => :'Boolean',
85
90
  :'keep_prev_version' => :'String',
@@ -131,6 +136,10 @@ module Akeyless
131
136
  self.base_url = nil
132
137
  end
133
138
 
139
+ if attributes.key?(:'delete_protection')
140
+ self.delete_protection = attributes[:'delete_protection']
141
+ end
142
+
134
143
  if attributes.key?(:'description')
135
144
  self.description = attributes[:'description']
136
145
  end
@@ -215,6 +224,7 @@ module Akeyless
215
224
  artifactory_admin_name == o.artifactory_admin_name &&
216
225
  artifactory_admin_pwd == o.artifactory_admin_pwd &&
217
226
  base_url == o.base_url &&
227
+ delete_protection == o.delete_protection &&
218
228
  description == o.description &&
219
229
  json == o.json &&
220
230
  keep_prev_version == o.keep_prev_version &&
@@ -235,7 +245,7 @@ module Akeyless
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [artifactory_admin_name, artifactory_admin_pwd, base_url, description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
248
+ [artifactory_admin_name, artifactory_admin_pwd, base_url, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token].hash
239
249
  end
240
250
 
241
251
  # Builds the object from hash
@@ -21,6 +21,9 @@ module Akeyless
21
21
  # AWS access key ID
22
22
  attr_accessor :access_key_id
23
23
 
24
+ # Protection from accidental deletion of this object [true/false]
25
+ attr_accessor :delete_protection
26
+
24
27
  # Description of the object
25
28
  attr_accessor :description
26
29
 
@@ -68,6 +71,7 @@ module Akeyless
68
71
  {
69
72
  :'access_key' => :'access-key',
70
73
  :'access_key_id' => :'access-key-id',
74
+ :'delete_protection' => :'delete_protection',
71
75
  :'description' => :'description',
72
76
  :'generate_external_id' => :'generate-external-id',
73
77
  :'json' => :'json',
@@ -95,6 +99,7 @@ module Akeyless
95
99
  {
96
100
  :'access_key' => :'String',
97
101
  :'access_key_id' => :'String',
102
+ :'delete_protection' => :'String',
98
103
  :'description' => :'String',
99
104
  :'generate_external_id' => :'Boolean',
100
105
  :'json' => :'Boolean',
@@ -145,6 +150,10 @@ module Akeyless
145
150
  self.access_key_id = nil
146
151
  end
147
152
 
153
+ if attributes.key?(:'delete_protection')
154
+ self.delete_protection = attributes[:'delete_protection']
155
+ end
156
+
148
157
  if attributes.key?(:'description')
149
158
  self.description = attributes[:'description']
150
159
  end
@@ -245,6 +254,7 @@ module Akeyless
245
254
  self.class == o.class &&
246
255
  access_key == o.access_key &&
247
256
  access_key_id == o.access_key_id &&
257
+ delete_protection == o.delete_protection &&
248
258
  description == o.description &&
249
259
  generate_external_id == o.generate_external_id &&
250
260
  json == o.json &&
@@ -270,7 +280,7 @@ module Akeyless
270
280
  # Calculates hash code according to all attributes.
271
281
  # @return [Integer] Hash code
272
282
  def hash
273
- [access_key, access_key_id, description, generate_external_id, json, keep_prev_version, key, max_versions, name, new_name, region, role_arn, session_token, token, uid_token, use_gw_cloud_identity].hash
283
+ [access_key, access_key_id, delete_protection, description, generate_external_id, json, keep_prev_version, key, max_versions, name, new_name, region, role_arn, session_token, token, uid_token, use_gw_cloud_identity].hash
274
284
  end
275
285
 
276
286
  # Builds the object from hash
@@ -27,6 +27,9 @@ module Akeyless
27
27
  # Type of connection [credentials/cloud-identity]
28
28
  attr_accessor :connection_type
29
29
 
30
+ # Protection from accidental deletion of this object [true/false]
31
+ attr_accessor :delete_protection
32
+
30
33
  # Description of the object
31
34
  attr_accessor :description
32
35
 
@@ -76,6 +79,7 @@ module Akeyless
76
79
  :'client_id' => :'client-id',
77
80
  :'client_secret' => :'client-secret',
78
81
  :'connection_type' => :'connection-type',
82
+ :'delete_protection' => :'delete_protection',
79
83
  :'description' => :'description',
80
84
  :'json' => :'json',
81
85
  :'keep_prev_version' => :'keep-prev-version',
@@ -105,6 +109,7 @@ module Akeyless
105
109
  :'client_id' => :'String',
106
110
  :'client_secret' => :'String',
107
111
  :'connection_type' => :'String',
112
+ :'delete_protection' => :'String',
108
113
  :'description' => :'String',
109
114
  :'json' => :'Boolean',
110
115
  :'keep_prev_version' => :'String',
@@ -163,6 +168,10 @@ module Akeyless
163
168
  self.connection_type = 'credentials'
164
169
  end
165
170
 
171
+ if attributes.key?(:'delete_protection')
172
+ self.delete_protection = attributes[:'delete_protection']
173
+ end
174
+
166
175
  if attributes.key?(:'description')
167
176
  self.description = attributes[:'description']
168
177
  end
@@ -253,6 +262,7 @@ module Akeyless
253
262
  client_id == o.client_id &&
254
263
  client_secret == o.client_secret &&
255
264
  connection_type == o.connection_type &&
265
+ delete_protection == o.delete_protection &&
256
266
  description == o.description &&
257
267
  json == o.json &&
258
268
  keep_prev_version == o.keep_prev_version &&
@@ -278,7 +288,7 @@ module Akeyless
278
288
  # Calculates hash code according to all attributes.
279
289
  # @return [Integer] Hash code
280
290
  def hash
281
- [azure_cloud, client_id, client_secret, connection_type, description, json, keep_prev_version, key, max_versions, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
291
+ [azure_cloud, client_id, client_secret, connection_type, delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
282
292
  end
283
293
 
284
294
  # Builds the object from hash
@@ -46,6 +46,9 @@ module Akeyless
46
46
 
47
47
  attr_accessor :db_type
48
48
 
49
+ # Protection from accidental deletion of this object [true/false]
50
+ attr_accessor :delete_protection
51
+
49
52
  # Description of the object
50
53
  attr_accessor :description
51
54
 
@@ -141,6 +144,7 @@ module Akeyless
141
144
  :'db_server_certificates' => :'db-server-certificates',
142
145
  :'db_server_name' => :'db-server-name',
143
146
  :'db_type' => :'db-type',
147
+ :'delete_protection' => :'delete_protection',
144
148
  :'description' => :'description',
145
149
  :'host' => :'host',
146
150
  :'json' => :'json',
@@ -192,6 +196,7 @@ module Akeyless
192
196
  :'db_server_certificates' => :'String',
193
197
  :'db_server_name' => :'String',
194
198
  :'db_type' => :'String',
199
+ :'delete_protection' => :'String',
195
200
  :'description' => :'String',
196
201
  :'host' => :'String',
197
202
  :'json' => :'Boolean',
@@ -293,6 +298,10 @@ module Akeyless
293
298
  self.db_type = nil
294
299
  end
295
300
 
301
+ if attributes.key?(:'delete_protection')
302
+ self.delete_protection = attributes[:'delete_protection']
303
+ end
304
+
296
305
  if attributes.key?(:'description')
297
306
  self.description = attributes[:'description']
298
307
  end
@@ -462,6 +471,7 @@ module Akeyless
462
471
  db_server_certificates == o.db_server_certificates &&
463
472
  db_server_name == o.db_server_name &&
464
473
  db_type == o.db_type &&
474
+ delete_protection == o.delete_protection &&
465
475
  description == o.description &&
466
476
  host == o.host &&
467
477
  json == o.json &&
@@ -502,7 +512,7 @@ module Akeyless
502
512
  # Calculates hash code according to all attributes.
503
513
  # @return [Integer] Hash code
504
514
  def hash
505
- [azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, host, json, keep_prev_version, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, oracle_wallet_login_type, oracle_wallet_p12_file_data, oracle_wallet_sso_file_data, parent_target_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
515
+ [azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, delete_protection, description, host, json, keep_prev_version, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, new_name, oracle_service_name, oracle_wallet_login_type, oracle_wallet_p12_file_data, oracle_wallet_sso_file_data, parent_target_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
506
516
  end
507
517
 
508
518
  # Builds the object from hash