akeyless 5.0.14 → 5.0.16
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 +6 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/ActiveDirectoryPayload.md +2 -0
- data/docs/AllowedClientType.md +20 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateApiKey.md +2 -0
- data/docs/AuthMethodCreateAwsIam.md +2 -0
- data/docs/AuthMethodCreateAzureAD.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateEmail.md +2 -0
- data/docs/AuthMethodCreateGcp.md +2 -0
- data/docs/AuthMethodCreateK8s.md +2 -0
- data/docs/AuthMethodCreateKerberos.md +2 -0
- data/docs/AuthMethodCreateLdap.md +2 -0
- data/docs/AuthMethodCreateOCI.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +2 -0
- data/docs/AuthMethodCreateOauth2.md +2 -0
- data/docs/AuthMethodCreateSAML.md +2 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
- data/docs/AuthMethodUpdateApiKey.md +2 -0
- data/docs/AuthMethodUpdateAwsIam.md +2 -0
- data/docs/AuthMethodUpdateAzureAD.md +2 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateEmail.md +2 -0
- data/docs/AuthMethodUpdateGcp.md +2 -0
- data/docs/AuthMethodUpdateK8s.md +2 -0
- data/docs/AuthMethodUpdateKerberos.md +2 -0
- data/docs/AuthMethodUpdateLdap.md +2 -0
- data/docs/AuthMethodUpdateOCI.md +2 -0
- data/docs/AuthMethodUpdateOIDC.md +2 -0
- data/docs/AuthMethodUpdateOauth2.md +2 -0
- data/docs/AuthMethodUpdateSAML.md +2 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
- data/docs/BastionGlobalConf.md +4 -0
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +2 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOCI.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DynamicSecretCreateGcp.md +22 -6
- data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretCreateMongoDb.md +2 -0
- data/docs/DynamicSecretCreateMsSql.md +2 -0
- data/docs/DynamicSecretGetValue.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +22 -6
- data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +2 -0
- data/docs/DynamicSecretUpdateMsSql.md +2 -0
- data/docs/EventForwarderGetOutput.md +3 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +22 -6
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +22 -6
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateRemoteAccess.md +4 -0
- data/docs/GetDynamicSecretValue.md +2 -0
- data/docs/NotiForwarderDetailsInput.md +28 -0
- data/docs/PKICertificateIssueDetails.md +6 -0
- data/docs/RotatedSecretCreateSsh.md +4 -0
- data/docs/RotatedSecretDeleteSync.md +2 -0
- data/docs/RotatedSecretDetailsInfo.md +4 -0
- data/docs/RotatedSecretUpdateSsh.md +4 -0
- data/docs/SlackNotiForwarderDetails.md +18 -0
- data/docs/StaticSecretDeleteSync.md +2 -0
- data/docs/TeamsNotiForwarderDetails.md +18 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +2 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOCI.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdatePKICertIssuer.md +6 -0
- data/docs/V2Api.md +4 -4
- data/docs/WebhookNotiForwarderDetails.md +26 -0
- data/docs/WindowsServiceAttributes.md +4 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/active_directory_payload.rb +10 -1
- data/lib/akeyless/models/allowed_client_type.rb +225 -0
- data/lib/akeyless/models/auth_method_access_info.rb +12 -1
- data/lib/akeyless/models/auth_method_create_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_create_email.rb +12 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +12 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +12 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +12 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +12 -1
- data/lib/akeyless/models/auth_method_update_email.rb +12 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +12 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +12 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +12 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +12 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +12 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +12 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -1
- data/lib/akeyless/models/bastion_global_conf.rb +19 -1
- data/lib/akeyless/models/create_auth_method.rb +12 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/create_auth_method_email.rb +12 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +12 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/ds_producer_details.rb +47 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +92 -12
- data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_get_value.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +92 -12
- data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +11 -1
- data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
- data/lib/akeyless/models/gateway_create_migration.rb +13 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +92 -12
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +92 -12
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_remote_access.rb +25 -1
- data/lib/akeyless/models/get_dynamic_secret_value.rb +11 -1
- data/lib/akeyless/models/noti_forwarder_details_input.rb +261 -0
- data/lib/akeyless/models/pki_certificate_issue_details.rb +31 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +21 -1
- data/lib/akeyless/models/rotated_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +21 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +21 -1
- data/lib/akeyless/models/slack_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/static_secret_delete_sync.rb +11 -1
- data/lib/akeyless/models/teams_noti_forwarder_details.rb +214 -0
- data/lib/akeyless/models/update_account_settings.rb +21 -1
- data/lib/akeyless/models/update_auth_method.rb +12 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +12 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +28 -1
- data/lib/akeyless/models/webhook_noti_forwarder_details.rb +253 -0
- data/lib/akeyless/models/windows_service_attributes.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/allowed_client_type_spec.rb +42 -0
- data/spec/models/noti_forwarder_details_input_spec.rb +66 -0
- data/spec/models/slack_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/teams_noti_forwarder_details_spec.rb +36 -0
- data/spec/models/webhook_noti_forwarder_details_spec.rb +60 -0
- metadata +21 -1
|
@@ -0,0 +1,261 @@
|
|
|
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 NotiForwarderDetailsInput
|
|
18
|
+
attr_accessor :app_private_key_pem_base64
|
|
19
|
+
|
|
20
|
+
# Auth - JWT
|
|
21
|
+
attr_accessor :client_secret
|
|
22
|
+
|
|
23
|
+
# Auth - User Password
|
|
24
|
+
attr_accessor :password
|
|
25
|
+
|
|
26
|
+
attr_accessor :slack_noti_forwarder_details
|
|
27
|
+
|
|
28
|
+
attr_accessor :teams_noti_forwarder_details
|
|
29
|
+
|
|
30
|
+
attr_accessor :webhook_noti_forwarder_details
|
|
31
|
+
|
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
|
+
def self.attribute_map
|
|
34
|
+
{
|
|
35
|
+
:'app_private_key_pem_base64' => :'app_private_key_pem_base64',
|
|
36
|
+
:'client_secret' => :'client_secret',
|
|
37
|
+
:'password' => :'password',
|
|
38
|
+
:'slack_noti_forwarder_details' => :'slack_noti_forwarder_details',
|
|
39
|
+
:'teams_noti_forwarder_details' => :'teams_noti_forwarder_details',
|
|
40
|
+
:'webhook_noti_forwarder_details' => :'webhook_noti_forwarder_details'
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Returns all the JSON keys this model knows about
|
|
45
|
+
def self.acceptable_attributes
|
|
46
|
+
attribute_map.values
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Attribute type mapping.
|
|
50
|
+
def self.openapi_types
|
|
51
|
+
{
|
|
52
|
+
:'app_private_key_pem_base64' => :'String',
|
|
53
|
+
:'client_secret' => :'String',
|
|
54
|
+
:'password' => :'String',
|
|
55
|
+
:'slack_noti_forwarder_details' => :'SlackNotiForwarderDetails',
|
|
56
|
+
:'teams_noti_forwarder_details' => :'TeamsNotiForwarderDetails',
|
|
57
|
+
:'webhook_noti_forwarder_details' => :'WebhookNotiForwarderDetails'
|
|
58
|
+
}
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# List of attributes with nullable: true
|
|
62
|
+
def self.openapi_nullable
|
|
63
|
+
Set.new([
|
|
64
|
+
])
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Initializes the object
|
|
68
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
69
|
+
def initialize(attributes = {})
|
|
70
|
+
if (!attributes.is_a?(Hash))
|
|
71
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::NotiForwarderDetailsInput` initialize method"
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
75
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
76
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::NotiForwarderDetailsInput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
78
|
+
end
|
|
79
|
+
h[k.to_sym] = v
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'app_private_key_pem_base64')
|
|
83
|
+
self.app_private_key_pem_base64 = attributes[:'app_private_key_pem_base64']
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
if attributes.key?(:'client_secret')
|
|
87
|
+
self.client_secret = attributes[:'client_secret']
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'password')
|
|
91
|
+
self.password = attributes[:'password']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'slack_noti_forwarder_details')
|
|
95
|
+
self.slack_noti_forwarder_details = attributes[:'slack_noti_forwarder_details']
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'teams_noti_forwarder_details')
|
|
99
|
+
self.teams_noti_forwarder_details = attributes[:'teams_noti_forwarder_details']
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if attributes.key?(:'webhook_noti_forwarder_details')
|
|
103
|
+
self.webhook_noti_forwarder_details = attributes[:'webhook_noti_forwarder_details']
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
108
|
+
# @return Array for valid properties with the reasons
|
|
109
|
+
def list_invalid_properties
|
|
110
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
111
|
+
invalid_properties = Array.new
|
|
112
|
+
invalid_properties
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Check to see if the all the properties in the model are valid
|
|
116
|
+
# @return true if the model is valid
|
|
117
|
+
def valid?
|
|
118
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
119
|
+
true
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Checks equality by comparing each attribute.
|
|
123
|
+
# @param [Object] Object to be compared
|
|
124
|
+
def ==(o)
|
|
125
|
+
return true if self.equal?(o)
|
|
126
|
+
self.class == o.class &&
|
|
127
|
+
app_private_key_pem_base64 == o.app_private_key_pem_base64 &&
|
|
128
|
+
client_secret == o.client_secret &&
|
|
129
|
+
password == o.password &&
|
|
130
|
+
slack_noti_forwarder_details == o.slack_noti_forwarder_details &&
|
|
131
|
+
teams_noti_forwarder_details == o.teams_noti_forwarder_details &&
|
|
132
|
+
webhook_noti_forwarder_details == o.webhook_noti_forwarder_details
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# @see the `==` method
|
|
136
|
+
# @param [Object] Object to be compared
|
|
137
|
+
def eql?(o)
|
|
138
|
+
self == o
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Calculates hash code according to all attributes.
|
|
142
|
+
# @return [Integer] Hash code
|
|
143
|
+
def hash
|
|
144
|
+
[app_private_key_pem_base64, client_secret, password, slack_noti_forwarder_details, teams_noti_forwarder_details, webhook_noti_forwarder_details].hash
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Builds the object from hash
|
|
148
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
149
|
+
# @return [Object] Returns the model itself
|
|
150
|
+
def self.build_from_hash(attributes)
|
|
151
|
+
return nil unless attributes.is_a?(Hash)
|
|
152
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
153
|
+
transformed_hash = {}
|
|
154
|
+
openapi_types.each_pair do |key, type|
|
|
155
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
156
|
+
transformed_hash["#{key}"] = nil
|
|
157
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
158
|
+
# check to ensure the input is an array given that the attribute
|
|
159
|
+
# is documented as an array but the input is not
|
|
160
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
161
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
162
|
+
end
|
|
163
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
164
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
new(transformed_hash)
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
# Deserializes the data based on type
|
|
171
|
+
# @param string type Data type
|
|
172
|
+
# @param string value Value to be deserialized
|
|
173
|
+
# @return [Object] Deserialized data
|
|
174
|
+
def self._deserialize(type, value)
|
|
175
|
+
case type.to_sym
|
|
176
|
+
when :Time
|
|
177
|
+
Time.parse(value)
|
|
178
|
+
when :Date
|
|
179
|
+
Date.parse(value)
|
|
180
|
+
when :String
|
|
181
|
+
value.to_s
|
|
182
|
+
when :Integer
|
|
183
|
+
value.to_i
|
|
184
|
+
when :Float
|
|
185
|
+
value.to_f
|
|
186
|
+
when :Boolean
|
|
187
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
188
|
+
true
|
|
189
|
+
else
|
|
190
|
+
false
|
|
191
|
+
end
|
|
192
|
+
when :Object
|
|
193
|
+
# generic object (usually a Hash), return directly
|
|
194
|
+
value
|
|
195
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
196
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
197
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
198
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
199
|
+
k_type = Regexp.last_match[:k_type]
|
|
200
|
+
v_type = Regexp.last_match[:v_type]
|
|
201
|
+
{}.tap do |hash|
|
|
202
|
+
value.each do |k, v|
|
|
203
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
else # model
|
|
207
|
+
# models (e.g. Pet) or oneOf
|
|
208
|
+
klass = Akeyless.const_get(type)
|
|
209
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# Returns the string representation of the object
|
|
214
|
+
# @return [String] String presentation of the object
|
|
215
|
+
def to_s
|
|
216
|
+
to_hash.to_s
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
220
|
+
# @return [Hash] Returns the object in the form of hash
|
|
221
|
+
def to_body
|
|
222
|
+
to_hash
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# Returns the object in the form of hash
|
|
226
|
+
# @return [Hash] Returns the object in the form of hash
|
|
227
|
+
def to_hash
|
|
228
|
+
hash = {}
|
|
229
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
230
|
+
value = self.send(attr)
|
|
231
|
+
if value.nil?
|
|
232
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
233
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
hash[param] = _to_hash(value)
|
|
237
|
+
end
|
|
238
|
+
hash
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# Outputs non-array value in the form of hash
|
|
242
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
243
|
+
# @param [Object] value Any valid value
|
|
244
|
+
# @return [Hash] Returns the value in the form of hash
|
|
245
|
+
def _to_hash(value)
|
|
246
|
+
if value.is_a?(Array)
|
|
247
|
+
value.compact.map { |v| _to_hash(v) }
|
|
248
|
+
elsif value.is_a?(Hash)
|
|
249
|
+
{}.tap do |hash|
|
|
250
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
251
|
+
end
|
|
252
|
+
elsif value.respond_to? :to_hash
|
|
253
|
+
value.to_hash
|
|
254
|
+
else
|
|
255
|
+
value
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
end
|
|
@@ -45,8 +45,14 @@ module Akeyless
|
|
|
45
45
|
|
|
46
46
|
attr_accessor :create_private_crl
|
|
47
47
|
|
|
48
|
+
# CreatePrivateOcsp enables exposing an OCSP endpoint on the Gateway and embedding its URL in the AIA extension of issued certificates.
|
|
49
|
+
attr_accessor :create_private_ocsp
|
|
50
|
+
|
|
48
51
|
attr_accessor :create_public_crl
|
|
49
52
|
|
|
53
|
+
# CreatePublicOcsp enables exposing a public OCSP endpoint on the Gateway and embedding its URL in the AIA extension of issued certificates.
|
|
54
|
+
attr_accessor :create_public_ocsp
|
|
55
|
+
|
|
50
56
|
# DestinationPath is the destination to save generated certificates
|
|
51
57
|
attr_accessor :destination_path
|
|
52
58
|
|
|
@@ -79,6 +85,9 @@ module Akeyless
|
|
|
79
85
|
# A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
|
|
80
86
|
attr_accessor :not_before_duration
|
|
81
87
|
|
|
88
|
+
# OcspNextUpdate defines the desired NextUpdate window for OCSP responses. Value is in seconds; 0 means not set. Minimum enforced is 10 minutes.
|
|
89
|
+
attr_accessor :ocsp_next_update
|
|
90
|
+
|
|
82
91
|
attr_accessor :organization_list
|
|
83
92
|
|
|
84
93
|
attr_accessor :organization_unit_list
|
|
@@ -118,7 +127,9 @@ module Akeyless
|
|
|
118
127
|
:'code_signing_flag' => :'code_signing_flag',
|
|
119
128
|
:'country' => :'country',
|
|
120
129
|
:'create_private_crl' => :'create_private_crl',
|
|
130
|
+
:'create_private_ocsp' => :'create_private_ocsp',
|
|
121
131
|
:'create_public_crl' => :'create_public_crl',
|
|
132
|
+
:'create_public_ocsp' => :'create_public_ocsp',
|
|
122
133
|
:'destination_path' => :'destination_path',
|
|
123
134
|
:'disable_wildcards' => :'disable_wildcards',
|
|
124
135
|
:'enforce_hostnames' => :'enforce_hostnames',
|
|
@@ -133,6 +144,7 @@ module Akeyless
|
|
|
133
144
|
:'max_path_len' => :'max_path_len',
|
|
134
145
|
:'non_critical_key_usage' => :'non_critical_key_usage',
|
|
135
146
|
:'not_before_duration' => :'not_before_duration',
|
|
147
|
+
:'ocsp_next_update' => :'ocsp_next_update',
|
|
136
148
|
:'organization_list' => :'organization_list',
|
|
137
149
|
:'organization_unit_list' => :'organization_unit_list',
|
|
138
150
|
:'pki_issuer_type' => :'pki_issuer_type',
|
|
@@ -169,7 +181,9 @@ module Akeyless
|
|
|
169
181
|
:'code_signing_flag' => :'Boolean',
|
|
170
182
|
:'country' => :'Array<String>',
|
|
171
183
|
:'create_private_crl' => :'Boolean',
|
|
184
|
+
:'create_private_ocsp' => :'Boolean',
|
|
172
185
|
:'create_public_crl' => :'Boolean',
|
|
186
|
+
:'create_public_ocsp' => :'Boolean',
|
|
173
187
|
:'destination_path' => :'String',
|
|
174
188
|
:'disable_wildcards' => :'Boolean',
|
|
175
189
|
:'enforce_hostnames' => :'Boolean',
|
|
@@ -184,6 +198,7 @@ module Akeyless
|
|
|
184
198
|
:'max_path_len' => :'Integer',
|
|
185
199
|
:'non_critical_key_usage' => :'Boolean',
|
|
186
200
|
:'not_before_duration' => :'Integer',
|
|
201
|
+
:'ocsp_next_update' => :'Integer',
|
|
187
202
|
:'organization_list' => :'Array<String>',
|
|
188
203
|
:'organization_unit_list' => :'Array<String>',
|
|
189
204
|
:'pki_issuer_type' => :'String',
|
|
@@ -288,10 +303,18 @@ module Akeyless
|
|
|
288
303
|
self.create_private_crl = attributes[:'create_private_crl']
|
|
289
304
|
end
|
|
290
305
|
|
|
306
|
+
if attributes.key?(:'create_private_ocsp')
|
|
307
|
+
self.create_private_ocsp = attributes[:'create_private_ocsp']
|
|
308
|
+
end
|
|
309
|
+
|
|
291
310
|
if attributes.key?(:'create_public_crl')
|
|
292
311
|
self.create_public_crl = attributes[:'create_public_crl']
|
|
293
312
|
end
|
|
294
313
|
|
|
314
|
+
if attributes.key?(:'create_public_ocsp')
|
|
315
|
+
self.create_public_ocsp = attributes[:'create_public_ocsp']
|
|
316
|
+
end
|
|
317
|
+
|
|
295
318
|
if attributes.key?(:'destination_path')
|
|
296
319
|
self.destination_path = attributes[:'destination_path']
|
|
297
320
|
end
|
|
@@ -354,6 +377,10 @@ module Akeyless
|
|
|
354
377
|
self.not_before_duration = attributes[:'not_before_duration']
|
|
355
378
|
end
|
|
356
379
|
|
|
380
|
+
if attributes.key?(:'ocsp_next_update')
|
|
381
|
+
self.ocsp_next_update = attributes[:'ocsp_next_update']
|
|
382
|
+
end
|
|
383
|
+
|
|
357
384
|
if attributes.key?(:'organization_list')
|
|
358
385
|
if (value = attributes[:'organization_list']).is_a?(Array)
|
|
359
386
|
self.organization_list = value
|
|
@@ -440,7 +467,9 @@ module Akeyless
|
|
|
440
467
|
code_signing_flag == o.code_signing_flag &&
|
|
441
468
|
country == o.country &&
|
|
442
469
|
create_private_crl == o.create_private_crl &&
|
|
470
|
+
create_private_ocsp == o.create_private_ocsp &&
|
|
443
471
|
create_public_crl == o.create_public_crl &&
|
|
472
|
+
create_public_ocsp == o.create_public_ocsp &&
|
|
444
473
|
destination_path == o.destination_path &&
|
|
445
474
|
disable_wildcards == o.disable_wildcards &&
|
|
446
475
|
enforce_hostnames == o.enforce_hostnames &&
|
|
@@ -455,6 +484,7 @@ module Akeyless
|
|
|
455
484
|
max_path_len == o.max_path_len &&
|
|
456
485
|
non_critical_key_usage == o.non_critical_key_usage &&
|
|
457
486
|
not_before_duration == o.not_before_duration &&
|
|
487
|
+
ocsp_next_update == o.ocsp_next_update &&
|
|
458
488
|
organization_list == o.organization_list &&
|
|
459
489
|
organization_unit_list == o.organization_unit_list &&
|
|
460
490
|
pki_issuer_type == o.pki_issuer_type &&
|
|
@@ -476,7 +506,7 @@ module Akeyless
|
|
|
476
506
|
# Calculates hash code according to all attributes.
|
|
477
507
|
# @return [Integer] Hash code
|
|
478
508
|
def hash
|
|
479
|
-
[acme_enabled, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains_list, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew_certificate, basic_constraints_valid_for_non_ca, certificate_authority_mode, client_flag, code_signing_flag, country, create_private_crl, create_public_crl, destination_path, disable_wildcards, enforce_hostnames, expiration_events, gw_cluster_id, gw_cluster_url, is_ca, key_bits, key_type, key_usage_list, locality, max_path_len, non_critical_key_usage, not_before_duration, organization_list, organization_unit_list, pki_issuer_type, postal_code, protect_generated_certificates, province, renew_before_expiration_in_days, require_cn, server_flag, street_address].hash
|
|
509
|
+
[acme_enabled, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains_list, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew_certificate, basic_constraints_valid_for_non_ca, certificate_authority_mode, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, destination_path, disable_wildcards, enforce_hostnames, expiration_events, gw_cluster_id, gw_cluster_url, is_ca, key_bits, key_type, key_usage_list, locality, max_path_len, non_critical_key_usage, not_before_duration, ocsp_next_update, organization_list, organization_unit_list, pki_issuer_type, postal_code, protect_generated_certificates, province, renew_before_expiration_in_days, require_cn, server_flag, street_address].hash
|
|
480
510
|
end
|
|
481
511
|
|
|
482
512
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module Akeyless
|
|
|
36
36
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
37
37
|
attr_accessor :key
|
|
38
38
|
|
|
39
|
+
# Private key file contents encoded using base64
|
|
40
|
+
attr_accessor :key_data_base64
|
|
41
|
+
|
|
39
42
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
40
43
|
attr_accessor :max_versions
|
|
41
44
|
|
|
@@ -45,6 +48,9 @@ module Akeyless
|
|
|
45
48
|
# The length of the password to be generated
|
|
46
49
|
attr_accessor :password_length
|
|
47
50
|
|
|
51
|
+
# The path to the public key that will be rotated on the server
|
|
52
|
+
attr_accessor :public_key_remote_path
|
|
53
|
+
|
|
48
54
|
# Rotate the value of the secret after SRA session ends [true/false]
|
|
49
55
|
attr_accessor :rotate_after_disconnect
|
|
50
56
|
|
|
@@ -121,9 +127,11 @@ module Akeyless
|
|
|
121
127
|
:'item_custom_fields' => :'item-custom-fields',
|
|
122
128
|
:'json' => :'json',
|
|
123
129
|
:'key' => :'key',
|
|
130
|
+
:'key_data_base64' => :'key-data-base64',
|
|
124
131
|
:'max_versions' => :'max-versions',
|
|
125
132
|
:'name' => :'name',
|
|
126
133
|
:'password_length' => :'password-length',
|
|
134
|
+
:'public_key_remote_path' => :'public-key-remote-path',
|
|
127
135
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
128
136
|
:'rotated_password' => :'rotated-password',
|
|
129
137
|
:'rotated_username' => :'rotated-username',
|
|
@@ -164,9 +172,11 @@ module Akeyless
|
|
|
164
172
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
165
173
|
:'json' => :'Boolean',
|
|
166
174
|
:'key' => :'String',
|
|
175
|
+
:'key_data_base64' => :'String',
|
|
167
176
|
:'max_versions' => :'String',
|
|
168
177
|
:'name' => :'String',
|
|
169
178
|
:'password_length' => :'String',
|
|
179
|
+
:'public_key_remote_path' => :'String',
|
|
170
180
|
:'rotate_after_disconnect' => :'String',
|
|
171
181
|
:'rotated_password' => :'String',
|
|
172
182
|
:'rotated_username' => :'String',
|
|
@@ -247,6 +257,10 @@ module Akeyless
|
|
|
247
257
|
self.key = attributes[:'key']
|
|
248
258
|
end
|
|
249
259
|
|
|
260
|
+
if attributes.key?(:'key_data_base64')
|
|
261
|
+
self.key_data_base64 = attributes[:'key_data_base64']
|
|
262
|
+
end
|
|
263
|
+
|
|
250
264
|
if attributes.key?(:'max_versions')
|
|
251
265
|
self.max_versions = attributes[:'max_versions']
|
|
252
266
|
end
|
|
@@ -261,6 +275,10 @@ module Akeyless
|
|
|
261
275
|
self.password_length = attributes[:'password_length']
|
|
262
276
|
end
|
|
263
277
|
|
|
278
|
+
if attributes.key?(:'public_key_remote_path')
|
|
279
|
+
self.public_key_remote_path = attributes[:'public_key_remote_path']
|
|
280
|
+
end
|
|
281
|
+
|
|
264
282
|
if attributes.key?(:'rotate_after_disconnect')
|
|
265
283
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
266
284
|
else
|
|
@@ -408,9 +426,11 @@ module Akeyless
|
|
|
408
426
|
item_custom_fields == o.item_custom_fields &&
|
|
409
427
|
json == o.json &&
|
|
410
428
|
key == o.key &&
|
|
429
|
+
key_data_base64 == o.key_data_base64 &&
|
|
411
430
|
max_versions == o.max_versions &&
|
|
412
431
|
name == o.name &&
|
|
413
432
|
password_length == o.password_length &&
|
|
433
|
+
public_key_remote_path == o.public_key_remote_path &&
|
|
414
434
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
415
435
|
rotated_password == o.rotated_password &&
|
|
416
436
|
rotated_username == o.rotated_username &&
|
|
@@ -444,7 +464,7 @@ module Akeyless
|
|
|
444
464
|
# Calculates hash code according to all attributes.
|
|
445
465
|
# @return [Integer] Hash code
|
|
446
466
|
def hash
|
|
447
|
-
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_custom_cmd, rotator_type, same_password, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_target_type, tags, target_name, token, uid_token].hash
|
|
467
|
+
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, key_data_base64, max_versions, name, password_length, public_key_remote_path, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_custom_cmd, rotator_type, same_password, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_target_type, tags, target_name, token, uid_token].hash
|
|
448
468
|
end
|
|
449
469
|
|
|
450
470
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module Akeyless
|
|
|
21
21
|
# Rotated secret name
|
|
22
22
|
attr_accessor :name
|
|
23
23
|
|
|
24
|
+
# Remote Secret Name to disambiguate when multiple syncs exist under the same USC
|
|
25
|
+
attr_accessor :remote_secret_name
|
|
26
|
+
|
|
24
27
|
# Authentication token (see `/auth` and `/configure`)
|
|
25
28
|
attr_accessor :token
|
|
26
29
|
|
|
@@ -35,6 +38,7 @@ module Akeyless
|
|
|
35
38
|
{
|
|
36
39
|
:'json' => :'json',
|
|
37
40
|
:'name' => :'name',
|
|
41
|
+
:'remote_secret_name' => :'remote-secret-name',
|
|
38
42
|
:'token' => :'token',
|
|
39
43
|
:'uid_token' => :'uid-token',
|
|
40
44
|
:'usc_name' => :'usc-name'
|
|
@@ -51,6 +55,7 @@ module Akeyless
|
|
|
51
55
|
{
|
|
52
56
|
:'json' => :'Boolean',
|
|
53
57
|
:'name' => :'String',
|
|
58
|
+
:'remote_secret_name' => :'String',
|
|
54
59
|
:'token' => :'String',
|
|
55
60
|
:'uid_token' => :'String',
|
|
56
61
|
:'usc_name' => :'String'
|
|
@@ -90,6 +95,10 @@ module Akeyless
|
|
|
90
95
|
self.name = nil
|
|
91
96
|
end
|
|
92
97
|
|
|
98
|
+
if attributes.key?(:'remote_secret_name')
|
|
99
|
+
self.remote_secret_name = attributes[:'remote_secret_name']
|
|
100
|
+
end
|
|
101
|
+
|
|
93
102
|
if attributes.key?(:'token')
|
|
94
103
|
self.token = attributes[:'token']
|
|
95
104
|
end
|
|
@@ -137,6 +146,7 @@ module Akeyless
|
|
|
137
146
|
self.class == o.class &&
|
|
138
147
|
json == o.json &&
|
|
139
148
|
name == o.name &&
|
|
149
|
+
remote_secret_name == o.remote_secret_name &&
|
|
140
150
|
token == o.token &&
|
|
141
151
|
uid_token == o.uid_token &&
|
|
142
152
|
usc_name == o.usc_name
|
|
@@ -151,7 +161,7 @@ module Akeyless
|
|
|
151
161
|
# Calculates hash code according to all attributes.
|
|
152
162
|
# @return [Integer] Hash code
|
|
153
163
|
def hash
|
|
154
|
-
[json, name, token, uid_token, usc_name].hash
|
|
164
|
+
[json, name, remote_secret_name, token, uid_token, usc_name].hash
|
|
155
165
|
end
|
|
156
166
|
|
|
157
167
|
# Builds the object from hash
|
|
@@ -28,6 +28,8 @@ module Akeyless
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :gw_cluster_id
|
|
30
30
|
|
|
31
|
+
attr_accessor :iis_apps_details
|
|
32
|
+
|
|
31
33
|
attr_accessor :last_rotation_error
|
|
32
34
|
|
|
33
35
|
attr_accessor :managed_by_akeyless
|
|
@@ -38,6 +40,8 @@ module Akeyless
|
|
|
38
40
|
|
|
39
41
|
attr_accessor :number_of_versions_to_save
|
|
40
42
|
|
|
43
|
+
attr_accessor :public_key_remote_path
|
|
44
|
+
|
|
41
45
|
attr_accessor :rotation_hour
|
|
42
46
|
|
|
43
47
|
attr_accessor :rotation_interval_min
|
|
@@ -66,11 +70,13 @@ module Akeyless
|
|
|
66
70
|
:'grace_rotation_hour' => :'grace_rotation_hour',
|
|
67
71
|
:'grace_rotation_interval' => :'grace_rotation_interval',
|
|
68
72
|
:'gw_cluster_id' => :'gw_cluster_id',
|
|
73
|
+
:'iis_apps_details' => :'iis_apps_details',
|
|
69
74
|
:'last_rotation_error' => :'last_rotation_error',
|
|
70
75
|
:'managed_by_akeyless' => :'managed_by_akeyless',
|
|
71
76
|
:'max_versions' => :'max_versions',
|
|
72
77
|
:'next_auto_rotate_type' => :'next_auto_rotate_type',
|
|
73
78
|
:'number_of_versions_to_save' => :'number_of_versions_to_save',
|
|
79
|
+
:'public_key_remote_path' => :'public_key_remote_path',
|
|
74
80
|
:'rotation_hour' => :'rotation_hour',
|
|
75
81
|
:'rotation_interval_min' => :'rotation_interval_min',
|
|
76
82
|
:'rotation_statement' => :'rotation_statement',
|
|
@@ -97,11 +103,13 @@ module Akeyless
|
|
|
97
103
|
:'grace_rotation_hour' => :'Integer',
|
|
98
104
|
:'grace_rotation_interval' => :'Integer',
|
|
99
105
|
:'gw_cluster_id' => :'Integer',
|
|
106
|
+
:'iis_apps_details' => :'Array<WindowsService>',
|
|
100
107
|
:'last_rotation_error' => :'String',
|
|
101
108
|
:'managed_by_akeyless' => :'Boolean',
|
|
102
109
|
:'max_versions' => :'Integer',
|
|
103
110
|
:'next_auto_rotate_type' => :'String',
|
|
104
111
|
:'number_of_versions_to_save' => :'Integer',
|
|
112
|
+
:'public_key_remote_path' => :'String',
|
|
105
113
|
:'rotation_hour' => :'Integer',
|
|
106
114
|
:'rotation_interval_min' => :'Boolean',
|
|
107
115
|
:'rotation_statement' => :'String',
|
|
@@ -159,6 +167,12 @@ module Akeyless
|
|
|
159
167
|
self.gw_cluster_id = attributes[:'gw_cluster_id']
|
|
160
168
|
end
|
|
161
169
|
|
|
170
|
+
if attributes.key?(:'iis_apps_details')
|
|
171
|
+
if (value = attributes[:'iis_apps_details']).is_a?(Array)
|
|
172
|
+
self.iis_apps_details = value
|
|
173
|
+
end
|
|
174
|
+
end
|
|
175
|
+
|
|
162
176
|
if attributes.key?(:'last_rotation_error')
|
|
163
177
|
self.last_rotation_error = attributes[:'last_rotation_error']
|
|
164
178
|
end
|
|
@@ -179,6 +193,10 @@ module Akeyless
|
|
|
179
193
|
self.number_of_versions_to_save = attributes[:'number_of_versions_to_save']
|
|
180
194
|
end
|
|
181
195
|
|
|
196
|
+
if attributes.key?(:'public_key_remote_path')
|
|
197
|
+
self.public_key_remote_path = attributes[:'public_key_remote_path']
|
|
198
|
+
end
|
|
199
|
+
|
|
182
200
|
if attributes.key?(:'rotation_hour')
|
|
183
201
|
self.rotation_hour = attributes[:'rotation_hour']
|
|
184
202
|
end
|
|
@@ -244,11 +262,13 @@ module Akeyless
|
|
|
244
262
|
grace_rotation_hour == o.grace_rotation_hour &&
|
|
245
263
|
grace_rotation_interval == o.grace_rotation_interval &&
|
|
246
264
|
gw_cluster_id == o.gw_cluster_id &&
|
|
265
|
+
iis_apps_details == o.iis_apps_details &&
|
|
247
266
|
last_rotation_error == o.last_rotation_error &&
|
|
248
267
|
managed_by_akeyless == o.managed_by_akeyless &&
|
|
249
268
|
max_versions == o.max_versions &&
|
|
250
269
|
next_auto_rotate_type == o.next_auto_rotate_type &&
|
|
251
270
|
number_of_versions_to_save == o.number_of_versions_to_save &&
|
|
271
|
+
public_key_remote_path == o.public_key_remote_path &&
|
|
252
272
|
rotation_hour == o.rotation_hour &&
|
|
253
273
|
rotation_interval_min == o.rotation_interval_min &&
|
|
254
274
|
rotation_statement == o.rotation_statement &&
|
|
@@ -269,7 +289,7 @@ module Akeyless
|
|
|
269
289
|
# Calculates hash code according to all attributes.
|
|
270
290
|
# @return [Integer] Hash code
|
|
271
291
|
def hash
|
|
272
|
-
[delete_previous_version_in_days, enable_custom_password_policy, grace_rotation, grace_rotation_hour, grace_rotation_interval, gw_cluster_id, last_rotation_error, managed_by_akeyless, max_versions, next_auto_rotate_type, number_of_versions_to_save, rotation_hour, rotation_interval_min, rotation_statement, rotator_creds_type, rotator_status, rotator_type, same_password, services_details, timeout_seconds].hash
|
|
292
|
+
[delete_previous_version_in_days, enable_custom_password_policy, grace_rotation, grace_rotation_hour, grace_rotation_interval, gw_cluster_id, iis_apps_details, last_rotation_error, managed_by_akeyless, max_versions, next_auto_rotate_type, number_of_versions_to_save, public_key_remote_path, rotation_hour, rotation_interval_min, rotation_statement, rotator_creds_type, rotator_status, rotator_type, same_password, services_details, timeout_seconds].hash
|
|
273
293
|
end
|
|
274
294
|
|
|
275
295
|
# Builds the object from hash
|