akeyless 5.0.14 → 5.0.17
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 +13 -1
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +13 -1
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +13 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +13 -1
- data/lib/akeyless/models/auth_method_create_email.rb +13 -1
- data/lib/akeyless/models/auth_method_create_gcp.rb +13 -1
- data/lib/akeyless/models/auth_method_create_k8s.rb +13 -1
- data/lib/akeyless/models/auth_method_create_kerberos.rb +13 -1
- data/lib/akeyless/models/auth_method_create_ldap.rb +13 -1
- data/lib/akeyless/models/auth_method_create_oauth2.rb +13 -1
- data/lib/akeyless/models/auth_method_create_oci.rb +13 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +13 -1
- data/lib/akeyless/models/auth_method_create_saml.rb +13 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +13 -1
- data/lib/akeyless/models/auth_method_update_api_key.rb +13 -1
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +13 -1
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +13 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +13 -1
- data/lib/akeyless/models/auth_method_update_email.rb +13 -1
- data/lib/akeyless/models/auth_method_update_gcp.rb +13 -1
- data/lib/akeyless/models/auth_method_update_k8s.rb +13 -1
- data/lib/akeyless/models/auth_method_update_kerberos.rb +13 -1
- data/lib/akeyless/models/auth_method_update_ldap.rb +13 -1
- data/lib/akeyless/models/auth_method_update_oauth2.rb +13 -1
- data/lib/akeyless/models/auth_method_update_oci.rb +13 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +13 -1
- data/lib/akeyless/models/auth_method_update_saml.rb +13 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +13 -1
- data/lib/akeyless/models/bastion_global_conf.rb +19 -1
- data/lib/akeyless/models/create_auth_method.rb +13 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +13 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +13 -1
- data/lib/akeyless/models/create_auth_method_cert.rb +13 -1
- data/lib/akeyless/models/create_auth_method_email.rb +13 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +13 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +13 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +13 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +13 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +13 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +13 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +13 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +13 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +31 -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 +23 -1
- data/lib/akeyless/models/update_auth_method.rb +13 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +13 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +13 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +13 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +13 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +13 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +13 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +13 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +13 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +13 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +13 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +13 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +31 -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
|
@@ -42,6 +42,9 @@ module Akeyless
|
|
|
42
42
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
43
43
|
attr_accessor :key
|
|
44
44
|
|
|
45
|
+
# Private key file contents encoded using base64
|
|
46
|
+
attr_accessor :key_data_base64
|
|
47
|
+
|
|
45
48
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
46
49
|
attr_accessor :max_versions
|
|
47
50
|
|
|
@@ -54,6 +57,9 @@ module Akeyless
|
|
|
54
57
|
# The length of the password to be generated
|
|
55
58
|
attr_accessor :password_length
|
|
56
59
|
|
|
60
|
+
# The path to the public key that will be rotated on the server
|
|
61
|
+
attr_accessor :public_key_remote_path
|
|
62
|
+
|
|
57
63
|
# List of the existent tags that will be removed from this item
|
|
58
64
|
attr_accessor :rm_tag
|
|
59
65
|
|
|
@@ -129,10 +135,12 @@ module Akeyless
|
|
|
129
135
|
:'json' => :'json',
|
|
130
136
|
:'keep_prev_version' => :'keep-prev-version',
|
|
131
137
|
:'key' => :'key',
|
|
138
|
+
:'key_data_base64' => :'key-data-base64',
|
|
132
139
|
:'max_versions' => :'max-versions',
|
|
133
140
|
:'name' => :'name',
|
|
134
141
|
:'new_name' => :'new-name',
|
|
135
142
|
:'password_length' => :'password-length',
|
|
143
|
+
:'public_key_remote_path' => :'public-key-remote-path',
|
|
136
144
|
:'rm_tag' => :'rm-tag',
|
|
137
145
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
|
138
146
|
:'rotated_password' => :'rotated-password',
|
|
@@ -174,10 +182,12 @@ module Akeyless
|
|
|
174
182
|
:'json' => :'Boolean',
|
|
175
183
|
:'keep_prev_version' => :'String',
|
|
176
184
|
:'key' => :'String',
|
|
185
|
+
:'key_data_base64' => :'String',
|
|
177
186
|
:'max_versions' => :'String',
|
|
178
187
|
:'name' => :'String',
|
|
179
188
|
:'new_name' => :'String',
|
|
180
189
|
:'password_length' => :'String',
|
|
190
|
+
:'public_key_remote_path' => :'String',
|
|
181
191
|
:'rm_tag' => :'Array<String>',
|
|
182
192
|
:'rotate_after_disconnect' => :'String',
|
|
183
193
|
:'rotated_password' => :'String',
|
|
@@ -269,6 +279,10 @@ module Akeyless
|
|
|
269
279
|
self.key = attributes[:'key']
|
|
270
280
|
end
|
|
271
281
|
|
|
282
|
+
if attributes.key?(:'key_data_base64')
|
|
283
|
+
self.key_data_base64 = attributes[:'key_data_base64']
|
|
284
|
+
end
|
|
285
|
+
|
|
272
286
|
if attributes.key?(:'max_versions')
|
|
273
287
|
self.max_versions = attributes[:'max_versions']
|
|
274
288
|
end
|
|
@@ -287,6 +301,10 @@ module Akeyless
|
|
|
287
301
|
self.password_length = attributes[:'password_length']
|
|
288
302
|
end
|
|
289
303
|
|
|
304
|
+
if attributes.key?(:'public_key_remote_path')
|
|
305
|
+
self.public_key_remote_path = attributes[:'public_key_remote_path']
|
|
306
|
+
end
|
|
307
|
+
|
|
290
308
|
if attributes.key?(:'rm_tag')
|
|
291
309
|
if (value = attributes[:'rm_tag']).is_a?(Array)
|
|
292
310
|
self.rm_tag = value
|
|
@@ -425,10 +443,12 @@ module Akeyless
|
|
|
425
443
|
json == o.json &&
|
|
426
444
|
keep_prev_version == o.keep_prev_version &&
|
|
427
445
|
key == o.key &&
|
|
446
|
+
key_data_base64 == o.key_data_base64 &&
|
|
428
447
|
max_versions == o.max_versions &&
|
|
429
448
|
name == o.name &&
|
|
430
449
|
new_name == o.new_name &&
|
|
431
450
|
password_length == o.password_length &&
|
|
451
|
+
public_key_remote_path == o.public_key_remote_path &&
|
|
432
452
|
rm_tag == o.rm_tag &&
|
|
433
453
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
434
454
|
rotated_password == o.rotated_password &&
|
|
@@ -461,7 +481,7 @@ module Akeyless
|
|
|
461
481
|
# Calculates hash code according to all attributes.
|
|
462
482
|
# @return [Integer] Hash code
|
|
463
483
|
def hash
|
|
464
|
-
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, 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, token, uid_token].hash
|
|
484
|
+
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, key_data_base64, max_versions, name, new_name, password_length, public_key_remote_path, rm_tag, 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, token, uid_token].hash
|
|
465
485
|
end
|
|
466
486
|
|
|
467
487
|
# Builds the object from hash
|
|
@@ -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 SlackNotiForwarderDetails
|
|
18
|
+
attr_accessor :endpoint_url
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'endpoint_url' => :'endpoint_url'
|
|
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
|
+
:'endpoint_url' => :'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::SlackNotiForwarderDetails` 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::SlackNotiForwarderDetails`. 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?(:'endpoint_url')
|
|
61
|
+
self.endpoint_url = attributes[:'endpoint_url']
|
|
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
|
+
endpoint_url == o.endpoint_url
|
|
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
|
+
[endpoint_url].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
|
|
@@ -21,6 +21,9 @@ module Akeyless
|
|
|
21
21
|
# Static 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
|
|
@@ -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 TeamsNotiForwarderDetails
|
|
18
|
+
attr_accessor :webhook_url
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'webhook_url' => :'webhook_url'
|
|
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
|
+
:'webhook_url' => :'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::TeamsNotiForwarderDetails` 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::TeamsNotiForwarderDetails`. 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?(:'webhook_url')
|
|
61
|
+
self.webhook_url = attributes[:'webhook_url']
|
|
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
|
+
webhook_url == o.webhook_url
|
|
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
|
+
[webhook_url].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
|
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
# Address
|
|
19
19
|
attr_accessor :address
|
|
20
20
|
|
|
21
|
+
# A default list of client types that are allowed to authenticate [cli,ui,gateway-admin,sdk,mobile,extension].
|
|
22
|
+
attr_accessor :allowed_client_type
|
|
23
|
+
|
|
21
24
|
# Limits email sharing to the specified domains. Relevant only when item sharing is enabled. By default, all domains are allowed.
|
|
22
25
|
attr_accessor :allowed_email_domains
|
|
23
26
|
|
|
@@ -99,6 +102,9 @@ module Akeyless
|
|
|
99
102
|
# Minimum ttl
|
|
100
103
|
attr_accessor :jwt_ttl_min
|
|
101
104
|
|
|
105
|
+
# Lock allowed-client-type setting in the account [true/false].
|
|
106
|
+
attr_accessor :lock_allowed_client_type
|
|
107
|
+
|
|
102
108
|
# Lock bound-ips setting globally in the account.
|
|
103
109
|
attr_accessor :lock_bound_ips
|
|
104
110
|
|
|
@@ -163,6 +169,7 @@ module Akeyless
|
|
|
163
169
|
def self.attribute_map
|
|
164
170
|
{
|
|
165
171
|
:'address' => :'address',
|
|
172
|
+
:'allowed_client_type' => :'allowed-client-type',
|
|
166
173
|
:'allowed_email_domains' => :'allowed-email-domains',
|
|
167
174
|
:'bound_ips' => :'bound-ips',
|
|
168
175
|
:'city' => :'city',
|
|
@@ -190,6 +197,7 @@ module Akeyless
|
|
|
190
197
|
:'jwt_ttl_default' => :'jwt-ttl-default',
|
|
191
198
|
:'jwt_ttl_max' => :'jwt-ttl-max',
|
|
192
199
|
:'jwt_ttl_min' => :'jwt-ttl-min',
|
|
200
|
+
:'lock_allowed_client_type' => :'lock-allowed-client-type',
|
|
193
201
|
:'lock_bound_ips' => :'lock-bound-ips',
|
|
194
202
|
:'lock_default_key' => :'lock-default-key',
|
|
195
203
|
:'lock_gw_bound_ips' => :'lock-gw-bound-ips',
|
|
@@ -222,6 +230,7 @@ module Akeyless
|
|
|
222
230
|
def self.openapi_types
|
|
223
231
|
{
|
|
224
232
|
:'address' => :'String',
|
|
233
|
+
:'allowed_client_type' => :'Array<String>',
|
|
225
234
|
:'allowed_email_domains' => :'Array<String>',
|
|
226
235
|
:'bound_ips' => :'Array<String>',
|
|
227
236
|
:'city' => :'String',
|
|
@@ -249,6 +258,7 @@ module Akeyless
|
|
|
249
258
|
:'jwt_ttl_default' => :'Integer',
|
|
250
259
|
:'jwt_ttl_max' => :'Integer',
|
|
251
260
|
:'jwt_ttl_min' => :'Integer',
|
|
261
|
+
:'lock_allowed_client_type' => :'String',
|
|
252
262
|
:'lock_bound_ips' => :'String',
|
|
253
263
|
:'lock_default_key' => :'String',
|
|
254
264
|
:'lock_gw_bound_ips' => :'String',
|
|
@@ -297,6 +307,12 @@ module Akeyless
|
|
|
297
307
|
self.address = attributes[:'address']
|
|
298
308
|
end
|
|
299
309
|
|
|
310
|
+
if attributes.key?(:'allowed_client_type')
|
|
311
|
+
if (value = attributes[:'allowed_client_type']).is_a?(Array)
|
|
312
|
+
self.allowed_client_type = value
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
|
|
300
316
|
if attributes.key?(:'allowed_email_domains')
|
|
301
317
|
if (value = attributes[:'allowed_email_domains']).is_a?(Array)
|
|
302
318
|
self.allowed_email_domains = value
|
|
@@ -417,6 +433,10 @@ module Akeyless
|
|
|
417
433
|
self.jwt_ttl_min = attributes[:'jwt_ttl_min']
|
|
418
434
|
end
|
|
419
435
|
|
|
436
|
+
if attributes.key?(:'lock_allowed_client_type')
|
|
437
|
+
self.lock_allowed_client_type = attributes[:'lock_allowed_client_type']
|
|
438
|
+
end
|
|
439
|
+
|
|
420
440
|
if attributes.key?(:'lock_bound_ips')
|
|
421
441
|
self.lock_bound_ips = attributes[:'lock_bound_ips']
|
|
422
442
|
end
|
|
@@ -519,6 +539,7 @@ module Akeyless
|
|
|
519
539
|
return true if self.equal?(o)
|
|
520
540
|
self.class == o.class &&
|
|
521
541
|
address == o.address &&
|
|
542
|
+
allowed_client_type == o.allowed_client_type &&
|
|
522
543
|
allowed_email_domains == o.allowed_email_domains &&
|
|
523
544
|
bound_ips == o.bound_ips &&
|
|
524
545
|
city == o.city &&
|
|
@@ -546,6 +567,7 @@ module Akeyless
|
|
|
546
567
|
jwt_ttl_default == o.jwt_ttl_default &&
|
|
547
568
|
jwt_ttl_max == o.jwt_ttl_max &&
|
|
548
569
|
jwt_ttl_min == o.jwt_ttl_min &&
|
|
570
|
+
lock_allowed_client_type == o.lock_allowed_client_type &&
|
|
549
571
|
lock_bound_ips == o.lock_bound_ips &&
|
|
550
572
|
lock_default_key == o.lock_default_key &&
|
|
551
573
|
lock_gw_bound_ips == o.lock_gw_bound_ips &&
|
|
@@ -577,7 +599,7 @@ module Akeyless
|
|
|
577
599
|
# Calculates hash code according to all attributes.
|
|
578
600
|
# @return [Integer] Hash code
|
|
579
601
|
def hash
|
|
580
|
-
[address, allowed_email_domains, bound_ips, city, company_name, country, default_certificate_expiration_notification_days, default_key_name, default_share_link_ttl_minutes, default_versioning, dp_enable_classic_key_protection, dynamic_secret_max_ttl, dynamic_secret_max_ttl_enable, enable_ai_insights, enable_default_certificate_expiration_event, enable_item_sharing, enable_password_expiration, force_new_versions, gw_bound_ips, hide_personal_folder, hide_static_password, invalid_characters, item_type, items_deletion_protection, json, jwt_ttl_default, jwt_ttl_max, jwt_ttl_min, lock_bound_ips, lock_default_key, lock_gw_bound_ips, max_rotation_interval, max_rotation_interval_enable, max_versions, password_expiration_days, password_expiration_notification_days, password_length, phone, postal_code, token, uid_token, usage_event_enable, usage_event_interval, usage_event_object_type, use_capital_letters, use_lower_letters, use_numbers, use_special_characters].hash
|
|
602
|
+
[address, allowed_client_type, allowed_email_domains, bound_ips, city, company_name, country, default_certificate_expiration_notification_days, default_key_name, default_share_link_ttl_minutes, default_versioning, dp_enable_classic_key_protection, dynamic_secret_max_ttl, dynamic_secret_max_ttl_enable, enable_ai_insights, enable_default_certificate_expiration_event, enable_item_sharing, enable_password_expiration, force_new_versions, gw_bound_ips, hide_personal_folder, hide_static_password, invalid_characters, item_type, items_deletion_protection, json, jwt_ttl_default, jwt_ttl_max, jwt_ttl_min, lock_allowed_client_type, lock_bound_ips, lock_default_key, lock_gw_bound_ips, max_rotation_interval, max_rotation_interval_enable, max_versions, password_expiration_days, password_expiration_notification_days, password_length, phone, postal_code, token, uid_token, usage_event_enable, usage_event_interval, usage_event_object_type, use_capital_letters, use_lower_letters, use_numbers, use_special_characters].hash
|
|
581
603
|
end
|
|
582
604
|
|
|
583
605
|
# Builds the object from hash
|