akeyless 5.0.23 → 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.
- checksums.yaml +4 -4
- data/README.md +11 -5
- data/docs/AgenticRule.md +20 -0
- data/docs/AgenticRules.md +20 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateUSC.md +5 -1
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/EsmListSecretsOutput.md +2 -0
- data/docs/GatewayMigrationCreateOutput.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ListItems.md +2 -0
- data/docs/RuntimeAuthorityCommand.md +28 -0
- data/docs/SetDefaultProfile.md +20 -0
- data/docs/SetDefaultProfileOutput.md +18 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +2 -0
- data/docs/TargetCreateArtifactory.md +2 -0
- data/docs/TargetCreateAws.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateDigiCert.md +2 -0
- data/docs/TargetCreateDockerhub.md +2 -0
- data/docs/TargetCreateEks.md +2 -0
- data/docs/TargetCreateGcp.md +2 -0
- data/docs/TargetCreateGemini.md +2 -0
- data/docs/TargetCreateGithub.md +2 -0
- data/docs/TargetCreateGitlab.md +2 -0
- data/docs/TargetCreateGke.md +2 -0
- data/docs/TargetCreateGlobalSign.md +2 -0
- data/docs/TargetCreateGlobalSignAtlas.md +2 -0
- data/docs/TargetCreateGodaddy.md +2 -0
- data/docs/TargetCreateGoogleTrust.md +2 -0
- data/docs/TargetCreateHashiVault.md +2 -0
- data/docs/TargetCreateK8s.md +2 -0
- data/docs/TargetCreateLdap.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +2 -0
- data/docs/TargetCreateLinked.md +2 -0
- data/docs/TargetCreateOpenAI.md +2 -0
- data/docs/TargetCreatePing.md +2 -0
- data/docs/TargetCreateRabbitMq.md +2 -0
- data/docs/TargetCreateSalesforce.md +2 -0
- data/docs/TargetCreateSectigo.md +2 -0
- data/docs/TargetCreateSplunk.md +2 -0
- data/docs/TargetCreateSsh.md +2 -0
- data/docs/TargetCreateWeb.md +2 -0
- data/docs/TargetCreateWindows.md +2 -0
- data/docs/TargetCreateZeroSSL.md +2 -0
- data/docs/TargetUpdateArtifactory.md +2 -0
- data/docs/TargetUpdateAws.md +2 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateDockerhub.md +2 -0
- data/docs/TargetUpdateEks.md +2 -0
- data/docs/TargetUpdateGcp.md +2 -0
- data/docs/TargetUpdateGemini.md +2 -0
- data/docs/TargetUpdateGithub.md +2 -0
- data/docs/TargetUpdateGitlab.md +2 -0
- data/docs/TargetUpdateGke.md +2 -0
- data/docs/TargetUpdateGlobalSign.md +2 -0
- data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
- data/docs/TargetUpdateGodaddy.md +2 -0
- data/docs/TargetUpdateGoogleTrust.md +2 -0
- data/docs/TargetUpdateHashiVault.md +2 -0
- data/docs/TargetUpdateK8s.md +2 -0
- data/docs/TargetUpdateLdap.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +2 -0
- data/docs/TargetUpdateOpenAI.md +2 -0
- data/docs/TargetUpdatePing.md +2 -0
- data/docs/TargetUpdateRabbitMq.md +2 -0
- data/docs/TargetUpdateSalesforce.md +2 -0
- data/docs/TargetUpdateSectigo.md +2 -0
- data/docs/TargetUpdateSsh.md +2 -0
- data/docs/TargetUpdateWeb.md +2 -0
- data/docs/TargetUpdateWindows.md +2 -0
- data/docs/TargetUpdateZeroSSL.md +2 -0
- data/docs/UpdateItem.md +5 -1
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateTarget.md +2 -0
- data/docs/UscList.md +4 -0
- data/docs/UscListSecretsOutput.md +2 -0
- data/docs/V2Api.md +66 -4
- data/lib/akeyless/api/v2_api.rb +68 -4
- data/lib/akeyless/models/agentic_rule.rb +223 -0
- data/lib/akeyless/models/agentic_rules.rb +227 -0
- data/lib/akeyless/models/create_role.rb +11 -1
- data/lib/akeyless/models/create_usc.rb +24 -4
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/esm_list_secrets_output.rb +10 -1
- data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/runtime_authority_command.rb +288 -0
- data/lib/akeyless/models/set_default_profile.rb +234 -0
- data/lib/akeyless/models/set_default_profile_output.rb +214 -0
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/target_create_artifactory.rb +11 -1
- data/lib/akeyless/models/target_create_aws.rb +11 -1
- data/lib/akeyless/models/target_create_azure.rb +11 -1
- data/lib/akeyless/models/target_create_db.rb +11 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
- data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_create_eks.rb +11 -1
- data/lib/akeyless/models/target_create_gcp.rb +11 -1
- data/lib/akeyless/models/target_create_gemini.rb +11 -1
- data/lib/akeyless/models/target_create_github.rb +11 -1
- data/lib/akeyless/models/target_create_gitlab.rb +11 -1
- data/lib/akeyless/models/target_create_gke.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_create_godaddy.rb +11 -1
- data/lib/akeyless/models/target_create_google_trust.rb +11 -1
- data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_create_k8s.rb +11 -1
- data/lib/akeyless/models/target_create_ldap.rb +11 -1
- data/lib/akeyless/models/target_create_lets_encrypt.rb +11 -1
- data/lib/akeyless/models/target_create_linked.rb +11 -1
- data/lib/akeyless/models/target_create_open_ai.rb +11 -1
- data/lib/akeyless/models/target_create_ping.rb +11 -1
- data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_create_salesforce.rb +11 -1
- data/lib/akeyless/models/target_create_sectigo.rb +11 -1
- data/lib/akeyless/models/target_create_splunk.rb +11 -1
- data/lib/akeyless/models/target_create_ssh.rb +11 -1
- data/lib/akeyless/models/target_create_web.rb +11 -1
- data/lib/akeyless/models/target_create_windows.rb +11 -1
- data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
- data/lib/akeyless/models/target_update_artifactory.rb +11 -1
- data/lib/akeyless/models/target_update_aws.rb +11 -1
- data/lib/akeyless/models/target_update_azure.rb +11 -1
- data/lib/akeyless/models/target_update_db.rb +11 -1
- data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_update_eks.rb +11 -1
- data/lib/akeyless/models/target_update_gcp.rb +11 -1
- data/lib/akeyless/models/target_update_gemini.rb +11 -1
- data/lib/akeyless/models/target_update_github.rb +11 -1
- data/lib/akeyless/models/target_update_gitlab.rb +11 -1
- data/lib/akeyless/models/target_update_gke.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_update_godaddy.rb +11 -1
- data/lib/akeyless/models/target_update_google_trust.rb +11 -1
- data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_update_k8s.rb +11 -1
- data/lib/akeyless/models/target_update_ldap.rb +11 -1
- data/lib/akeyless/models/target_update_lets_encrypt.rb +11 -1
- data/lib/akeyless/models/target_update_open_ai.rb +11 -1
- data/lib/akeyless/models/target_update_ping.rb +11 -1
- data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_update_salesforce.rb +11 -1
- data/lib/akeyless/models/target_update_sectigo.rb +11 -1
- data/lib/akeyless/models/target_update_ssh.rb +11 -1
- data/lib/akeyless/models/target_update_web.rb +11 -1
- data/lib/akeyless/models/target_update_windows.rb +11 -1
- data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
- data/lib/akeyless/models/update_item.rb +24 -4
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/models/update_target.rb +11 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/agentic_rule_spec.rb +42 -0
- data/spec/models/agentic_rules_spec.rb +42 -0
- data/spec/models/runtime_authority_command_spec.rb +66 -0
- data/spec/models/set_default_profile_output_spec.rb +36 -0
- data/spec/models/set_default_profile_spec.rb +42 -0
- metadata +22 -2
|
@@ -22,6 +22,9 @@ module Akeyless
|
|
|
22
22
|
# Bind DN Password
|
|
23
23
|
attr_accessor :bind_dn_password
|
|
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
|
|
|
@@ -60,6 +63,7 @@ module Akeyless
|
|
|
60
63
|
{
|
|
61
64
|
:'bind_dn' => :'bind-dn',
|
|
62
65
|
:'bind_dn_password' => :'bind-dn-password',
|
|
66
|
+
:'delete_protection' => :'delete_protection',
|
|
63
67
|
:'description' => :'description',
|
|
64
68
|
:'json' => :'json',
|
|
65
69
|
:'key' => :'key',
|
|
@@ -84,6 +88,7 @@ module Akeyless
|
|
|
84
88
|
{
|
|
85
89
|
:'bind_dn' => :'String',
|
|
86
90
|
:'bind_dn_password' => :'String',
|
|
91
|
+
:'delete_protection' => :'String',
|
|
87
92
|
:'description' => :'String',
|
|
88
93
|
:'json' => :'Boolean',
|
|
89
94
|
:'key' => :'String',
|
|
@@ -131,6 +136,10 @@ module Akeyless
|
|
|
131
136
|
self.bind_dn_password = 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
|
|
@@ -226,6 +235,7 @@ module Akeyless
|
|
|
226
235
|
self.class == o.class &&
|
|
227
236
|
bind_dn == o.bind_dn &&
|
|
228
237
|
bind_dn_password == o.bind_dn_password &&
|
|
238
|
+
delete_protection == o.delete_protection &&
|
|
229
239
|
description == o.description &&
|
|
230
240
|
json == o.json &&
|
|
231
241
|
key == o.key &&
|
|
@@ -248,7 +258,7 @@ module Akeyless
|
|
|
248
258
|
# Calculates hash code according to all attributes.
|
|
249
259
|
# @return [Integer] Hash code
|
|
250
260
|
def hash
|
|
251
|
-
[bind_dn, bind_dn_password, description, json, key, ldap_ca_cert, ldap_url, max_versions, name, server_type, token, token_expiration, uid_token].hash
|
|
261
|
+
[bind_dn, bind_dn_password, delete_protection, description, json, key, ldap_ca_cert, ldap_url, max_versions, name, server_type, token, token_expiration, uid_token].hash
|
|
252
262
|
end
|
|
253
263
|
|
|
254
264
|
# Builds the object from hash
|
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
class TargetCreateLetsEncrypt
|
|
19
19
|
attr_accessor :acme_challenge
|
|
20
20
|
|
|
21
|
+
# Protection from accidental deletion of this object [true/false]
|
|
22
|
+
attr_accessor :delete_protection
|
|
23
|
+
|
|
21
24
|
# Description of the object
|
|
22
25
|
attr_accessor :description
|
|
23
26
|
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
|
62
65
|
def self.attribute_map
|
|
63
66
|
{
|
|
64
67
|
:'acme_challenge' => :'acme-challenge',
|
|
68
|
+
:'delete_protection' => :'delete_protection',
|
|
65
69
|
:'description' => :'description',
|
|
66
70
|
:'dns_target_creds' => :'dns-target-creds',
|
|
67
71
|
:'email' => :'email',
|
|
@@ -88,6 +92,7 @@ module Akeyless
|
|
|
88
92
|
def self.openapi_types
|
|
89
93
|
{
|
|
90
94
|
:'acme_challenge' => :'String',
|
|
95
|
+
:'delete_protection' => :'String',
|
|
91
96
|
:'description' => :'String',
|
|
92
97
|
:'dns_target_creds' => :'String',
|
|
93
98
|
:'email' => :'String',
|
|
@@ -132,6 +137,10 @@ module Akeyless
|
|
|
132
137
|
self.acme_challenge = 'http'
|
|
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
|
|
@@ -230,6 +239,7 @@ module Akeyless
|
|
|
230
239
|
return true if self.equal?(o)
|
|
231
240
|
self.class == o.class &&
|
|
232
241
|
acme_challenge == o.acme_challenge &&
|
|
242
|
+
delete_protection == o.delete_protection &&
|
|
233
243
|
description == o.description &&
|
|
234
244
|
dns_target_creds == o.dns_target_creds &&
|
|
235
245
|
email == o.email &&
|
|
@@ -255,7 +265,7 @@ module Akeyless
|
|
|
255
265
|
# Calculates hash code according to all attributes.
|
|
256
266
|
# @return [Integer] Hash code
|
|
257
267
|
def hash
|
|
258
|
-
[acme_challenge, description, dns_target_creds, email, gcp_project, hosted_zone, json, key, lets_encrypt_url, max_versions, name, resource_group, timeout, token, uid_token].hash
|
|
268
|
+
[acme_challenge, delete_protection, description, dns_target_creds, email, gcp_project, hosted_zone, json, key, lets_encrypt_url, max_versions, name, resource_group, timeout, token, uid_token].hash
|
|
259
269
|
end
|
|
260
270
|
|
|
261
271
|
# Builds the object from hash
|
|
@@ -15,6 +15,9 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class TargetCreateLinked
|
|
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
|
:'hosts' => :'hosts',
|
|
47
51
|
:'json' => :'json',
|
|
@@ -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
|
:'hosts' => :'String',
|
|
66
71
|
:'json' => :'Boolean',
|
|
@@ -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
|
end
|
|
@@ -155,6 +164,7 @@ module Akeyless
|
|
|
155
164
|
def ==(o)
|
|
156
165
|
return true if self.equal?(o)
|
|
157
166
|
self.class == o.class &&
|
|
167
|
+
delete_protection == o.delete_protection &&
|
|
158
168
|
description == o.description &&
|
|
159
169
|
hosts == o.hosts &&
|
|
160
170
|
json == o.json &&
|
|
@@ -174,7 +184,7 @@ module Akeyless
|
|
|
174
184
|
# Calculates hash code according to all attributes.
|
|
175
185
|
# @return [Integer] Hash code
|
|
176
186
|
def hash
|
|
177
|
-
[description, hosts, json, name, parent_target_name, token, type, uid_token].hash
|
|
187
|
+
[delete_protection, description, hosts, json, name, parent_target_name, token, type, uid_token].hash
|
|
178
188
|
end
|
|
179
189
|
|
|
180
190
|
# Builds the object from hash
|
|
@@ -22,6 +22,9 @@ module Akeyless
|
|
|
22
22
|
# API key ID
|
|
23
23
|
attr_accessor :api_key_id
|
|
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
|
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
|
57
60
|
{
|
|
58
61
|
:'api_key' => :'api-key',
|
|
59
62
|
:'api_key_id' => :'api-key-id',
|
|
63
|
+
:'delete_protection' => :'delete_protection',
|
|
60
64
|
:'description' => :'description',
|
|
61
65
|
:'json' => :'json',
|
|
62
66
|
:'key' => :'key',
|
|
@@ -80,6 +84,7 @@ module Akeyless
|
|
|
80
84
|
{
|
|
81
85
|
:'api_key' => :'String',
|
|
82
86
|
:'api_key_id' => :'String',
|
|
87
|
+
:'delete_protection' => :'String',
|
|
83
88
|
:'description' => :'String',
|
|
84
89
|
:'json' => :'Boolean',
|
|
85
90
|
:'key' => :'String',
|
|
@@ -122,6 +127,10 @@ module Akeyless
|
|
|
122
127
|
self.api_key_id = attributes[:'api_key_id']
|
|
123
128
|
end
|
|
124
129
|
|
|
130
|
+
if attributes.key?(:'delete_protection')
|
|
131
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
132
|
+
end
|
|
133
|
+
|
|
125
134
|
if attributes.key?(:'description')
|
|
126
135
|
self.description = attributes[:'description']
|
|
127
136
|
end
|
|
@@ -196,6 +205,7 @@ module Akeyless
|
|
|
196
205
|
self.class == o.class &&
|
|
197
206
|
api_key == o.api_key &&
|
|
198
207
|
api_key_id == o.api_key_id &&
|
|
208
|
+
delete_protection == o.delete_protection &&
|
|
199
209
|
description == o.description &&
|
|
200
210
|
json == o.json &&
|
|
201
211
|
key == o.key &&
|
|
@@ -217,7 +227,7 @@ module Akeyless
|
|
|
217
227
|
# Calculates hash code according to all attributes.
|
|
218
228
|
# @return [Integer] Hash code
|
|
219
229
|
def hash
|
|
220
|
-
[api_key, api_key_id, description, json, key, max_versions, model, name, openai_url, organization_id, token, uid_token].hash
|
|
230
|
+
[api_key, api_key_id, delete_protection, description, json, key, max_versions, model, name, openai_url, organization_id, token, uid_token].hash
|
|
221
231
|
end
|
|
222
232
|
|
|
223
233
|
# Builds the object from hash
|
|
@@ -22,6 +22,9 @@ module Akeyless
|
|
|
22
22
|
# Ping Federate authorization port
|
|
23
23
|
attr_accessor :authorization_port
|
|
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
|
|
|
@@ -57,6 +60,7 @@ module Akeyless
|
|
|
57
60
|
{
|
|
58
61
|
:'administrative_port' => :'administrative-port',
|
|
59
62
|
:'authorization_port' => :'authorization-port',
|
|
63
|
+
:'delete_protection' => :'delete_protection',
|
|
60
64
|
:'description' => :'description',
|
|
61
65
|
:'json' => :'json',
|
|
62
66
|
:'key' => :'key',
|
|
@@ -80,6 +84,7 @@ module Akeyless
|
|
|
80
84
|
{
|
|
81
85
|
:'administrative_port' => :'String',
|
|
82
86
|
:'authorization_port' => :'String',
|
|
87
|
+
:'delete_protection' => :'String',
|
|
83
88
|
:'description' => :'String',
|
|
84
89
|
:'json' => :'Boolean',
|
|
85
90
|
:'key' => :'String',
|
|
@@ -126,6 +131,10 @@ module Akeyless
|
|
|
126
131
|
self.authorization_port = '9031'
|
|
127
132
|
end
|
|
128
133
|
|
|
134
|
+
if attributes.key?(:'delete_protection')
|
|
135
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
136
|
+
end
|
|
137
|
+
|
|
129
138
|
if attributes.key?(:'description')
|
|
130
139
|
self.description = attributes[:'description']
|
|
131
140
|
end
|
|
@@ -198,6 +207,7 @@ module Akeyless
|
|
|
198
207
|
self.class == o.class &&
|
|
199
208
|
administrative_port == o.administrative_port &&
|
|
200
209
|
authorization_port == o.authorization_port &&
|
|
210
|
+
delete_protection == o.delete_protection &&
|
|
201
211
|
description == o.description &&
|
|
202
212
|
json == o.json &&
|
|
203
213
|
key == o.key &&
|
|
@@ -219,7 +229,7 @@ module Akeyless
|
|
|
219
229
|
# Calculates hash code according to all attributes.
|
|
220
230
|
# @return [Integer] Hash code
|
|
221
231
|
def hash
|
|
222
|
-
[administrative_port, authorization_port, description, json, key, max_versions, name, password, ping_url, privileged_user, token, uid_token].hash
|
|
232
|
+
[administrative_port, authorization_port, delete_protection, description, json, key, max_versions, name, password, ping_url, privileged_user, token, uid_token].hash
|
|
223
233
|
end
|
|
224
234
|
|
|
225
235
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# targetCreateRabbitMq is a command that creates a new rabbitmq target
|
|
18
18
|
class TargetCreateRabbitMq
|
|
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
|
|
|
@@ -46,6 +49,7 @@ module Akeyless
|
|
|
46
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
47
50
|
def self.attribute_map
|
|
48
51
|
{
|
|
52
|
+
:'delete_protection' => :'delete_protection',
|
|
49
53
|
:'description' => :'description',
|
|
50
54
|
:'json' => :'json',
|
|
51
55
|
:'key' => :'key',
|
|
@@ -67,6 +71,7 @@ module Akeyless
|
|
|
67
71
|
# Attribute type mapping.
|
|
68
72
|
def self.openapi_types
|
|
69
73
|
{
|
|
74
|
+
:'delete_protection' => :'String',
|
|
70
75
|
:'description' => :'String',
|
|
71
76
|
:'json' => :'Boolean',
|
|
72
77
|
:'key' => :'String',
|
|
@@ -101,6 +106,10 @@ module Akeyless
|
|
|
101
106
|
h[k.to_sym] = v
|
|
102
107
|
}
|
|
103
108
|
|
|
109
|
+
if attributes.key?(:'delete_protection')
|
|
110
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
111
|
+
end
|
|
112
|
+
|
|
104
113
|
if attributes.key?(:'description')
|
|
105
114
|
self.description = attributes[:'description']
|
|
106
115
|
end
|
|
@@ -171,6 +180,7 @@ module Akeyless
|
|
|
171
180
|
def ==(o)
|
|
172
181
|
return true if self.equal?(o)
|
|
173
182
|
self.class == o.class &&
|
|
183
|
+
delete_protection == o.delete_protection &&
|
|
174
184
|
description == o.description &&
|
|
175
185
|
json == o.json &&
|
|
176
186
|
key == o.key &&
|
|
@@ -192,7 +202,7 @@ module Akeyless
|
|
|
192
202
|
# Calculates hash code according to all attributes.
|
|
193
203
|
# @return [Integer] Hash code
|
|
194
204
|
def hash
|
|
195
|
-
[description, json, key, max_versions, name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
|
|
205
|
+
[delete_protection, description, json, key, max_versions, name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
|
|
196
206
|
end
|
|
197
207
|
|
|
198
208
|
# 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
|
|
|
@@ -76,6 +79,7 @@ module Akeyless
|
|
|
76
79
|
:'ca_cert_name' => :'ca-cert-name',
|
|
77
80
|
:'client_id' => :'client-id',
|
|
78
81
|
:'client_secret' => :'client-secret',
|
|
82
|
+
:'delete_protection' => :'delete_protection',
|
|
79
83
|
:'description' => :'description',
|
|
80
84
|
:'email' => :'email',
|
|
81
85
|
:'json' => :'json',
|
|
@@ -104,6 +108,7 @@ module Akeyless
|
|
|
104
108
|
:'ca_cert_name' => :'String',
|
|
105
109
|
:'client_id' => :'String',
|
|
106
110
|
:'client_secret' => :'String',
|
|
111
|
+
:'delete_protection' => :'String',
|
|
107
112
|
:'description' => :'String',
|
|
108
113
|
:'email' => :'String',
|
|
109
114
|
:'json' => :'Boolean',
|
|
@@ -167,6 +172,10 @@ module Akeyless
|
|
|
167
172
|
self.client_secret = attributes[:'client_secret']
|
|
168
173
|
end
|
|
169
174
|
|
|
175
|
+
if attributes.key?(:'delete_protection')
|
|
176
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
177
|
+
end
|
|
178
|
+
|
|
170
179
|
if attributes.key?(:'description')
|
|
171
180
|
self.description = attributes[:'description']
|
|
172
181
|
end
|
|
@@ -271,6 +280,7 @@ module Akeyless
|
|
|
271
280
|
ca_cert_name == o.ca_cert_name &&
|
|
272
281
|
client_id == o.client_id &&
|
|
273
282
|
client_secret == o.client_secret &&
|
|
283
|
+
delete_protection == o.delete_protection &&
|
|
274
284
|
description == o.description &&
|
|
275
285
|
email == o.email &&
|
|
276
286
|
json == o.json &&
|
|
@@ -293,7 +303,7 @@ module Akeyless
|
|
|
293
303
|
# Calculates hash code according to all attributes.
|
|
294
304
|
# @return [Integer] Hash code
|
|
295
305
|
def hash
|
|
296
|
-
[app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, description, email, json, key, max_versions, name, password, security_token, tenant_url, token, uid_token].hash
|
|
306
|
+
[app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, delete_protection, description, email, json, key, max_versions, name, password, security_token, tenant_url, token, uid_token].hash
|
|
297
307
|
end
|
|
298
308
|
|
|
299
309
|
# 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
|
|
|
@@ -63,6 +66,7 @@ module Akeyless
|
|
|
63
66
|
{
|
|
64
67
|
:'certificate_profile_id' => :'certificate-profile-id',
|
|
65
68
|
:'customer_uri' => :'customer-uri',
|
|
69
|
+
:'delete_protection' => :'delete_protection',
|
|
66
70
|
:'description' => :'description',
|
|
67
71
|
:'external_requester' => :'external-requester',
|
|
68
72
|
:'json' => :'json',
|
|
@@ -88,6 +92,7 @@ module Akeyless
|
|
|
88
92
|
{
|
|
89
93
|
:'certificate_profile_id' => :'Integer',
|
|
90
94
|
:'customer_uri' => :'String',
|
|
95
|
+
:'delete_protection' => :'String',
|
|
91
96
|
:'description' => :'String',
|
|
92
97
|
:'external_requester' => :'String',
|
|
93
98
|
:'json' => :'Boolean',
|
|
@@ -136,6 +141,10 @@ module Akeyless
|
|
|
136
141
|
self.customer_uri = nil
|
|
137
142
|
end
|
|
138
143
|
|
|
144
|
+
if attributes.key?(:'delete_protection')
|
|
145
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
146
|
+
end
|
|
147
|
+
|
|
139
148
|
if attributes.key?(:'description')
|
|
140
149
|
self.description = attributes[:'description']
|
|
141
150
|
end
|
|
@@ -256,6 +265,7 @@ module Akeyless
|
|
|
256
265
|
self.class == o.class &&
|
|
257
266
|
certificate_profile_id == o.certificate_profile_id &&
|
|
258
267
|
customer_uri == o.customer_uri &&
|
|
268
|
+
delete_protection == o.delete_protection &&
|
|
259
269
|
description == o.description &&
|
|
260
270
|
external_requester == o.external_requester &&
|
|
261
271
|
json == o.json &&
|
|
@@ -279,7 +289,7 @@ module Akeyless
|
|
|
279
289
|
# Calculates hash code according to all attributes.
|
|
280
290
|
# @return [Integer] Hash code
|
|
281
291
|
def hash
|
|
282
|
-
[certificate_profile_id, customer_uri, description, external_requester, json, key, max_versions, name, organization_id, password, timeout, token, uid_token, username].hash
|
|
292
|
+
[certificate_profile_id, customer_uri, delete_protection, description, external_requester, json, key, max_versions, name, organization_id, password, timeout, token, uid_token, username].hash
|
|
283
293
|
end
|
|
284
294
|
|
|
285
295
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# Splunk token audience (required when using token authentication for rotation)
|
|
20
20
|
attr_accessor :audience
|
|
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
|
:'audience' => :'audience',
|
|
68
|
+
:'delete_protection' => :'delete_protection',
|
|
65
69
|
:'description' => :'description',
|
|
66
70
|
:'json' => :'json',
|
|
67
71
|
:'key' => :'key',
|
|
@@ -87,6 +91,7 @@ module Akeyless
|
|
|
87
91
|
def self.openapi_types
|
|
88
92
|
{
|
|
89
93
|
:'audience' => :'String',
|
|
94
|
+
:'delete_protection' => :'String',
|
|
90
95
|
:'description' => :'String',
|
|
91
96
|
:'json' => :'Boolean',
|
|
92
97
|
:'key' => :'String',
|
|
@@ -128,6 +133,10 @@ module Akeyless
|
|
|
128
133
|
self.audience = attributes[:'audience']
|
|
129
134
|
end
|
|
130
135
|
|
|
136
|
+
if attributes.key?(:'delete_protection')
|
|
137
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
138
|
+
end
|
|
139
|
+
|
|
131
140
|
if attributes.key?(:'description')
|
|
132
141
|
self.description = attributes[:'description']
|
|
133
142
|
end
|
|
@@ -220,6 +229,7 @@ module Akeyless
|
|
|
220
229
|
return true if self.equal?(o)
|
|
221
230
|
self.class == o.class &&
|
|
222
231
|
audience == o.audience &&
|
|
232
|
+
delete_protection == o.delete_protection &&
|
|
223
233
|
description == o.description &&
|
|
224
234
|
json == o.json &&
|
|
225
235
|
key == o.key &&
|
|
@@ -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
|
-
[audience, description, json, key, max_versions, name, password, splunk_token, token, token_owner, uid_token, url, use_tls, username].hash
|
|
257
|
+
[audience, delete_protection, description, json, key, max_versions, name, password, splunk_token, token, token_owner, uid_token, url, use_tls, username].hash
|
|
248
258
|
end
|
|
249
259
|
|
|
250
260
|
# Builds the object from hash
|
|
@@ -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
|