akeyless 5.0.23 → 5.0.25

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 (180) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -6
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/AgenticRule.md +20 -0
  5. data/docs/AgenticRules.md +20 -0
  6. data/docs/CreateDBTarget.md +8 -0
  7. data/docs/CreateRole.md +2 -0
  8. data/docs/CreateUSC.md +5 -1
  9. data/docs/DSProducerDetails.md +10 -0
  10. data/docs/DbTargetDetails.md +8 -0
  11. data/docs/DeleteRoleRule.md +1 -1
  12. data/docs/EsmListSecretsOutput.md +2 -0
  13. data/docs/GatewayMigrationCreateOutput.md +2 -0
  14. data/docs/ItemGeneralInfo.md +2 -0
  15. data/docs/ListItems.md +2 -0
  16. data/docs/RuntimeAuthorityCommand.md +28 -0
  17. data/docs/SetDefaultProfile.md +20 -0
  18. data/docs/SetDefaultProfileOutput.md +18 -0
  19. data/docs/SetRoleRule.md +1 -1
  20. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  21. data/docs/Target.md +2 -0
  22. data/docs/TargetCreateArtifactory.md +2 -0
  23. data/docs/TargetCreateAws.md +2 -0
  24. data/docs/TargetCreateAzure.md +2 -0
  25. data/docs/TargetCreateDB.md +10 -0
  26. data/docs/TargetCreateDigiCert.md +2 -0
  27. data/docs/TargetCreateDockerhub.md +2 -0
  28. data/docs/TargetCreateEks.md +2 -0
  29. data/docs/TargetCreateGcp.md +2 -0
  30. data/docs/TargetCreateGemini.md +2 -0
  31. data/docs/TargetCreateGithub.md +2 -0
  32. data/docs/TargetCreateGitlab.md +2 -0
  33. data/docs/TargetCreateGke.md +2 -0
  34. data/docs/TargetCreateGlobalSign.md +2 -0
  35. data/docs/TargetCreateGlobalSignAtlas.md +2 -0
  36. data/docs/TargetCreateGodaddy.md +2 -0
  37. data/docs/TargetCreateGoogleTrust.md +2 -0
  38. data/docs/TargetCreateHashiVault.md +2 -0
  39. data/docs/TargetCreateK8s.md +2 -0
  40. data/docs/TargetCreateLdap.md +2 -0
  41. data/docs/TargetCreateLetsEncrypt.md +2 -0
  42. data/docs/TargetCreateLinked.md +2 -0
  43. data/docs/TargetCreateOpenAI.md +2 -0
  44. data/docs/TargetCreatePing.md +2 -0
  45. data/docs/TargetCreateRabbitMq.md +2 -0
  46. data/docs/TargetCreateSalesforce.md +2 -0
  47. data/docs/TargetCreateSectigo.md +2 -0
  48. data/docs/TargetCreateSplunk.md +2 -0
  49. data/docs/TargetCreateSsh.md +2 -0
  50. data/docs/TargetCreateWeb.md +2 -0
  51. data/docs/TargetCreateWindows.md +2 -0
  52. data/docs/TargetCreateZeroSSL.md +2 -0
  53. data/docs/TargetUpdateArtifactory.md +2 -0
  54. data/docs/TargetUpdateAws.md +2 -0
  55. data/docs/TargetUpdateAzure.md +2 -0
  56. data/docs/TargetUpdateDB.md +10 -0
  57. data/docs/TargetUpdateDockerhub.md +2 -0
  58. data/docs/TargetUpdateEks.md +2 -0
  59. data/docs/TargetUpdateGcp.md +2 -0
  60. data/docs/TargetUpdateGemini.md +2 -0
  61. data/docs/TargetUpdateGithub.md +2 -0
  62. data/docs/TargetUpdateGitlab.md +2 -0
  63. data/docs/TargetUpdateGke.md +2 -0
  64. data/docs/TargetUpdateGlobalSign.md +2 -0
  65. data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
  66. data/docs/TargetUpdateGodaddy.md +2 -0
  67. data/docs/TargetUpdateGoogleTrust.md +2 -0
  68. data/docs/TargetUpdateHashiVault.md +2 -0
  69. data/docs/TargetUpdateK8s.md +2 -0
  70. data/docs/TargetUpdateLdap.md +2 -0
  71. data/docs/TargetUpdateLetsEncrypt.md +2 -0
  72. data/docs/TargetUpdateOpenAI.md +2 -0
  73. data/docs/TargetUpdatePing.md +2 -0
  74. data/docs/TargetUpdateRabbitMq.md +2 -0
  75. data/docs/TargetUpdateSalesforce.md +2 -0
  76. data/docs/TargetUpdateSectigo.md +2 -0
  77. data/docs/TargetUpdateSsh.md +2 -0
  78. data/docs/TargetUpdateWeb.md +2 -0
  79. data/docs/TargetUpdateWindows.md +2 -0
  80. data/docs/TargetUpdateZeroSSL.md +2 -0
  81. data/docs/UpdateDBTarget.md +8 -0
  82. data/docs/UpdateItem.md +5 -1
  83. data/docs/UpdateRole.md +2 -0
  84. data/docs/UpdateTarget.md +2 -0
  85. data/docs/UscList.md +4 -0
  86. data/docs/UscListSecretsOutput.md +2 -0
  87. data/docs/V2Api.md +67 -5
  88. data/lib/akeyless/api/v2_api.rb +69 -5
  89. data/lib/akeyless/models/account_general_settings.rb +10 -1
  90. data/lib/akeyless/models/agentic_rule.rb +223 -0
  91. data/lib/akeyless/models/agentic_rules.rb +227 -0
  92. data/lib/akeyless/models/create_db_target.rb +41 -1
  93. data/lib/akeyless/models/create_role.rb +11 -1
  94. data/lib/akeyless/models/create_usc.rb +24 -4
  95. data/lib/akeyless/models/db_target_details.rb +41 -1
  96. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  97. data/lib/akeyless/models/ds_producer_details.rb +50 -1
  98. data/lib/akeyless/models/esm_list_secrets_output.rb +10 -1
  99. data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
  100. data/lib/akeyless/models/item_general_info.rb +10 -1
  101. data/lib/akeyless/models/list_items.rb +13 -1
  102. data/lib/akeyless/models/runtime_authority_command.rb +288 -0
  103. data/lib/akeyless/models/set_default_profile.rb +234 -0
  104. data/lib/akeyless/models/set_default_profile_output.rb +214 -0
  105. data/lib/akeyless/models/set_role_rule.rb +1 -1
  106. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  107. data/lib/akeyless/models/target.rb +10 -1
  108. data/lib/akeyless/models/target_create_artifactory.rb +11 -1
  109. data/lib/akeyless/models/target_create_aws.rb +11 -1
  110. data/lib/akeyless/models/target_create_azure.rb +11 -1
  111. data/lib/akeyless/models/target_create_db.rb +51 -1
  112. data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
  113. data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
  114. data/lib/akeyless/models/target_create_eks.rb +11 -1
  115. data/lib/akeyless/models/target_create_gcp.rb +11 -1
  116. data/lib/akeyless/models/target_create_gemini.rb +11 -1
  117. data/lib/akeyless/models/target_create_github.rb +11 -1
  118. data/lib/akeyless/models/target_create_gitlab.rb +11 -1
  119. data/lib/akeyless/models/target_create_gke.rb +11 -1
  120. data/lib/akeyless/models/target_create_global_sign.rb +11 -1
  121. data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
  122. data/lib/akeyless/models/target_create_godaddy.rb +11 -1
  123. data/lib/akeyless/models/target_create_google_trust.rb +11 -1
  124. data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
  125. data/lib/akeyless/models/target_create_k8s.rb +11 -1
  126. data/lib/akeyless/models/target_create_ldap.rb +11 -1
  127. data/lib/akeyless/models/target_create_lets_encrypt.rb +11 -1
  128. data/lib/akeyless/models/target_create_linked.rb +11 -1
  129. data/lib/akeyless/models/target_create_open_ai.rb +11 -1
  130. data/lib/akeyless/models/target_create_ping.rb +11 -1
  131. data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
  132. data/lib/akeyless/models/target_create_salesforce.rb +11 -1
  133. data/lib/akeyless/models/target_create_sectigo.rb +11 -1
  134. data/lib/akeyless/models/target_create_splunk.rb +11 -1
  135. data/lib/akeyless/models/target_create_ssh.rb +11 -1
  136. data/lib/akeyless/models/target_create_web.rb +11 -1
  137. data/lib/akeyless/models/target_create_windows.rb +11 -1
  138. data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
  139. data/lib/akeyless/models/target_update_artifactory.rb +11 -1
  140. data/lib/akeyless/models/target_update_aws.rb +11 -1
  141. data/lib/akeyless/models/target_update_azure.rb +11 -1
  142. data/lib/akeyless/models/target_update_db.rb +51 -1
  143. data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
  144. data/lib/akeyless/models/target_update_eks.rb +11 -1
  145. data/lib/akeyless/models/target_update_gcp.rb +11 -1
  146. data/lib/akeyless/models/target_update_gemini.rb +11 -1
  147. data/lib/akeyless/models/target_update_github.rb +11 -1
  148. data/lib/akeyless/models/target_update_gitlab.rb +11 -1
  149. data/lib/akeyless/models/target_update_gke.rb +11 -1
  150. data/lib/akeyless/models/target_update_global_sign.rb +11 -1
  151. data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
  152. data/lib/akeyless/models/target_update_godaddy.rb +11 -1
  153. data/lib/akeyless/models/target_update_google_trust.rb +11 -1
  154. data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
  155. data/lib/akeyless/models/target_update_k8s.rb +11 -1
  156. data/lib/akeyless/models/target_update_ldap.rb +11 -1
  157. data/lib/akeyless/models/target_update_lets_encrypt.rb +11 -1
  158. data/lib/akeyless/models/target_update_open_ai.rb +11 -1
  159. data/lib/akeyless/models/target_update_ping.rb +11 -1
  160. data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
  161. data/lib/akeyless/models/target_update_salesforce.rb +11 -1
  162. data/lib/akeyless/models/target_update_sectigo.rb +11 -1
  163. data/lib/akeyless/models/target_update_ssh.rb +11 -1
  164. data/lib/akeyless/models/target_update_web.rb +11 -1
  165. data/lib/akeyless/models/target_update_windows.rb +11 -1
  166. data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
  167. data/lib/akeyless/models/update_db_target.rb +41 -1
  168. data/lib/akeyless/models/update_item.rb +24 -4
  169. data/lib/akeyless/models/update_role.rb +11 -1
  170. data/lib/akeyless/models/update_target.rb +11 -1
  171. data/lib/akeyless/models/usc_list.rb +21 -1
  172. data/lib/akeyless/models/usc_list_secrets_output.rb +10 -1
  173. data/lib/akeyless/version.rb +1 -1
  174. data/lib/akeyless.rb +5 -0
  175. data/spec/models/agentic_rule_spec.rb +42 -0
  176. data/spec/models/agentic_rules_spec.rb +42 -0
  177. data/spec/models/runtime_authority_command_spec.rb +66 -0
  178. data/spec/models/set_default_profile_output_spec.rb +36 -0
  179. data/spec/models/set_default_profile_spec.rb +42 -0
  180. metadata +22 -2
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetUpdateRabbitMq is a command that updates an existing rabbitmq target
18
18
  class TargetUpdateRabbitMq
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
 
@@ -52,6 +55,7 @@ module Akeyless
52
55
  # Attribute mapping from ruby-style variable name to JSON key.
53
56
  def self.attribute_map
54
57
  {
58
+ :'delete_protection' => :'delete_protection',
55
59
  :'description' => :'description',
56
60
  :'json' => :'json',
57
61
  :'keep_prev_version' => :'keep-prev-version',
@@ -75,6 +79,7 @@ module Akeyless
75
79
  # Attribute type mapping.
76
80
  def self.openapi_types
77
81
  {
82
+ :'delete_protection' => :'String',
78
83
  :'description' => :'String',
79
84
  :'json' => :'Boolean',
80
85
  :'keep_prev_version' => :'String',
@@ -111,6 +116,10 @@ module Akeyless
111
116
  h[k.to_sym] = v
112
117
  }
113
118
 
119
+ if attributes.key?(:'delete_protection')
120
+ self.delete_protection = attributes[:'delete_protection']
121
+ end
122
+
114
123
  if attributes.key?(:'description')
115
124
  self.description = attributes[:'description']
116
125
  end
@@ -189,6 +198,7 @@ module Akeyless
189
198
  def ==(o)
190
199
  return true if self.equal?(o)
191
200
  self.class == o.class &&
201
+ delete_protection == o.delete_protection &&
192
202
  description == o.description &&
193
203
  json == o.json &&
194
204
  keep_prev_version == o.keep_prev_version &&
@@ -212,7 +222,7 @@ module Akeyless
212
222
  # Calculates hash code according to all attributes.
213
223
  # @return [Integer] Hash code
214
224
  def hash
215
- [description, json, keep_prev_version, key, max_versions, name, new_name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
225
+ [delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
216
226
  end
217
227
 
218
228
  # Builds the object from hash
@@ -34,6 +34,9 @@ module Akeyless
34
34
  # Client secret of the oauth2 app to use for connecting to Salesforce (required for password flow)
35
35
  attr_accessor :client_secret
36
36
 
37
+ # Protection from accidental deletion of this object [true/false]
38
+ attr_accessor :delete_protection
39
+
37
40
  # Description of the object
38
41
  attr_accessor :description
39
42
 
@@ -82,6 +85,7 @@ module Akeyless
82
85
  :'ca_cert_name' => :'ca-cert-name',
83
86
  :'client_id' => :'client-id',
84
87
  :'client_secret' => :'client-secret',
88
+ :'delete_protection' => :'delete_protection',
85
89
  :'description' => :'description',
86
90
  :'email' => :'email',
87
91
  :'json' => :'json',
@@ -112,6 +116,7 @@ module Akeyless
112
116
  :'ca_cert_name' => :'String',
113
117
  :'client_id' => :'String',
114
118
  :'client_secret' => :'String',
119
+ :'delete_protection' => :'String',
115
120
  :'description' => :'String',
116
121
  :'email' => :'String',
117
122
  :'json' => :'Boolean',
@@ -177,6 +182,10 @@ module Akeyless
177
182
  self.client_secret = attributes[:'client_secret']
178
183
  end
179
184
 
185
+ if attributes.key?(:'delete_protection')
186
+ self.delete_protection = attributes[:'delete_protection']
187
+ end
188
+
180
189
  if attributes.key?(:'description')
181
190
  self.description = attributes[:'description']
182
191
  end
@@ -289,6 +298,7 @@ module Akeyless
289
298
  ca_cert_name == o.ca_cert_name &&
290
299
  client_id == o.client_id &&
291
300
  client_secret == o.client_secret &&
301
+ delete_protection == o.delete_protection &&
292
302
  description == o.description &&
293
303
  email == o.email &&
294
304
  json == o.json &&
@@ -313,7 +323,7 @@ module Akeyless
313
323
  # Calculates hash code according to all attributes.
314
324
  # @return [Integer] Hash code
315
325
  def hash
316
- [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, description, email, json, keep_prev_version, key, max_versions, name, new_name, password, security_token, tenant_url, token, uid_token].hash
326
+ [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, delete_protection, description, email, json, keep_prev_version, key, max_versions, name, new_name, password, security_token, tenant_url, token, uid_token].hash
317
327
  end
318
328
 
319
329
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Customer Uri of the Sectigo account
23
23
  attr_accessor :customer_uri
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_profile_id' => :'certificate-profile-id',
71
74
  :'customer_uri' => :'customer-uri',
75
+ :'delete_protection' => :'delete_protection',
72
76
  :'description' => :'description',
73
77
  :'external_requester' => :'external-requester',
74
78
  :'json' => :'json',
@@ -96,6 +100,7 @@ module Akeyless
96
100
  {
97
101
  :'certificate_profile_id' => :'Integer',
98
102
  :'customer_uri' => :'String',
103
+ :'delete_protection' => :'String',
99
104
  :'description' => :'String',
100
105
  :'external_requester' => :'String',
101
106
  :'json' => :'Boolean',
@@ -146,6 +151,10 @@ module Akeyless
146
151
  self.customer_uri = nil
147
152
  end
148
153
 
154
+ if attributes.key?(:'delete_protection')
155
+ self.delete_protection = attributes[:'delete_protection']
156
+ end
157
+
149
158
  if attributes.key?(:'description')
150
159
  self.description = attributes[:'description']
151
160
  end
@@ -274,6 +283,7 @@ module Akeyless
274
283
  self.class == o.class &&
275
284
  certificate_profile_id == o.certificate_profile_id &&
276
285
  customer_uri == o.customer_uri &&
286
+ delete_protection == o.delete_protection &&
277
287
  description == o.description &&
278
288
  external_requester == o.external_requester &&
279
289
  json == o.json &&
@@ -299,7 +309,7 @@ module Akeyless
299
309
  # Calculates hash code according to all attributes.
300
310
  # @return [Integer] Hash code
301
311
  def hash
302
- [certificate_profile_id, customer_uri, description, external_requester, json, keep_prev_version, key, max_versions, name, new_name, organization_id, password, timeout, token, uid_token, username].hash
312
+ [certificate_profile_id, customer_uri, delete_protection, description, external_requester, json, keep_prev_version, key, max_versions, name, new_name, organization_id, password, timeout, token, uid_token, username].hash
303
313
  end
304
314
 
305
315
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetUpdateSsh is a command that updates an existing ssh target
18
18
  class TargetUpdateSsh
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
 
@@ -64,6 +67,7 @@ module Akeyless
64
67
  # Attribute mapping from ruby-style variable name to JSON key.
65
68
  def self.attribute_map
66
69
  {
70
+ :'delete_protection' => :'delete_protection',
67
71
  :'description' => :'description',
68
72
  :'host' => :'host',
69
73
  :'json' => :'json',
@@ -90,6 +94,7 @@ module Akeyless
90
94
  # Attribute type mapping.
91
95
  def self.openapi_types
92
96
  {
97
+ :'delete_protection' => :'String',
93
98
  :'description' => :'String',
94
99
  :'host' => :'String',
95
100
  :'json' => :'Boolean',
@@ -129,6 +134,10 @@ module Akeyless
129
134
  h[k.to_sym] = v
130
135
  }
131
136
 
137
+ if attributes.key?(:'delete_protection')
138
+ self.delete_protection = attributes[:'delete_protection']
139
+ end
140
+
132
141
  if attributes.key?(:'description')
133
142
  self.description = attributes[:'description']
134
143
  end
@@ -221,6 +230,7 @@ module Akeyless
221
230
  def ==(o)
222
231
  return true if self.equal?(o)
223
232
  self.class == o.class &&
233
+ delete_protection == o.delete_protection &&
224
234
  description == o.description &&
225
235
  host == o.host &&
226
236
  json == o.json &&
@@ -247,7 +257,7 @@ module Akeyless
247
257
  # Calculates hash code according to all attributes.
248
258
  # @return [Integer] Hash code
249
259
  def hash
250
- [description, host, json, keep_prev_version, key, max_versions, name, new_name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
260
+ [delete_protection, description, host, json, keep_prev_version, key, max_versions, name, new_name, port, private_key, private_key_password, ssh_password, ssh_username, token, uid_token].hash
251
261
  end
252
262
 
253
263
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetUpdateWeb is a command that updates an existing web target
18
18
  class TargetUpdateWeb
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
 
@@ -49,6 +52,7 @@ module Akeyless
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
55
+ :'delete_protection' => :'delete_protection',
52
56
  :'description' => :'description',
53
57
  :'json' => :'json',
54
58
  :'keep_prev_version' => :'keep-prev-version',
@@ -70,6 +74,7 @@ module Akeyless
70
74
  # Attribute type mapping.
71
75
  def self.openapi_types
72
76
  {
77
+ :'delete_protection' => :'String',
73
78
  :'description' => :'String',
74
79
  :'json' => :'Boolean',
75
80
  :'keep_prev_version' => :'String',
@@ -104,6 +109,10 @@ module Akeyless
104
109
  h[k.to_sym] = v
105
110
  }
106
111
 
112
+ if attributes.key?(:'delete_protection')
113
+ self.delete_protection = attributes[:'delete_protection']
114
+ end
115
+
107
116
  if attributes.key?(:'description')
108
117
  self.description = attributes[:'description']
109
118
  end
@@ -174,6 +183,7 @@ module Akeyless
174
183
  def ==(o)
175
184
  return true if self.equal?(o)
176
185
  self.class == o.class &&
186
+ delete_protection == o.delete_protection &&
177
187
  description == o.description &&
178
188
  json == o.json &&
179
189
  keep_prev_version == o.keep_prev_version &&
@@ -195,7 +205,7 @@ module Akeyless
195
205
  # Calculates hash code according to all attributes.
196
206
  # @return [Integer] Hash code
197
207
  def hash
198
- [description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, url].hash
208
+ [delete_protection, description, json, keep_prev_version, key, max_versions, name, new_name, token, uid_token, url].hash
199
209
  end
200
210
 
201
211
  # 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
 
@@ -75,6 +78,7 @@ module Akeyless
75
78
  {
76
79
  :'certificate' => :'certificate',
77
80
  :'connection_type' => :'connection-type',
81
+ :'delete_protection' => :'delete_protection',
78
82
  :'description' => :'description',
79
83
  :'domain' => :'domain',
80
84
  :'hostname' => :'hostname',
@@ -104,6 +108,7 @@ module Akeyless
104
108
  {
105
109
  :'certificate' => :'String',
106
110
  :'connection_type' => :'String',
111
+ :'delete_protection' => :'String',
107
112
  :'description' => :'String',
108
113
  :'domain' => :'String',
109
114
  :'hostname' => :'String',
@@ -154,6 +159,10 @@ module Akeyless
154
159
  self.connection_type = 'credentials'
155
160
  end
156
161
 
162
+ if attributes.key?(:'delete_protection')
163
+ self.delete_protection = attributes[:'delete_protection']
164
+ end
165
+
157
166
  if attributes.key?(:'description')
158
167
  self.description = attributes[:'description']
159
168
  end
@@ -275,6 +284,7 @@ module Akeyless
275
284
  self.class == o.class &&
276
285
  certificate == o.certificate &&
277
286
  connection_type == o.connection_type &&
287
+ delete_protection == o.delete_protection &&
278
288
  description == o.description &&
279
289
  domain == o.domain &&
280
290
  hostname == o.hostname &&
@@ -302,7 +312,7 @@ module Akeyless
302
312
  # Calculates hash code according to all attributes.
303
313
  # @return [Integer] Hash code
304
314
  def hash
305
- [certificate, connection_type, description, domain, hostname, json, keep_prev_version, key, max_versions, name, new_name, parent_target_name, password, port, token, uid_token, use_tls, username].hash
315
+ [certificate, connection_type, delete_protection, description, domain, hostname, json, keep_prev_version, key, max_versions, name, new_name, parent_target_name, password, port, token, uid_token, use_tls, username].hash
306
316
  end
307
317
 
308
318
  # 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
 
@@ -68,6 +71,7 @@ module Akeyless
68
71
  def self.attribute_map
69
72
  {
70
73
  :'api_key' => :'api-key',
74
+ :'delete_protection' => :'delete_protection',
71
75
  :'description' => :'description',
72
76
  :'imap_fqdn' => :'imap-fqdn',
73
77
  :'imap_password' => :'imap-password',
@@ -95,6 +99,7 @@ module Akeyless
95
99
  def self.openapi_types
96
100
  {
97
101
  :'api_key' => :'String',
102
+ :'delete_protection' => :'String',
98
103
  :'description' => :'String',
99
104
  :'imap_fqdn' => :'String',
100
105
  :'imap_password' => :'String',
@@ -140,6 +145,10 @@ module Akeyless
140
145
  self.api_key = nil
141
146
  end
142
147
 
148
+ if attributes.key?(:'delete_protection')
149
+ self.delete_protection = attributes[:'delete_protection']
150
+ end
151
+
143
152
  if attributes.key?(:'description')
144
153
  self.description = attributes[:'description']
145
154
  end
@@ -261,6 +270,7 @@ module Akeyless
261
270
  return true if self.equal?(o)
262
271
  self.class == o.class &&
263
272
  api_key == o.api_key &&
273
+ delete_protection == o.delete_protection &&
264
274
  description == o.description &&
265
275
  imap_fqdn == o.imap_fqdn &&
266
276
  imap_password == o.imap_password &&
@@ -287,7 +297,7 @@ module Akeyless
287
297
  # Calculates hash code according to all attributes.
288
298
  # @return [Integer] Hash code
289
299
  def hash
290
- [api_key, description, imap_fqdn, imap_password, imap_port, imap_target_email, imap_username, json, keep_prev_version, key, max_versions, name, new_name, timeout, token, uid_token].hash
300
+ [api_key, delete_protection, description, imap_fqdn, imap_password, imap_port, imap_target_email, imap_username, json, keep_prev_version, key, max_versions, name, new_name, timeout, token, uid_token].hash
291
301
  end
292
302
 
293
303
  # Builds the object from hash
@@ -25,6 +25,15 @@ module Akeyless
25
25
  # (Optional) Tenant id (relevant for \"cloud-service-provider\" only)
26
26
  attr_accessor :azure_tenant_id
27
27
 
28
+ # Client certificate for mutual TLS
29
+ attr_accessor :client_certificate
30
+
31
+ # Client private key passphrase for mutual TLS
32
+ attr_accessor :client_key_passphrase
33
+
34
+ # Client private key for mutual TLS
35
+ attr_accessor :client_private_key
36
+
28
37
  # (Optional) Cloud service provider (currently only supports Azure)
29
38
  attr_accessor :cloud_service_provider
30
39
 
@@ -50,6 +59,9 @@ module Akeyless
50
59
  # Description of the object
51
60
  attr_accessor :description
52
61
 
62
+ # Enable mutual TLS
63
+ attr_accessor :enable_mtls
64
+
53
65
  attr_accessor :host
54
66
 
55
67
  # Set output format to JSON
@@ -137,6 +149,9 @@ module Akeyless
137
149
  :'azure_client_id' => :'azure-client-id',
138
150
  :'azure_client_secret' => :'azure-client-secret',
139
151
  :'azure_tenant_id' => :'azure-tenant-id',
152
+ :'client_certificate' => :'client-certificate',
153
+ :'client_key_passphrase' => :'client-key-passphrase',
154
+ :'client_private_key' => :'client-private-key',
140
155
  :'cloud_service_provider' => :'cloud-service-provider',
141
156
  :'cluster_mode' => :'cluster-mode',
142
157
  :'comment' => :'comment',
@@ -146,6 +161,7 @@ module Akeyless
146
161
  :'db_server_name' => :'db-server-name',
147
162
  :'db_type' => :'db-type',
148
163
  :'description' => :'description',
164
+ :'enable_mtls' => :'enable-mtls',
149
165
  :'host' => :'host',
150
166
  :'json' => :'json',
151
167
  :'keep_prev_version' => :'keep-prev-version',
@@ -189,6 +205,9 @@ module Akeyless
189
205
  :'azure_client_id' => :'String',
190
206
  :'azure_client_secret' => :'String',
191
207
  :'azure_tenant_id' => :'String',
208
+ :'client_certificate' => :'String',
209
+ :'client_key_passphrase' => :'String',
210
+ :'client_private_key' => :'String',
192
211
  :'cloud_service_provider' => :'String',
193
212
  :'cluster_mode' => :'Boolean',
194
213
  :'comment' => :'String',
@@ -198,6 +217,7 @@ module Akeyless
198
217
  :'db_server_name' => :'String',
199
218
  :'db_type' => :'String',
200
219
  :'description' => :'String',
220
+ :'enable_mtls' => :'Boolean',
201
221
  :'host' => :'String',
202
222
  :'json' => :'Boolean',
203
223
  :'keep_prev_version' => :'String',
@@ -263,6 +283,18 @@ module Akeyless
263
283
  self.azure_tenant_id = attributes[:'azure_tenant_id']
264
284
  end
265
285
 
286
+ if attributes.key?(:'client_certificate')
287
+ self.client_certificate = attributes[:'client_certificate']
288
+ end
289
+
290
+ if attributes.key?(:'client_key_passphrase')
291
+ self.client_key_passphrase = attributes[:'client_key_passphrase']
292
+ end
293
+
294
+ if attributes.key?(:'client_private_key')
295
+ self.client_private_key = attributes[:'client_private_key']
296
+ end
297
+
266
298
  if attributes.key?(:'cloud_service_provider')
267
299
  self.cloud_service_provider = attributes[:'cloud_service_provider']
268
300
  end
@@ -303,6 +335,10 @@ module Akeyless
303
335
  self.description = attributes[:'description']
304
336
  end
305
337
 
338
+ if attributes.key?(:'enable_mtls')
339
+ self.enable_mtls = attributes[:'enable_mtls']
340
+ end
341
+
306
342
  if attributes.key?(:'host')
307
343
  self.host = attributes[:'host']
308
344
  end
@@ -464,6 +500,9 @@ module Akeyless
464
500
  azure_client_id == o.azure_client_id &&
465
501
  azure_client_secret == o.azure_client_secret &&
466
502
  azure_tenant_id == o.azure_tenant_id &&
503
+ client_certificate == o.client_certificate &&
504
+ client_key_passphrase == o.client_key_passphrase &&
505
+ client_private_key == o.client_private_key &&
467
506
  cloud_service_provider == o.cloud_service_provider &&
468
507
  cluster_mode == o.cluster_mode &&
469
508
  comment == o.comment &&
@@ -473,6 +512,7 @@ module Akeyless
473
512
  db_server_name == o.db_server_name &&
474
513
  db_type == o.db_type &&
475
514
  description == o.description &&
515
+ enable_mtls == o.enable_mtls &&
476
516
  host == o.host &&
477
517
  json == o.json &&
478
518
  keep_prev_version == o.keep_prev_version &&
@@ -513,7 +553,7 @@ module Akeyless
513
553
  # Calculates hash code according to all attributes.
514
554
  # @return [Integer] Hash code
515
555
  def hash
516
- [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, update_version, user_name].hash
556
+ [azure_client_id, azure_client_secret, azure_tenant_id, client_certificate, client_key_passphrase, client_private_key, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, enable_mtls, 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, update_version, user_name].hash
517
557
  end
518
558
 
519
559
  # Builds the object from hash
@@ -168,6 +168,12 @@ module Akeyless
168
168
  # The universal identity token, Required only for universal_identity authentication
169
169
  attr_accessor :uid_token
170
170
 
171
+ # Comma-separated list of tags to apply to all secrets created/synced on the remote USC USC items only.
172
+ attr_accessor :usc_tags
173
+
174
+ # Whether to filter the USC secret list using the specified usc-tags [true/false] USC items only.
175
+ attr_accessor :use_tags_as_filter
176
+
171
177
  # Attribute mapping from ruby-style variable name to JSON key.
172
178
  def self.attribute_map
173
179
  {
@@ -222,7 +228,9 @@ module Akeyless
222
228
  :'secure_access_web_browsing' => :'secure-access-web-browsing',
223
229
  :'secure_access_web_proxy' => :'secure-access-web-proxy',
224
230
  :'token' => :'token',
225
- :'uid_token' => :'uid-token'
231
+ :'uid_token' => :'uid-token',
232
+ :'usc_tags' => :'usc-tags',
233
+ :'use_tags_as_filter' => :'use-tags-as-filter'
226
234
  }
227
235
  end
228
236
 
@@ -285,7 +293,9 @@ module Akeyless
285
293
  :'secure_access_web_browsing' => :'Boolean',
286
294
  :'secure_access_web_proxy' => :'Boolean',
287
295
  :'token' => :'String',
288
- :'uid_token' => :'String'
296
+ :'uid_token' => :'String',
297
+ :'usc_tags' => :'String',
298
+ :'use_tags_as_filter' => :'String'
289
299
  }
290
300
  end
291
301
 
@@ -545,6 +555,14 @@ module Akeyless
545
555
  if attributes.key?(:'uid_token')
546
556
  self.uid_token = attributes[:'uid_token']
547
557
  end
558
+
559
+ if attributes.key?(:'usc_tags')
560
+ self.usc_tags = attributes[:'usc_tags']
561
+ end
562
+
563
+ if attributes.key?(:'use_tags_as_filter')
564
+ self.use_tags_as_filter = attributes[:'use_tags_as_filter']
565
+ end
548
566
  end
549
567
 
550
568
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -623,7 +641,9 @@ module Akeyless
623
641
  secure_access_web_browsing == o.secure_access_web_browsing &&
624
642
  secure_access_web_proxy == o.secure_access_web_proxy &&
625
643
  token == o.token &&
626
- uid_token == o.uid_token
644
+ uid_token == o.uid_token &&
645
+ usc_tags == o.usc_tags &&
646
+ use_tags_as_filter == o.use_tags_as_filter
627
647
  end
628
648
 
629
649
  # @see the `==` method
@@ -635,7 +655,7 @@ module Akeyless
635
655
  # Calculates hash code according to all attributes.
636
656
  # @return [Integer] Hash code
637
657
  def hash
638
- [provider_type, accessibility, add_tag, cert_file_data, certificate_format, change_event, delete_protection, description, expiration_event_in, gcp_sm_regions, host_provider, item_custom_fields, json, lock_during_sra_session, max_versions, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
658
+ [provider_type, accessibility, add_tag, cert_file_data, certificate_format, change_event, delete_protection, description, expiration_event_in, gcp_sm_regions, host_provider, item_custom_fields, json, lock_during_sra_session, max_versions, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, token, uid_token, usc_tags, use_tags_as_filter].hash
639
659
  end
640
660
 
641
661
  # Builds the object from hash
@@ -18,6 +18,9 @@ module Akeyless
18
18
  # Allow this role to view analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods.
19
19
  attr_accessor :analytics_access
20
20
 
21
+ # Allow this role to view Agentic Runtime Authority Dashboard. Currently only 'none', 'scoped', 'all' values are supported.
22
+ attr_accessor :ara_reports_access
23
+
21
24
  # Allow this role to view audit logs. Currently only 'none', 'own', 'scoped' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods.
22
25
  attr_accessor :audit_access
23
26
 
@@ -67,6 +70,7 @@ module Akeyless
67
70
  def self.attribute_map
68
71
  {
69
72
  :'analytics_access' => :'analytics-access',
73
+ :'ara_reports_access' => :'ara-reports-access',
70
74
  :'audit_access' => :'audit-access',
71
75
  :'delete_protection' => :'delete_protection',
72
76
  :'description' => :'description',
@@ -94,6 +98,7 @@ module Akeyless
94
98
  def self.openapi_types
95
99
  {
96
100
  :'analytics_access' => :'String',
101
+ :'ara_reports_access' => :'String',
97
102
  :'audit_access' => :'String',
98
103
  :'delete_protection' => :'String',
99
104
  :'description' => :'String',
@@ -137,6 +142,10 @@ module Akeyless
137
142
  self.analytics_access = attributes[:'analytics_access']
138
143
  end
139
144
 
145
+ if attributes.key?(:'ara_reports_access')
146
+ self.ara_reports_access = attributes[:'ara_reports_access']
147
+ end
148
+
140
149
  if attributes.key?(:'audit_access')
141
150
  self.audit_access = attributes[:'audit_access']
142
151
  end
@@ -232,6 +241,7 @@ module Akeyless
232
241
  return true if self.equal?(o)
233
242
  self.class == o.class &&
234
243
  analytics_access == o.analytics_access &&
244
+ ara_reports_access == o.ara_reports_access &&
235
245
  audit_access == o.audit_access &&
236
246
  delete_protection == o.delete_protection &&
237
247
  description == o.description &&
@@ -258,7 +268,7 @@ module Akeyless
258
268
  # Calculates hash code according to all attributes.
259
269
  # @return [Integer] Hash code
260
270
  def hash
261
- [analytics_access, audit_access, delete_protection, description, event_center_access, event_forwarder_access, gw_analytics_access, json, name, new_comment, new_name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
271
+ [analytics_access, ara_reports_access, audit_access, delete_protection, description, event_center_access, event_forwarder_access, gw_analytics_access, json, name, new_comment, new_name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
262
272
  end
263
273
 
264
274
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class UpdateTarget
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -42,6 +45,7 @@ module Akeyless
42
45
  # Attribute mapping from ruby-style variable name to JSON key.
43
46
  def self.attribute_map
44
47
  {
48
+ :'delete_protection' => :'delete_protection',
45
49
  :'description' => :'description',
46
50
  :'json' => :'json',
47
51
  :'max_versions' => :'max-versions',
@@ -61,6 +65,7 @@ module Akeyless
61
65
  # Attribute type mapping.
62
66
  def self.openapi_types
63
67
  {
68
+ :'delete_protection' => :'String',
64
69
  :'description' => :'String',
65
70
  :'json' => :'Boolean',
66
71
  :'max_versions' => :'String',
@@ -93,6 +98,10 @@ module Akeyless
93
98
  h[k.to_sym] = v
94
99
  }
95
100
 
101
+ if attributes.key?(:'delete_protection')
102
+ self.delete_protection = attributes[:'delete_protection']
103
+ end
104
+
96
105
  if attributes.key?(:'description')
97
106
  self.description = attributes[:'description']
98
107
  else
@@ -159,6 +168,7 @@ module Akeyless
159
168
  def ==(o)
160
169
  return true if self.equal?(o)
161
170
  self.class == o.class &&
171
+ delete_protection == o.delete_protection &&
162
172
  description == o.description &&
163
173
  json == o.json &&
164
174
  max_versions == o.max_versions &&
@@ -178,7 +188,7 @@ module Akeyless
178
188
  # Calculates hash code according to all attributes.
179
189
  # @return [Integer] Hash code
180
190
  def hash
181
- [description, json, max_versions, name, new_comment, new_name, token, uid_token].hash
191
+ [delete_protection, description, json, max_versions, name, new_comment, new_name, token, uid_token].hash
182
192
  end
183
193
 
184
194
  # Builds the object from hash