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.
- checksums.yaml +4 -4
- data/README.md +12 -6
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/AgenticRule.md +20 -0
- data/docs/AgenticRules.md +20 -0
- data/docs/CreateDBTarget.md +8 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateUSC.md +5 -1
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DbTargetDetails.md +8 -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 +10 -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 +10 -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/UpdateDBTarget.md +8 -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 +67 -5
- data/lib/akeyless/api/v2_api.rb +69 -5
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/agentic_rule.rb +223 -0
- data/lib/akeyless/models/agentic_rules.rb +227 -0
- data/lib/akeyless/models/create_db_target.rb +41 -1
- data/lib/akeyless/models/create_role.rb +11 -1
- data/lib/akeyless/models/create_usc.rb +24 -4
- data/lib/akeyless/models/db_target_details.rb +41 -1
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/ds_producer_details.rb +50 -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 +51 -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 +51 -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_db_target.rb +41 -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
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class SetDefaultProfileOutput
|
|
18
|
+
attr_accessor :profile_name
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'profile_name' => :'profile_name'
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Returns all the JSON keys this model knows about
|
|
28
|
+
def self.acceptable_attributes
|
|
29
|
+
attribute_map.values
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Attribute type mapping.
|
|
33
|
+
def self.openapi_types
|
|
34
|
+
{
|
|
35
|
+
:'profile_name' => :'String'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# List of attributes with nullable: true
|
|
40
|
+
def self.openapi_nullable
|
|
41
|
+
Set.new([
|
|
42
|
+
])
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Initializes the object
|
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
47
|
+
def initialize(attributes = {})
|
|
48
|
+
if (!attributes.is_a?(Hash))
|
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::SetDefaultProfileOutput` initialize method"
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
54
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::SetDefaultProfileOutput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
56
|
+
end
|
|
57
|
+
h[k.to_sym] = v
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if attributes.key?(:'profile_name')
|
|
61
|
+
self.profile_name = attributes[:'profile_name']
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
66
|
+
# @return Array for valid properties with the reasons
|
|
67
|
+
def list_invalid_properties
|
|
68
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
69
|
+
invalid_properties = Array.new
|
|
70
|
+
invalid_properties
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Check to see if the all the properties in the model are valid
|
|
74
|
+
# @return true if the model is valid
|
|
75
|
+
def valid?
|
|
76
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
77
|
+
true
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Checks equality by comparing each attribute.
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def ==(o)
|
|
83
|
+
return true if self.equal?(o)
|
|
84
|
+
self.class == o.class &&
|
|
85
|
+
profile_name == o.profile_name
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# @see the `==` method
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def eql?(o)
|
|
91
|
+
self == o
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Calculates hash code according to all attributes.
|
|
95
|
+
# @return [Integer] Hash code
|
|
96
|
+
def hash
|
|
97
|
+
[profile_name].hash
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Builds the object from hash
|
|
101
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
102
|
+
# @return [Object] Returns the model itself
|
|
103
|
+
def self.build_from_hash(attributes)
|
|
104
|
+
return nil unless attributes.is_a?(Hash)
|
|
105
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
106
|
+
transformed_hash = {}
|
|
107
|
+
openapi_types.each_pair do |key, type|
|
|
108
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
109
|
+
transformed_hash["#{key}"] = nil
|
|
110
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
111
|
+
# check to ensure the input is an array given that the attribute
|
|
112
|
+
# is documented as an array but the input is not
|
|
113
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
114
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
115
|
+
end
|
|
116
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
117
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
new(transformed_hash)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Deserializes the data based on type
|
|
124
|
+
# @param string type Data type
|
|
125
|
+
# @param string value Value to be deserialized
|
|
126
|
+
# @return [Object] Deserialized data
|
|
127
|
+
def self._deserialize(type, value)
|
|
128
|
+
case type.to_sym
|
|
129
|
+
when :Time
|
|
130
|
+
Time.parse(value)
|
|
131
|
+
when :Date
|
|
132
|
+
Date.parse(value)
|
|
133
|
+
when :String
|
|
134
|
+
value.to_s
|
|
135
|
+
when :Integer
|
|
136
|
+
value.to_i
|
|
137
|
+
when :Float
|
|
138
|
+
value.to_f
|
|
139
|
+
when :Boolean
|
|
140
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
141
|
+
true
|
|
142
|
+
else
|
|
143
|
+
false
|
|
144
|
+
end
|
|
145
|
+
when :Object
|
|
146
|
+
# generic object (usually a Hash), return directly
|
|
147
|
+
value
|
|
148
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
149
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
150
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
151
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
152
|
+
k_type = Regexp.last_match[:k_type]
|
|
153
|
+
v_type = Regexp.last_match[:v_type]
|
|
154
|
+
{}.tap do |hash|
|
|
155
|
+
value.each do |k, v|
|
|
156
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
else # model
|
|
160
|
+
# models (e.g. Pet) or oneOf
|
|
161
|
+
klass = Akeyless.const_get(type)
|
|
162
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Returns the string representation of the object
|
|
167
|
+
# @return [String] String presentation of the object
|
|
168
|
+
def to_s
|
|
169
|
+
to_hash.to_s
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
|
174
|
+
def to_body
|
|
175
|
+
to_hash
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Returns the object in the form of hash
|
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
|
180
|
+
def to_hash
|
|
181
|
+
hash = {}
|
|
182
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
183
|
+
value = self.send(attr)
|
|
184
|
+
if value.nil?
|
|
185
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
186
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
hash[param] = _to_hash(value)
|
|
190
|
+
end
|
|
191
|
+
hash
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Outputs non-array value in the form of hash
|
|
195
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
196
|
+
# @param [Object] value Any valid value
|
|
197
|
+
# @return [Hash] Returns the value in the form of hash
|
|
198
|
+
def _to_hash(value)
|
|
199
|
+
if value.is_a?(Array)
|
|
200
|
+
value.compact.map { |v| _to_hash(v) }
|
|
201
|
+
elsif value.is_a?(Hash)
|
|
202
|
+
{}.tap do |hash|
|
|
203
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
204
|
+
end
|
|
205
|
+
elsif value.respond_to? :to_hash
|
|
206
|
+
value.to_hash
|
|
207
|
+
else
|
|
208
|
+
value
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
end
|
|
@@ -27,7 +27,7 @@ module Akeyless
|
|
|
27
27
|
# The role name to be updated
|
|
28
28
|
attr_accessor :role_name
|
|
29
29
|
|
|
30
|
-
# item-rule, target-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule, sra-reports-rule, sra-rule, ara-rule
|
|
30
|
+
# item-rule, target-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule, sra-reports-rule, ara-reports-rule, sra-rule, ara-rule
|
|
31
31
|
attr_accessor :rule_type
|
|
32
32
|
|
|
33
33
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -20,6 +20,9 @@ module Akeyless
|
|
|
20
20
|
# Temporary credentials for accessing Auth
|
|
21
21
|
attr_accessor :auth_creds
|
|
22
22
|
|
|
23
|
+
# CSRF token for synchronizer-token pattern (only populated for WebUI clients)
|
|
24
|
+
attr_accessor :csrf_token
|
|
25
|
+
|
|
23
26
|
# Credentials expiration date
|
|
24
27
|
attr_accessor :expiry
|
|
25
28
|
|
|
@@ -42,6 +45,7 @@ module Akeyless
|
|
|
42
45
|
{
|
|
43
46
|
:'access_id' => :'access_id',
|
|
44
47
|
:'auth_creds' => :'auth_creds',
|
|
48
|
+
:'csrf_token' => :'csrf_token',
|
|
45
49
|
:'expiry' => :'expiry',
|
|
46
50
|
:'kfm_creds' => :'kfm_creds',
|
|
47
51
|
:'need_mfa_app_first_config' => :'need_mfa_app_first_config',
|
|
@@ -61,6 +65,7 @@ module Akeyless
|
|
|
61
65
|
{
|
|
62
66
|
:'access_id' => :'String',
|
|
63
67
|
:'auth_creds' => :'String',
|
|
68
|
+
:'csrf_token' => :'String',
|
|
64
69
|
:'expiry' => :'Integer',
|
|
65
70
|
:'kfm_creds' => :'String',
|
|
66
71
|
:'need_mfa_app_first_config' => :'Boolean',
|
|
@@ -99,6 +104,10 @@ module Akeyless
|
|
|
99
104
|
self.auth_creds = attributes[:'auth_creds']
|
|
100
105
|
end
|
|
101
106
|
|
|
107
|
+
if attributes.key?(:'csrf_token')
|
|
108
|
+
self.csrf_token = attributes[:'csrf_token']
|
|
109
|
+
end
|
|
110
|
+
|
|
102
111
|
if attributes.key?(:'expiry')
|
|
103
112
|
self.expiry = attributes[:'expiry']
|
|
104
113
|
end
|
|
@@ -146,6 +155,7 @@ module Akeyless
|
|
|
146
155
|
self.class == o.class &&
|
|
147
156
|
access_id == o.access_id &&
|
|
148
157
|
auth_creds == o.auth_creds &&
|
|
158
|
+
csrf_token == o.csrf_token &&
|
|
149
159
|
expiry == o.expiry &&
|
|
150
160
|
kfm_creds == o.kfm_creds &&
|
|
151
161
|
need_mfa_app_first_config == o.need_mfa_app_first_config &&
|
|
@@ -163,7 +173,7 @@ module Akeyless
|
|
|
163
173
|
# Calculates hash code according to all attributes.
|
|
164
174
|
# @return [Integer] Hash code
|
|
165
175
|
def hash
|
|
166
|
-
[access_id, auth_creds, expiry, kfm_creds, need_mfa_app_first_config, required_mfa, token, uam_creds].hash
|
|
176
|
+
[access_id, auth_creds, csrf_token, expiry, kfm_creds, need_mfa_app_first_config, required_mfa, token, uam_creds].hash
|
|
167
177
|
end
|
|
168
178
|
|
|
169
179
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module Akeyless
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :creation_date
|
|
32
32
|
|
|
33
|
+
attr_accessor :delete_protection
|
|
34
|
+
|
|
33
35
|
attr_accessor :is_access_request_enabled
|
|
34
36
|
|
|
35
37
|
attr_accessor :last_version
|
|
@@ -68,6 +70,7 @@ module Akeyless
|
|
|
68
70
|
:'client_permissions' => :'client_permissions',
|
|
69
71
|
:'comment' => :'comment',
|
|
70
72
|
:'creation_date' => :'creation_date',
|
|
73
|
+
:'delete_protection' => :'delete_protection',
|
|
71
74
|
:'is_access_request_enabled' => :'is_access_request_enabled',
|
|
72
75
|
:'last_version' => :'last_version',
|
|
73
76
|
:'locking_info' => :'locking_info',
|
|
@@ -100,6 +103,7 @@ module Akeyless
|
|
|
100
103
|
:'client_permissions' => :'Array<String>',
|
|
101
104
|
:'comment' => :'String',
|
|
102
105
|
:'creation_date' => :'Time',
|
|
106
|
+
:'delete_protection' => :'Boolean',
|
|
103
107
|
:'is_access_request_enabled' => :'Boolean',
|
|
104
108
|
:'last_version' => :'Integer',
|
|
105
109
|
:'locking_info' => :'LockingInfo',
|
|
@@ -170,6 +174,10 @@ module Akeyless
|
|
|
170
174
|
self.creation_date = attributes[:'creation_date']
|
|
171
175
|
end
|
|
172
176
|
|
|
177
|
+
if attributes.key?(:'delete_protection')
|
|
178
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
179
|
+
end
|
|
180
|
+
|
|
173
181
|
if attributes.key?(:'is_access_request_enabled')
|
|
174
182
|
self.is_access_request_enabled = attributes[:'is_access_request_enabled']
|
|
175
183
|
end
|
|
@@ -258,6 +266,7 @@ module Akeyless
|
|
|
258
266
|
client_permissions == o.client_permissions &&
|
|
259
267
|
comment == o.comment &&
|
|
260
268
|
creation_date == o.creation_date &&
|
|
269
|
+
delete_protection == o.delete_protection &&
|
|
261
270
|
is_access_request_enabled == o.is_access_request_enabled &&
|
|
262
271
|
last_version == o.last_version &&
|
|
263
272
|
locking_info == o.locking_info &&
|
|
@@ -283,7 +292,7 @@ module Akeyless
|
|
|
283
292
|
# Calculates hash code according to all attributes.
|
|
284
293
|
# @return [Integer] Hash code
|
|
285
294
|
def hash
|
|
286
|
-
[access_date, access_date_display, access_request_status, attributes, client_permissions, comment, creation_date, is_access_request_enabled, last_version, locking_info, modification_date, parent_target_name, protection_key_name, target_details, target_id, target_items_assoc, target_name, target_sub_type, target_type, target_versions, with_customer_fragment].hash
|
|
295
|
+
[access_date, access_date_display, access_request_status, attributes, client_permissions, comment, creation_date, delete_protection, is_access_request_enabled, last_version, locking_info, modification_date, parent_target_name, protection_key_name, target_details, target_id, target_items_assoc, target_name, target_sub_type, target_type, target_versions, with_customer_fragment].hash
|
|
287
296
|
end
|
|
288
297
|
|
|
289
298
|
# 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
|
|
|
@@ -51,6 +54,7 @@ module Akeyless
|
|
|
51
54
|
:'artifactory_admin_name' => :'artifactory-admin-name',
|
|
52
55
|
:'artifactory_admin_pwd' => :'artifactory-admin-pwd',
|
|
53
56
|
:'base_url' => :'base-url',
|
|
57
|
+
:'delete_protection' => :'delete_protection',
|
|
54
58
|
:'description' => :'description',
|
|
55
59
|
:'json' => :'json',
|
|
56
60
|
:'key' => :'key',
|
|
@@ -72,6 +76,7 @@ module Akeyless
|
|
|
72
76
|
:'artifactory_admin_name' => :'String',
|
|
73
77
|
:'artifactory_admin_pwd' => :'String',
|
|
74
78
|
:'base_url' => :'String',
|
|
79
|
+
:'delete_protection' => :'String',
|
|
75
80
|
:'description' => :'String',
|
|
76
81
|
:'json' => :'Boolean',
|
|
77
82
|
:'key' => :'String',
|
|
@@ -121,6 +126,10 @@ module Akeyless
|
|
|
121
126
|
self.base_url = nil
|
|
122
127
|
end
|
|
123
128
|
|
|
129
|
+
if attributes.key?(:'delete_protection')
|
|
130
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
131
|
+
end
|
|
132
|
+
|
|
124
133
|
if attributes.key?(:'description')
|
|
125
134
|
self.description = attributes[:'description']
|
|
126
135
|
end
|
|
@@ -197,6 +206,7 @@ module Akeyless
|
|
|
197
206
|
artifactory_admin_name == o.artifactory_admin_name &&
|
|
198
207
|
artifactory_admin_pwd == o.artifactory_admin_pwd &&
|
|
199
208
|
base_url == o.base_url &&
|
|
209
|
+
delete_protection == o.delete_protection &&
|
|
200
210
|
description == o.description &&
|
|
201
211
|
json == o.json &&
|
|
202
212
|
key == o.key &&
|
|
@@ -215,7 +225,7 @@ module Akeyless
|
|
|
215
225
|
# Calculates hash code according to all attributes.
|
|
216
226
|
# @return [Integer] Hash code
|
|
217
227
|
def hash
|
|
218
|
-
[artifactory_admin_name, artifactory_admin_pwd, base_url, description, json, key, max_versions, name, token, uid_token].hash
|
|
228
|
+
[artifactory_admin_name, artifactory_admin_pwd, base_url, delete_protection, description, json, key, max_versions, name, token, uid_token].hash
|
|
219
229
|
end
|
|
220
230
|
|
|
221
231
|
# 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
|
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
|
62
65
|
{
|
|
63
66
|
:'access_key' => :'access-key',
|
|
64
67
|
:'access_key_id' => :'access-key-id',
|
|
68
|
+
:'delete_protection' => :'delete_protection',
|
|
65
69
|
:'description' => :'description',
|
|
66
70
|
:'generate_external_id' => :'generate-external-id',
|
|
67
71
|
:'json' => :'json',
|
|
@@ -87,6 +91,7 @@ module Akeyless
|
|
|
87
91
|
{
|
|
88
92
|
:'access_key' => :'String',
|
|
89
93
|
:'access_key_id' => :'String',
|
|
94
|
+
:'delete_protection' => :'String',
|
|
90
95
|
:'description' => :'String',
|
|
91
96
|
:'generate_external_id' => :'Boolean',
|
|
92
97
|
:'json' => :'Boolean',
|
|
@@ -135,6 +140,10 @@ module Akeyless
|
|
|
135
140
|
self.access_key_id = nil
|
|
136
141
|
end
|
|
137
142
|
|
|
143
|
+
if attributes.key?(:'delete_protection')
|
|
144
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
145
|
+
end
|
|
146
|
+
|
|
138
147
|
if attributes.key?(:'description')
|
|
139
148
|
self.description = attributes[:'description']
|
|
140
149
|
end
|
|
@@ -227,6 +236,7 @@ module Akeyless
|
|
|
227
236
|
self.class == o.class &&
|
|
228
237
|
access_key == o.access_key &&
|
|
229
238
|
access_key_id == o.access_key_id &&
|
|
239
|
+
delete_protection == o.delete_protection &&
|
|
230
240
|
description == o.description &&
|
|
231
241
|
generate_external_id == o.generate_external_id &&
|
|
232
242
|
json == o.json &&
|
|
@@ -250,7 +260,7 @@ module Akeyless
|
|
|
250
260
|
# Calculates hash code according to all attributes.
|
|
251
261
|
# @return [Integer] Hash code
|
|
252
262
|
def hash
|
|
253
|
-
[access_key, access_key_id, description, generate_external_id, json, key, max_versions, name, region, role_arn, session_token, token, uid_token, use_gw_cloud_identity].hash
|
|
263
|
+
[access_key, access_key_id, delete_protection, description, generate_external_id, json, key, max_versions, name, region, role_arn, session_token, token, uid_token, use_gw_cloud_identity].hash
|
|
254
264
|
end
|
|
255
265
|
|
|
256
266
|
# 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
|
|
|
@@ -70,6 +73,7 @@ module Akeyless
|
|
|
70
73
|
:'client_id' => :'client-id',
|
|
71
74
|
:'client_secret' => :'client-secret',
|
|
72
75
|
:'connection_type' => :'connection-type',
|
|
76
|
+
:'delete_protection' => :'delete_protection',
|
|
73
77
|
:'description' => :'description',
|
|
74
78
|
:'json' => :'json',
|
|
75
79
|
:'key' => :'key',
|
|
@@ -97,6 +101,7 @@ module Akeyless
|
|
|
97
101
|
:'client_id' => :'String',
|
|
98
102
|
:'client_secret' => :'String',
|
|
99
103
|
:'connection_type' => :'String',
|
|
104
|
+
:'delete_protection' => :'String',
|
|
100
105
|
:'description' => :'String',
|
|
101
106
|
:'json' => :'Boolean',
|
|
102
107
|
:'key' => :'String',
|
|
@@ -153,6 +158,10 @@ module Akeyless
|
|
|
153
158
|
self.connection_type = 'credentials'
|
|
154
159
|
end
|
|
155
160
|
|
|
161
|
+
if attributes.key?(:'delete_protection')
|
|
162
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
163
|
+
end
|
|
164
|
+
|
|
156
165
|
if attributes.key?(:'description')
|
|
157
166
|
self.description = attributes[:'description']
|
|
158
167
|
end
|
|
@@ -235,6 +244,7 @@ module Akeyless
|
|
|
235
244
|
client_id == o.client_id &&
|
|
236
245
|
client_secret == o.client_secret &&
|
|
237
246
|
connection_type == o.connection_type &&
|
|
247
|
+
delete_protection == o.delete_protection &&
|
|
238
248
|
description == o.description &&
|
|
239
249
|
json == o.json &&
|
|
240
250
|
key == o.key &&
|
|
@@ -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
|
-
[azure_cloud, client_id, client_secret, connection_type, description, json, key, max_versions, name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
|
271
|
+
[azure_cloud, client_id, client_secret, connection_type, delete_protection, description, json, key, max_versions, name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
|
262
272
|
end
|
|
263
273
|
|
|
264
274
|
# Builds the object from hash
|
|
@@ -24,6 +24,15 @@ module Akeyless
|
|
|
24
24
|
# (Optional) Tenant id (relevant for \"cloud-service-provider\" only)
|
|
25
25
|
attr_accessor :azure_tenant_id
|
|
26
26
|
|
|
27
|
+
# Client certificate for mutual TLS
|
|
28
|
+
attr_accessor :client_certificate
|
|
29
|
+
|
|
30
|
+
# Client private key passphrase for mutual TLS
|
|
31
|
+
attr_accessor :client_key_passphrase
|
|
32
|
+
|
|
33
|
+
# Client private key for mutual TLS
|
|
34
|
+
attr_accessor :client_private_key
|
|
35
|
+
|
|
27
36
|
# (Optional) Cloud service provider (currently only supports Azure)
|
|
28
37
|
attr_accessor :cloud_service_provider
|
|
29
38
|
|
|
@@ -46,9 +55,15 @@ module Akeyless
|
|
|
46
55
|
|
|
47
56
|
attr_accessor :db_type
|
|
48
57
|
|
|
58
|
+
# Protection from accidental deletion of this object [true/false]
|
|
59
|
+
attr_accessor :delete_protection
|
|
60
|
+
|
|
49
61
|
# Description of the object
|
|
50
62
|
attr_accessor :description
|
|
51
63
|
|
|
64
|
+
# Enable mutual TLS
|
|
65
|
+
attr_accessor :enable_mtls
|
|
66
|
+
|
|
52
67
|
attr_accessor :host
|
|
53
68
|
|
|
54
69
|
# Set output format to JSON
|
|
@@ -127,6 +142,9 @@ module Akeyless
|
|
|
127
142
|
:'azure_client_id' => :'azure-client-id',
|
|
128
143
|
:'azure_client_secret' => :'azure-client-secret',
|
|
129
144
|
:'azure_tenant_id' => :'azure-tenant-id',
|
|
145
|
+
:'client_certificate' => :'client-certificate',
|
|
146
|
+
:'client_key_passphrase' => :'client-key-passphrase',
|
|
147
|
+
:'client_private_key' => :'client-private-key',
|
|
130
148
|
:'cloud_service_provider' => :'cloud-service-provider',
|
|
131
149
|
:'cluster_mode' => :'cluster-mode',
|
|
132
150
|
:'comment' => :'comment',
|
|
@@ -135,7 +153,9 @@ module Akeyless
|
|
|
135
153
|
:'db_server_certificates' => :'db-server-certificates',
|
|
136
154
|
:'db_server_name' => :'db-server-name',
|
|
137
155
|
:'db_type' => :'db-type',
|
|
156
|
+
:'delete_protection' => :'delete_protection',
|
|
138
157
|
:'description' => :'description',
|
|
158
|
+
:'enable_mtls' => :'enable-mtls',
|
|
139
159
|
:'host' => :'host',
|
|
140
160
|
:'json' => :'json',
|
|
141
161
|
:'key' => :'key',
|
|
@@ -176,6 +196,9 @@ module Akeyless
|
|
|
176
196
|
:'azure_client_id' => :'String',
|
|
177
197
|
:'azure_client_secret' => :'String',
|
|
178
198
|
:'azure_tenant_id' => :'String',
|
|
199
|
+
:'client_certificate' => :'String',
|
|
200
|
+
:'client_key_passphrase' => :'String',
|
|
201
|
+
:'client_private_key' => :'String',
|
|
179
202
|
:'cloud_service_provider' => :'String',
|
|
180
203
|
:'cluster_mode' => :'Boolean',
|
|
181
204
|
:'comment' => :'String',
|
|
@@ -184,7 +207,9 @@ module Akeyless
|
|
|
184
207
|
:'db_server_certificates' => :'String',
|
|
185
208
|
:'db_server_name' => :'String',
|
|
186
209
|
:'db_type' => :'String',
|
|
210
|
+
:'delete_protection' => :'String',
|
|
187
211
|
:'description' => :'String',
|
|
212
|
+
:'enable_mtls' => :'Boolean',
|
|
188
213
|
:'host' => :'String',
|
|
189
214
|
:'json' => :'Boolean',
|
|
190
215
|
:'key' => :'String',
|
|
@@ -247,6 +272,18 @@ module Akeyless
|
|
|
247
272
|
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
|
248
273
|
end
|
|
249
274
|
|
|
275
|
+
if attributes.key?(:'client_certificate')
|
|
276
|
+
self.client_certificate = attributes[:'client_certificate']
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
if attributes.key?(:'client_key_passphrase')
|
|
280
|
+
self.client_key_passphrase = attributes[:'client_key_passphrase']
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
if attributes.key?(:'client_private_key')
|
|
284
|
+
self.client_private_key = attributes[:'client_private_key']
|
|
285
|
+
end
|
|
286
|
+
|
|
250
287
|
if attributes.key?(:'cloud_service_provider')
|
|
251
288
|
self.cloud_service_provider = attributes[:'cloud_service_provider']
|
|
252
289
|
end
|
|
@@ -283,10 +320,18 @@ module Akeyless
|
|
|
283
320
|
self.db_type = nil
|
|
284
321
|
end
|
|
285
322
|
|
|
323
|
+
if attributes.key?(:'delete_protection')
|
|
324
|
+
self.delete_protection = attributes[:'delete_protection']
|
|
325
|
+
end
|
|
326
|
+
|
|
286
327
|
if attributes.key?(:'description')
|
|
287
328
|
self.description = attributes[:'description']
|
|
288
329
|
end
|
|
289
330
|
|
|
331
|
+
if attributes.key?(:'enable_mtls')
|
|
332
|
+
self.enable_mtls = attributes[:'enable_mtls']
|
|
333
|
+
end
|
|
334
|
+
|
|
290
335
|
if attributes.key?(:'host')
|
|
291
336
|
self.host = attributes[:'host']
|
|
292
337
|
end
|
|
@@ -436,6 +481,9 @@ module Akeyless
|
|
|
436
481
|
azure_client_id == o.azure_client_id &&
|
|
437
482
|
azure_client_secret == o.azure_client_secret &&
|
|
438
483
|
azure_tenant_id == o.azure_tenant_id &&
|
|
484
|
+
client_certificate == o.client_certificate &&
|
|
485
|
+
client_key_passphrase == o.client_key_passphrase &&
|
|
486
|
+
client_private_key == o.client_private_key &&
|
|
439
487
|
cloud_service_provider == o.cloud_service_provider &&
|
|
440
488
|
cluster_mode == o.cluster_mode &&
|
|
441
489
|
comment == o.comment &&
|
|
@@ -444,7 +492,9 @@ module Akeyless
|
|
|
444
492
|
db_server_certificates == o.db_server_certificates &&
|
|
445
493
|
db_server_name == o.db_server_name &&
|
|
446
494
|
db_type == o.db_type &&
|
|
495
|
+
delete_protection == o.delete_protection &&
|
|
447
496
|
description == o.description &&
|
|
497
|
+
enable_mtls == o.enable_mtls &&
|
|
448
498
|
host == o.host &&
|
|
449
499
|
json == o.json &&
|
|
450
500
|
key == o.key &&
|
|
@@ -482,7 +532,7 @@ module Akeyless
|
|
|
482
532
|
# Calculates hash code according to all attributes.
|
|
483
533
|
# @return [Integer] Hash code
|
|
484
534
|
def hash
|
|
485
|
-
[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, 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, 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
|
|
535
|
+
[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, delete_protection, description, enable_mtls, host, json, 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, 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
|
|
486
536
|
end
|
|
487
537
|
|
|
488
538
|
# Builds the object from hash
|
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
|
19
19
|
# ACME challenge type. Options: [dns]
|
|
20
20
|
attr_accessor :acme_challenge
|
|
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
|
|
|
@@ -71,6 +74,7 @@ module Akeyless
|
|
|
71
74
|
def self.attribute_map
|
|
72
75
|
{
|
|
73
76
|
:'acme_challenge' => :'acme-challenge',
|
|
77
|
+
:'delete_protection' => :'delete_protection',
|
|
74
78
|
:'description' => :'description',
|
|
75
79
|
:'digicert_url' => :'digicert-url',
|
|
76
80
|
:'dns_target_creds' => :'dns-target-creds',
|
|
@@ -99,6 +103,7 @@ module Akeyless
|
|
|
99
103
|
def self.openapi_types
|
|
100
104
|
{
|
|
101
105
|
:'acme_challenge' => :'String',
|
|
106
|
+
:'delete_protection' => :'String',
|
|
102
107
|
:'description' => :'String',
|
|
103
108
|
:'digicert_url' => :'String',
|
|
104
109
|
:'dns_target_creds' => :'String',
|
|
@@ -145,6 +150,10 @@ module Akeyless
|
|
|
145
150
|
self.acme_challenge = 'dns'
|
|
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
|
|
@@ -251,6 +260,7 @@ module Akeyless
|
|
|
251
260
|
return true if self.equal?(o)
|
|
252
261
|
self.class == o.class &&
|
|
253
262
|
acme_challenge == o.acme_challenge &&
|
|
263
|
+
delete_protection == o.delete_protection &&
|
|
254
264
|
description == o.description &&
|
|
255
265
|
digicert_url == o.digicert_url &&
|
|
256
266
|
dns_target_creds == o.dns_target_creds &&
|
|
@@ -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
|
-
[acme_challenge, description, digicert_url, dns_target_creds, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, json, key, max_versions, name, resource_group, timeout, token, uid_token].hash
|
|
291
|
+
[acme_challenge, delete_protection, description, digicert_url, dns_target_creds, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, json, key, max_versions, name, resource_group, timeout, token, uid_token].hash
|
|
282
292
|
end
|
|
283
293
|
|
|
284
294
|
# Builds the object from hash
|