akeyless 3.5.4 → 3.6.1
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 +16 -2
- data/docs/AssocTargetItem.md +8 -0
- data/docs/Auth.md +4 -0
- data/docs/AuthMethod.md +2 -0
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/CertificateChainInfo.md +4 -0
- data/docs/CertificateVersionInfo.md +22 -0
- data/docs/Configure.md +5 -1
- data/docs/Connect.md +1 -1
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +3 -1
- 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 +40 -0
- data/docs/CreateAuthMethodOCIOutput.md +18 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateLinkedTarget.md +2 -0
- data/docs/CreateRole.md +4 -0
- data/docs/CreateRotatedSecret.md +7 -1
- data/docs/CreateSSHCertIssuer.md +4 -4
- data/docs/CreateSecret.md +2 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerCassandra.md +4 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerCassandra.md +4 -0
- data/docs/GenerateCsr.md +1 -1
- data/docs/GwClusterIdentity.md +2 -0
- data/docs/ImportPasswords.md +3 -1
- data/docs/ImportPasswordsOutput.md +3 -1
- data/docs/ItemVersion.md +2 -0
- data/docs/OCIAccessRules.md +20 -0
- data/docs/ProvisionCertificate.md +28 -0
- data/docs/ProvisionCertificateOutput.md +24 -0
- data/docs/RenewCertificate.md +28 -0
- data/docs/RenewCertificateOutput.md +28 -0
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/ServerInventoryPayload.md +2 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SignDataWithClassicKey.md +2 -0
- data/docs/SignEcDsa.md +5 -1
- data/docs/SignPKCS1.md +9 -1
- data/docs/SignPKCS1Output.md +1 -1
- data/docs/SignRsaSsaPss.md +5 -1
- data/docs/StaticSecretDetailsInfo.md +2 -0
- data/docs/TargetItemVersion.md +2 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +3 -1
- 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 +42 -0
- data/docs/UpdateAuthMethodOCIOutput.md +18 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdateCertificateValue.md +2 -0
- data/docs/UpdateItem.md +6 -0
- data/docs/UpdateLinkedTarget.md +2 -0
- data/docs/UpdateRole.md +4 -0
- data/docs/UpdateSSHCertIssuer.md +3 -3
- data/docs/UpdateSecretVal.md +2 -0
- data/docs/V2Api.md +264 -9
- data/docs/VerifyEcDsa.md +5 -1
- data/docs/VerifyPKCS1.md +9 -1
- data/docs/VerifyRsaSsaPss.md +5 -1
- data/lib/akeyless/api/v2_api.rb +274 -7
- data/lib/akeyless/models/assoc_target_item.rb +43 -1
- data/lib/akeyless/models/auth.rb +25 -1
- data/lib/akeyless/models/auth_method.rb +10 -1
- data/lib/akeyless/models/auth_method_access_info.rb +10 -1
- data/lib/akeyless/models/certificate_chain_info.rb +19 -1
- data/lib/akeyless/models/certificate_version_info.rb +232 -0
- data/lib/akeyless/models/configure.rb +28 -4
- data/lib/akeyless/models/connect.rb +1 -1
- data/lib/akeyless/models/create_auth_method.rb +11 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -2
- data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/create_auth_method_email.rb +11 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/create_auth_method_oci.rb +359 -0
- data/lib/akeyless/models/create_auth_method_oci_output.rb +214 -0
- data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/create_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_linked_target.rb +11 -1
- data/lib/akeyless/models/create_role.rb +21 -1
- data/lib/akeyless/models/create_rotated_secret.rb +35 -2
- data/lib/akeyless/models/create_secret.rb +11 -1
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +9 -9
- data/lib/akeyless/models/gateway_create_migration.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +23 -1
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +23 -1
- data/lib/akeyless/models/generate_csr.rb +1 -1
- data/lib/akeyless/models/gw_cluster_identity.rb +10 -1
- data/lib/akeyless/models/import_passwords.rb +13 -4
- data/lib/akeyless/models/import_passwords_output.rb +13 -4
- data/lib/akeyless/models/item_version.rb +10 -1
- data/lib/akeyless/models/oci_access_rules.rb +226 -0
- data/lib/akeyless/models/provision_certificate.rb +275 -0
- data/lib/akeyless/models/provision_certificate_output.rb +243 -0
- data/lib/akeyless/models/renew_certificate.rb +267 -0
- data/lib/akeyless/models/renew_certificate_output.rb +259 -0
- data/lib/akeyless/models/secure_remote_access.rb +12 -1
- data/lib/akeyless/models/server_inventory_payload.rb +12 -1
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sign_data_with_classic_key.rb +13 -1
- data/lib/akeyless/models/sign_ec_dsa.rb +24 -4
- data/lib/akeyless/models/sign_pkcs1.rb +44 -4
- data/lib/akeyless/models/sign_pkcs1_output.rb +2 -4
- data/lib/akeyless/models/sign_rsa_ssa_pss.rb +24 -4
- data/lib/akeyless/models/static_secret_details_info.rb +10 -1
- data/lib/akeyless/models/target_item_version.rb +10 -1
- data/lib/akeyless/models/update_auth_method.rb +11 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -2
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/update_auth_method_oci.rb +369 -0
- data/lib/akeyless/models/update_auth_method_oci_output.rb +214 -0
- data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/update_certificate_value.rb +11 -1
- data/lib/akeyless/models/update_item.rb +32 -1
- data/lib/akeyless/models/update_linked_target.rb +11 -1
- data/lib/akeyless/models/update_role.rb +21 -1
- data/lib/akeyless/models/update_secret_val.rb +11 -1
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +8 -8
- data/lib/akeyless/models/verify_ec_dsa.rb +24 -4
- data/lib/akeyless/models/verify_pkcs1.rb +44 -4
- data/lib/akeyless/models/verify_rsa_ssa_pss.rb +24 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +10 -0
- data/spec/models/certificate_version_info_spec.rb +48 -0
- data/spec/models/create_auth_method_oci_output_spec.rb +36 -0
- data/spec/models/create_auth_method_oci_spec.rb +102 -0
- data/spec/models/oci_access_rules_spec.rb +42 -0
- data/spec/models/provision_certificate_output_spec.rb +54 -0
- data/spec/models/provision_certificate_spec.rb +66 -0
- data/spec/models/renew_certificate_output_spec.rb +66 -0
- data/spec/models/renew_certificate_spec.rb +66 -0
- data/spec/models/update_auth_method_oci_output_spec.rb +36 -0
- data/spec/models/update_auth_method_oci_spec.rb +108 -0
- metadata +43 -3
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
# for personal password manager
|
|
19
19
|
attr_accessor :accessibility
|
|
20
20
|
|
|
21
|
+
# Trigger an event when a secret value changed [true/false] (Relevant only for Static Secret)
|
|
22
|
+
attr_accessor :change_event
|
|
23
|
+
|
|
21
24
|
# For Password Management use, additional fields
|
|
22
25
|
attr_accessor :custom_field
|
|
23
26
|
|
|
@@ -97,6 +100,7 @@ module Akeyless
|
|
|
97
100
|
def self.attribute_map
|
|
98
101
|
{
|
|
99
102
|
:'accessibility' => :'accessibility',
|
|
103
|
+
:'change_event' => :'change-event',
|
|
100
104
|
:'custom_field' => :'custom-field',
|
|
101
105
|
:'delete_protection' => :'delete_protection',
|
|
102
106
|
:'description' => :'description',
|
|
@@ -134,6 +138,7 @@ module Akeyless
|
|
|
134
138
|
def self.openapi_types
|
|
135
139
|
{
|
|
136
140
|
:'accessibility' => :'String',
|
|
141
|
+
:'change_event' => :'String',
|
|
137
142
|
:'custom_field' => :'Hash<String, String>',
|
|
138
143
|
:'delete_protection' => :'String',
|
|
139
144
|
:'description' => :'String',
|
|
@@ -189,6 +194,10 @@ module Akeyless
|
|
|
189
194
|
self.accessibility = 'regular'
|
|
190
195
|
end
|
|
191
196
|
|
|
197
|
+
if attributes.key?(:'change_event')
|
|
198
|
+
self.change_event = attributes[:'change_event']
|
|
199
|
+
end
|
|
200
|
+
|
|
192
201
|
if attributes.key?(:'custom_field')
|
|
193
202
|
if (value = attributes[:'custom_field']).is_a?(Hash)
|
|
194
203
|
self.custom_field = value
|
|
@@ -341,6 +350,7 @@ module Akeyless
|
|
|
341
350
|
return true if self.equal?(o)
|
|
342
351
|
self.class == o.class &&
|
|
343
352
|
accessibility == o.accessibility &&
|
|
353
|
+
change_event == o.change_event &&
|
|
344
354
|
custom_field == o.custom_field &&
|
|
345
355
|
delete_protection == o.delete_protection &&
|
|
346
356
|
description == o.description &&
|
|
@@ -377,7 +387,7 @@ module Akeyless
|
|
|
377
387
|
# Calculates hash code according to all attributes.
|
|
378
388
|
# @return [Integer] Hash code
|
|
379
389
|
def hash
|
|
380
|
-
[accessibility, custom_field, delete_protection, description, inject_url, json, metadata, multiline_value, name, password, protection_key, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_user, secure_access_ssh_creds, secure_access_ssh_user, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, token, type, uid_token, username, value].hash
|
|
390
|
+
[accessibility, change_event, custom_field, delete_protection, description, inject_url, json, metadata, multiline_value, name, password, protection_key, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_user, secure_access_ssh_creds, secure_access_ssh_user, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, token, type, uid_token, username, value].hash
|
|
381
391
|
end
|
|
382
392
|
|
|
383
393
|
# Builds the object from hash
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class CreateSSHCertIssuer
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :provider_type
|
|
19
19
|
|
|
20
20
|
# Users allowed to fetch the certificate, e.g root,ubuntu
|
|
21
21
|
attr_accessor :allowed_users
|
|
@@ -29,7 +29,7 @@ module Akeyless
|
|
|
29
29
|
# Signed certificates with extensions, e.g permit-port-forwarding=\\\"\\\"
|
|
30
30
|
attr_accessor :extensions
|
|
31
31
|
|
|
32
|
-
# Host provider type [explicit/target]
|
|
32
|
+
# Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret
|
|
33
33
|
attr_accessor :host_provider
|
|
34
34
|
|
|
35
35
|
# Set output format to JSON
|
|
@@ -68,7 +68,7 @@ module Akeyless
|
|
|
68
68
|
# List of the tags attached to this key
|
|
69
69
|
attr_accessor :tag
|
|
70
70
|
|
|
71
|
-
# A list of
|
|
71
|
+
# A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times
|
|
72
72
|
attr_accessor :target
|
|
73
73
|
|
|
74
74
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -83,7 +83,7 @@ module Akeyless
|
|
|
83
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
84
84
|
def self.attribute_map
|
|
85
85
|
{
|
|
86
|
-
:'
|
|
86
|
+
:'provider_type' => :'ProviderType',
|
|
87
87
|
:'allowed_users' => :'allowed-users',
|
|
88
88
|
:'delete_protection' => :'delete_protection',
|
|
89
89
|
:'description' => :'description',
|
|
@@ -116,7 +116,7 @@ module Akeyless
|
|
|
116
116
|
# Attribute type mapping.
|
|
117
117
|
def self.openapi_types
|
|
118
118
|
{
|
|
119
|
-
:'
|
|
119
|
+
:'provider_type' => :'String',
|
|
120
120
|
:'allowed_users' => :'String',
|
|
121
121
|
:'delete_protection' => :'String',
|
|
122
122
|
:'description' => :'String',
|
|
@@ -162,8 +162,8 @@ module Akeyless
|
|
|
162
162
|
h[k.to_sym] = v
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
if attributes.key?(:'
|
|
166
|
-
self.
|
|
165
|
+
if attributes.key?(:'provider_type')
|
|
166
|
+
self.provider_type = attributes[:'provider_type']
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
if attributes.key?(:'allowed_users')
|
|
@@ -311,7 +311,7 @@ module Akeyless
|
|
|
311
311
|
def ==(o)
|
|
312
312
|
return true if self.equal?(o)
|
|
313
313
|
self.class == o.class &&
|
|
314
|
-
|
|
314
|
+
provider_type == o.provider_type &&
|
|
315
315
|
allowed_users == o.allowed_users &&
|
|
316
316
|
delete_protection == o.delete_protection &&
|
|
317
317
|
description == o.description &&
|
|
@@ -344,7 +344,7 @@ module Akeyless
|
|
|
344
344
|
# Calculates hash code according to all attributes.
|
|
345
345
|
# @return [Integer] Hash code
|
|
346
346
|
def hash
|
|
347
|
-
[
|
|
347
|
+
[provider_type, allowed_users, delete_protection, description, extensions, host_provider, json, metadata, name, principals, secure_access_bastion_api, secure_access_bastion_ssh, secure_access_enable, secure_access_host, secure_access_ssh_creds_user, secure_access_use_internal_bastion, signer_key_name, tag, target, token, ttl, uid_token].hash
|
|
348
348
|
end
|
|
349
349
|
|
|
350
350
|
# Builds the object from hash
|
|
@@ -181,6 +181,9 @@ module Akeyless
|
|
|
181
181
|
# SSH, Windows or Linked Target Name. (Relevant only for Server Inventory migration)
|
|
182
182
|
attr_accessor :si_target_name
|
|
183
183
|
|
|
184
|
+
# Comma-separated list of groups to migrate users from. If empty, all users from all groups will be migrated (Relevant only for Server Inventory migration)
|
|
185
|
+
attr_accessor :si_user_groups
|
|
186
|
+
|
|
184
187
|
# Comma-separated list of Local Users which should not be migrated (Relevant only for Server Inventory migration)
|
|
185
188
|
attr_accessor :si_users_ignore
|
|
186
189
|
|
|
@@ -257,6 +260,7 @@ module Akeyless
|
|
|
257
260
|
:'si_rotation_interval' => :'si-rotation-interval',
|
|
258
261
|
:'si_sra_enable_rdp' => :'si-sra-enable-rdp',
|
|
259
262
|
:'si_target_name' => :'si-target-name',
|
|
263
|
+
:'si_user_groups' => :'si-user-groups',
|
|
260
264
|
:'si_users_ignore' => :'si-users-ignore',
|
|
261
265
|
:'si_users_path_template' => :'si-users-path-template',
|
|
262
266
|
:'target_location' => :'target-location',
|
|
@@ -329,6 +333,7 @@ module Akeyless
|
|
|
329
333
|
:'si_rotation_interval' => :'Integer',
|
|
330
334
|
:'si_sra_enable_rdp' => :'String',
|
|
331
335
|
:'si_target_name' => :'String',
|
|
336
|
+
:'si_user_groups' => :'String',
|
|
332
337
|
:'si_users_ignore' => :'String',
|
|
333
338
|
:'si_users_path_template' => :'String',
|
|
334
339
|
:'target_location' => :'String',
|
|
@@ -613,6 +618,10 @@ module Akeyless
|
|
|
613
618
|
self.si_target_name = nil
|
|
614
619
|
end
|
|
615
620
|
|
|
621
|
+
if attributes.key?(:'si_user_groups')
|
|
622
|
+
self.si_user_groups = attributes[:'si_user_groups']
|
|
623
|
+
end
|
|
624
|
+
|
|
616
625
|
if attributes.key?(:'si_users_ignore')
|
|
617
626
|
self.si_users_ignore = attributes[:'si_users_ignore']
|
|
618
627
|
end
|
|
@@ -737,6 +746,7 @@ module Akeyless
|
|
|
737
746
|
si_rotation_interval == o.si_rotation_interval &&
|
|
738
747
|
si_sra_enable_rdp == o.si_sra_enable_rdp &&
|
|
739
748
|
si_target_name == o.si_target_name &&
|
|
749
|
+
si_user_groups == o.si_user_groups &&
|
|
740
750
|
si_users_ignore == o.si_users_ignore &&
|
|
741
751
|
si_users_path_template == o.si_users_path_template &&
|
|
742
752
|
target_location == o.target_location &&
|
|
@@ -754,7 +764,7 @@ module Akeyless
|
|
|
754
764
|
# Calculates hash code according to all attributes.
|
|
755
765
|
# @return [Integer] Hash code
|
|
756
766
|
def hash
|
|
757
|
-
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, ad_discovery_types, ad_os_filter, ad_ssh_port, ad_targets_type, ad_winrm_over_http, ad_winrm_port, ad_auto_rotate, ad_computer_base_dn, ad_discover_local_users, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_target_name, ad_targets_path_template, ad_user_base_dn, ad_user_groups, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_users_ignore, si_users_path_template, target_location, token, type, uid_token].hash
|
|
767
|
+
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, ad_discovery_types, ad_os_filter, ad_ssh_port, ad_targets_type, ad_winrm_over_http, ad_winrm_port, ad_auto_rotate, ad_computer_base_dn, ad_discover_local_users, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_target_name, ad_targets_path_template, ad_user_base_dn, ad_user_groups, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, type, uid_token].hash
|
|
758
768
|
end
|
|
759
769
|
|
|
760
770
|
# Builds the object from hash
|
|
@@ -43,6 +43,12 @@ module Akeyless
|
|
|
43
43
|
# Dynamic producer encryption key
|
|
44
44
|
attr_accessor :producer_encryption_key_name
|
|
45
45
|
|
|
46
|
+
# Enable/Disable SSL [true/false]
|
|
47
|
+
attr_accessor :ssl
|
|
48
|
+
|
|
49
|
+
# SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
|
|
50
|
+
attr_accessor :ssl_certificate
|
|
51
|
+
|
|
46
52
|
# Add tags attached to this object
|
|
47
53
|
attr_accessor :tags
|
|
48
54
|
|
|
@@ -70,6 +76,8 @@ module Akeyless
|
|
|
70
76
|
:'json' => :'json',
|
|
71
77
|
:'name' => :'name',
|
|
72
78
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
79
|
+
:'ssl' => :'ssl',
|
|
80
|
+
:'ssl_certificate' => :'ssl-certificate',
|
|
73
81
|
:'tags' => :'tags',
|
|
74
82
|
:'target_name' => :'target-name',
|
|
75
83
|
:'token' => :'token',
|
|
@@ -95,6 +103,8 @@ module Akeyless
|
|
|
95
103
|
:'json' => :'Boolean',
|
|
96
104
|
:'name' => :'String',
|
|
97
105
|
:'producer_encryption_key_name' => :'String',
|
|
106
|
+
:'ssl' => :'Boolean',
|
|
107
|
+
:'ssl_certificate' => :'String',
|
|
98
108
|
:'tags' => :'Array<String>',
|
|
99
109
|
:'target_name' => :'String',
|
|
100
110
|
:'token' => :'String',
|
|
@@ -166,6 +176,16 @@ module Akeyless
|
|
|
166
176
|
self.producer_encryption_key_name = attributes[:'producer_encryption_key_name']
|
|
167
177
|
end
|
|
168
178
|
|
|
179
|
+
if attributes.key?(:'ssl')
|
|
180
|
+
self.ssl = attributes[:'ssl']
|
|
181
|
+
else
|
|
182
|
+
self.ssl = false
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
if attributes.key?(:'ssl_certificate')
|
|
186
|
+
self.ssl_certificate = attributes[:'ssl_certificate']
|
|
187
|
+
end
|
|
188
|
+
|
|
169
189
|
if attributes.key?(:'tags')
|
|
170
190
|
if (value = attributes[:'tags']).is_a?(Array)
|
|
171
191
|
self.tags = value
|
|
@@ -225,6 +245,8 @@ module Akeyless
|
|
|
225
245
|
json == o.json &&
|
|
226
246
|
name == o.name &&
|
|
227
247
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
248
|
+
ssl == o.ssl &&
|
|
249
|
+
ssl_certificate == o.ssl_certificate &&
|
|
228
250
|
tags == o.tags &&
|
|
229
251
|
target_name == o.target_name &&
|
|
230
252
|
token == o.token &&
|
|
@@ -241,7 +263,7 @@ module Akeyless
|
|
|
241
263
|
# Calculates hash code according to all attributes.
|
|
242
264
|
# @return [Integer] Hash code
|
|
243
265
|
def hash
|
|
244
|
-
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
266
|
+
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
|
245
267
|
end
|
|
246
268
|
|
|
247
269
|
# Builds the object from hash
|
|
@@ -25,6 +25,9 @@ module Akeyless
|
|
|
25
25
|
# API key to rotate (relevant only for rotator-type=api-key)
|
|
26
26
|
attr_accessor :api_key
|
|
27
27
|
|
|
28
|
+
# ApplicationId (used in azure)
|
|
29
|
+
attr_accessor :app_id
|
|
30
|
+
|
|
28
31
|
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
29
32
|
attr_accessor :auto_rotate
|
|
30
33
|
|
|
@@ -100,6 +103,7 @@ module Akeyless
|
|
|
100
103
|
:'add_tag' => :'add-tag',
|
|
101
104
|
:'api_id' => :'api-id',
|
|
102
105
|
:'api_key' => :'api-key',
|
|
106
|
+
:'app_id' => :'app-id',
|
|
103
107
|
:'auto_rotate' => :'auto-rotate',
|
|
104
108
|
:'custom_payload' => :'custom-payload',
|
|
105
109
|
:'delete_protection' => :'delete_protection',
|
|
@@ -137,6 +141,7 @@ module Akeyless
|
|
|
137
141
|
:'add_tag' => :'Array<String>',
|
|
138
142
|
:'api_id' => :'String',
|
|
139
143
|
:'api_key' => :'String',
|
|
144
|
+
:'app_id' => :'String',
|
|
140
145
|
:'auto_rotate' => :'String',
|
|
141
146
|
:'custom_payload' => :'String',
|
|
142
147
|
:'delete_protection' => :'String',
|
|
@@ -198,6 +203,10 @@ module Akeyless
|
|
|
198
203
|
self.api_key = attributes[:'api_key']
|
|
199
204
|
end
|
|
200
205
|
|
|
206
|
+
if attributes.key?(:'app_id')
|
|
207
|
+
self.app_id = attributes[:'app_id']
|
|
208
|
+
end
|
|
209
|
+
|
|
201
210
|
if attributes.key?(:'auto_rotate')
|
|
202
211
|
self.auto_rotate = attributes[:'auto_rotate']
|
|
203
212
|
end
|
|
@@ -340,6 +349,7 @@ module Akeyless
|
|
|
340
349
|
add_tag == o.add_tag &&
|
|
341
350
|
api_id == o.api_id &&
|
|
342
351
|
api_key == o.api_key &&
|
|
352
|
+
app_id == o.app_id &&
|
|
343
353
|
auto_rotate == o.auto_rotate &&
|
|
344
354
|
custom_payload == o.custom_payload &&
|
|
345
355
|
delete_protection == o.delete_protection &&
|
|
@@ -374,7 +384,7 @@ module Akeyless
|
|
|
374
384
|
# Calculates hash code according to all attributes.
|
|
375
385
|
# @return [Integer] Hash code
|
|
376
386
|
def hash
|
|
377
|
-
[add_tag, api_id, api_key, auto_rotate, custom_payload, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, keep_prev_version, key, name, new_metadata, new_name, new_version, rm_tag, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, token, type, uid_token].hash
|
|
387
|
+
[add_tag, api_id, api_key, app_id, auto_rotate, custom_payload, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, keep_prev_version, key, name, new_metadata, new_name, new_version, rm_tag, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, token, type, uid_token].hash
|
|
378
388
|
end
|
|
379
389
|
|
|
380
390
|
# Builds the object from hash
|
|
@@ -187,6 +187,9 @@ module Akeyless
|
|
|
187
187
|
# SSH, Windows or Linked Target Name. (Relevant only for Server Inventory migration)
|
|
188
188
|
attr_accessor :si_target_name
|
|
189
189
|
|
|
190
|
+
# Comma-separated list of groups to migrate users from. If empty, all users from all groups will be migrated (Relevant only for Server Inventory migration)
|
|
191
|
+
attr_accessor :si_user_groups
|
|
192
|
+
|
|
190
193
|
# Comma-separated list of Local Users which should not be migrated (Relevant only for Server Inventory migration)
|
|
191
194
|
attr_accessor :si_users_ignore
|
|
192
195
|
|
|
@@ -262,6 +265,7 @@ module Akeyless
|
|
|
262
265
|
:'si_rotation_interval' => :'si-rotation-interval',
|
|
263
266
|
:'si_sra_enable_rdp' => :'si-sra-enable-rdp',
|
|
264
267
|
:'si_target_name' => :'si-target-name',
|
|
268
|
+
:'si_user_groups' => :'si-user-groups',
|
|
265
269
|
:'si_users_ignore' => :'si-users-ignore',
|
|
266
270
|
:'si_users_path_template' => :'si-users-path-template',
|
|
267
271
|
:'target_location' => :'target-location',
|
|
@@ -335,6 +339,7 @@ module Akeyless
|
|
|
335
339
|
:'si_rotation_interval' => :'Integer',
|
|
336
340
|
:'si_sra_enable_rdp' => :'String',
|
|
337
341
|
:'si_target_name' => :'String',
|
|
342
|
+
:'si_user_groups' => :'String',
|
|
338
343
|
:'si_users_ignore' => :'String',
|
|
339
344
|
:'si_users_path_template' => :'String',
|
|
340
345
|
:'target_location' => :'String',
|
|
@@ -624,6 +629,10 @@ module Akeyless
|
|
|
624
629
|
self.si_target_name = nil
|
|
625
630
|
end
|
|
626
631
|
|
|
632
|
+
if attributes.key?(:'si_user_groups')
|
|
633
|
+
self.si_user_groups = attributes[:'si_user_groups']
|
|
634
|
+
end
|
|
635
|
+
|
|
627
636
|
if attributes.key?(:'si_users_ignore')
|
|
628
637
|
self.si_users_ignore = attributes[:'si_users_ignore']
|
|
629
638
|
end
|
|
@@ -741,6 +750,7 @@ module Akeyless
|
|
|
741
750
|
si_rotation_interval == o.si_rotation_interval &&
|
|
742
751
|
si_sra_enable_rdp == o.si_sra_enable_rdp &&
|
|
743
752
|
si_target_name == o.si_target_name &&
|
|
753
|
+
si_user_groups == o.si_user_groups &&
|
|
744
754
|
si_users_ignore == o.si_users_ignore &&
|
|
745
755
|
si_users_path_template == o.si_users_path_template &&
|
|
746
756
|
target_location == o.target_location &&
|
|
@@ -757,7 +767,7 @@ module Akeyless
|
|
|
757
767
|
# Calculates hash code according to all attributes.
|
|
758
768
|
# @return [Integer] Hash code
|
|
759
769
|
def hash
|
|
760
|
-
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, ad_discovery_types, ad_os_filter, ad_ssh_port, ad_targets_type, ad_winrm_over_http, ad_winrm_port, ad_auto_rotate, ad_computer_base_dn, ad_discover_local_users, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_target_name, ad_targets_path_template, ad_user_base_dn, ad_user_groups, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_users_ignore, si_users_path_template, target_location, token, uid_token].hash
|
|
770
|
+
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, ad_discovery_types, ad_os_filter, ad_ssh_port, ad_targets_type, ad_winrm_over_http, ad_winrm_port, ad_auto_rotate, ad_computer_base_dn, ad_discover_local_users, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_target_name, ad_targets_path_template, ad_user_base_dn, ad_user_groups, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, uid_token].hash
|
|
761
771
|
end
|
|
762
772
|
|
|
763
773
|
# Builds the object from hash
|
|
@@ -46,6 +46,12 @@ module Akeyless
|
|
|
46
46
|
# Dynamic producer encryption key
|
|
47
47
|
attr_accessor :producer_encryption_key_name
|
|
48
48
|
|
|
49
|
+
# Enable/Disable SSL [true/false]
|
|
50
|
+
attr_accessor :ssl
|
|
51
|
+
|
|
52
|
+
# SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
|
|
53
|
+
attr_accessor :ssl_certificate
|
|
54
|
+
|
|
49
55
|
# Add tags attached to this object
|
|
50
56
|
attr_accessor :tags
|
|
51
57
|
|
|
@@ -74,6 +80,8 @@ module Akeyless
|
|
|
74
80
|
:'name' => :'name',
|
|
75
81
|
:'new_name' => :'new-name',
|
|
76
82
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
83
|
+
:'ssl' => :'ssl',
|
|
84
|
+
:'ssl_certificate' => :'ssl-certificate',
|
|
77
85
|
:'tags' => :'tags',
|
|
78
86
|
:'target_name' => :'target-name',
|
|
79
87
|
:'token' => :'token',
|
|
@@ -100,6 +108,8 @@ module Akeyless
|
|
|
100
108
|
:'name' => :'String',
|
|
101
109
|
:'new_name' => :'String',
|
|
102
110
|
:'producer_encryption_key_name' => :'String',
|
|
111
|
+
:'ssl' => :'Boolean',
|
|
112
|
+
:'ssl_certificate' => :'String',
|
|
103
113
|
:'tags' => :'Array<String>',
|
|
104
114
|
:'target_name' => :'String',
|
|
105
115
|
:'token' => :'String',
|
|
@@ -175,6 +185,16 @@ module Akeyless
|
|
|
175
185
|
self.producer_encryption_key_name = attributes[:'producer_encryption_key_name']
|
|
176
186
|
end
|
|
177
187
|
|
|
188
|
+
if attributes.key?(:'ssl')
|
|
189
|
+
self.ssl = attributes[:'ssl']
|
|
190
|
+
else
|
|
191
|
+
self.ssl = false
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'ssl_certificate')
|
|
195
|
+
self.ssl_certificate = attributes[:'ssl_certificate']
|
|
196
|
+
end
|
|
197
|
+
|
|
178
198
|
if attributes.key?(:'tags')
|
|
179
199
|
if (value = attributes[:'tags']).is_a?(Array)
|
|
180
200
|
self.tags = value
|
|
@@ -235,6 +255,8 @@ module Akeyless
|
|
|
235
255
|
name == o.name &&
|
|
236
256
|
new_name == o.new_name &&
|
|
237
257
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
258
|
+
ssl == o.ssl &&
|
|
259
|
+
ssl_certificate == o.ssl_certificate &&
|
|
238
260
|
tags == o.tags &&
|
|
239
261
|
target_name == o.target_name &&
|
|
240
262
|
token == o.token &&
|
|
@@ -251,7 +273,7 @@ module Akeyless
|
|
|
251
273
|
# Calculates hash code according to all attributes.
|
|
252
274
|
# @return [Integer] Hash code
|
|
253
275
|
def hash
|
|
254
|
-
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
276
|
+
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, new_name, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
|
255
277
|
end
|
|
256
278
|
|
|
257
279
|
# Builds the object from hash
|
|
@@ -40,6 +40,8 @@ module Akeyless
|
|
|
40
40
|
|
|
41
41
|
attr_accessor :id
|
|
42
42
|
|
|
43
|
+
attr_accessor :serverless_type
|
|
44
|
+
|
|
43
45
|
attr_accessor :status
|
|
44
46
|
|
|
45
47
|
attr_accessor :status_description
|
|
@@ -59,6 +61,7 @@ module Akeyless
|
|
|
59
61
|
:'default_secret_location' => :'default_secret_location',
|
|
60
62
|
:'display_name' => :'display_name',
|
|
61
63
|
:'id' => :'id',
|
|
64
|
+
:'serverless_type' => :'serverless_type',
|
|
62
65
|
:'status' => :'status',
|
|
63
66
|
:'status_description' => :'status_description'
|
|
64
67
|
}
|
|
@@ -84,6 +87,7 @@ module Akeyless
|
|
|
84
87
|
:'default_secret_location' => :'String',
|
|
85
88
|
:'display_name' => :'String',
|
|
86
89
|
:'id' => :'Integer',
|
|
90
|
+
:'serverless_type' => :'String',
|
|
87
91
|
:'status' => :'String',
|
|
88
92
|
:'status_description' => :'String'
|
|
89
93
|
}
|
|
@@ -164,6 +168,10 @@ module Akeyless
|
|
|
164
168
|
self.id = attributes[:'id']
|
|
165
169
|
end
|
|
166
170
|
|
|
171
|
+
if attributes.key?(:'serverless_type')
|
|
172
|
+
self.serverless_type = attributes[:'serverless_type']
|
|
173
|
+
end
|
|
174
|
+
|
|
167
175
|
if attributes.key?(:'status')
|
|
168
176
|
self.status = attributes[:'status']
|
|
169
177
|
end
|
|
@@ -205,6 +213,7 @@ module Akeyless
|
|
|
205
213
|
default_secret_location == o.default_secret_location &&
|
|
206
214
|
display_name == o.display_name &&
|
|
207
215
|
id == o.id &&
|
|
216
|
+
serverless_type == o.serverless_type &&
|
|
208
217
|
status == o.status &&
|
|
209
218
|
status_description == o.status_description
|
|
210
219
|
end
|
|
@@ -218,7 +227,7 @@ module Akeyless
|
|
|
218
227
|
# Calculates hash code according to all attributes.
|
|
219
228
|
# @return [Integer] Hash code
|
|
220
229
|
def hash
|
|
221
|
-
[action_allowed, allowed, allowed_access_ids, cluster_name, cluster_url, current_gw, customer_fragment_ids, customer_fragments, default_protection_key_id, default_secret_location, display_name, id, status, status_description].hash
|
|
230
|
+
[action_allowed, allowed, allowed_access_ids, cluster_name, cluster_url, current_gw, customer_fragment_ids, customer_fragments, default_protection_key_id, default_secret_location, display_name, id, serverless_type, status, status_description].hash
|
|
222
231
|
end
|
|
223
232
|
|
|
224
233
|
# Builds the object from hash
|
|
@@ -40,6 +40,8 @@ module Akeyless
|
|
|
40
40
|
# The universal identity token, Required only for universal_identity authentication
|
|
41
41
|
attr_accessor :uid_token
|
|
42
42
|
|
|
43
|
+
attr_accessor :update_mode
|
|
44
|
+
|
|
43
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
44
46
|
def self.attribute_map
|
|
45
47
|
{
|
|
@@ -50,7 +52,8 @@ module Akeyless
|
|
|
50
52
|
:'protection_key' => :'protection_key',
|
|
51
53
|
:'target_folder' => :'target-folder',
|
|
52
54
|
:'token' => :'token',
|
|
53
|
-
:'uid_token' => :'uid-token'
|
|
55
|
+
:'uid_token' => :'uid-token',
|
|
56
|
+
:'update_mode' => :'update-mode'
|
|
54
57
|
}
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -69,7 +72,8 @@ module Akeyless
|
|
|
69
72
|
:'protection_key' => :'String',
|
|
70
73
|
:'target_folder' => :'String',
|
|
71
74
|
:'token' => :'String',
|
|
72
|
-
:'uid_token' => :'String'
|
|
75
|
+
:'uid_token' => :'String',
|
|
76
|
+
:'update_mode' => :'String'
|
|
73
77
|
}
|
|
74
78
|
end
|
|
75
79
|
|
|
@@ -135,6 +139,10 @@ module Akeyless
|
|
|
135
139
|
if attributes.key?(:'uid_token')
|
|
136
140
|
self.uid_token = attributes[:'uid_token']
|
|
137
141
|
end
|
|
142
|
+
|
|
143
|
+
if attributes.key?(:'update_mode')
|
|
144
|
+
self.update_mode = attributes[:'update_mode']
|
|
145
|
+
end
|
|
138
146
|
end
|
|
139
147
|
|
|
140
148
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -169,7 +177,8 @@ module Akeyless
|
|
|
169
177
|
protection_key == o.protection_key &&
|
|
170
178
|
target_folder == o.target_folder &&
|
|
171
179
|
token == o.token &&
|
|
172
|
-
uid_token == o.uid_token
|
|
180
|
+
uid_token == o.uid_token &&
|
|
181
|
+
update_mode == o.update_mode
|
|
173
182
|
end
|
|
174
183
|
|
|
175
184
|
# @see the `==` method
|
|
@@ -181,7 +190,7 @@ module Akeyless
|
|
|
181
190
|
# Calculates hash code according to all attributes.
|
|
182
191
|
# @return [Integer] Hash code
|
|
183
192
|
def hash
|
|
184
|
-
[accessibility, format, import_path, json, protection_key, target_folder, token, uid_token].hash
|
|
193
|
+
[accessibility, format, import_path, json, protection_key, target_folder, token, uid_token, update_mode].hash
|
|
185
194
|
end
|
|
186
195
|
|
|
187
196
|
# Builds the object from hash
|
|
@@ -21,12 +21,15 @@ module Akeyless
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :successfully_parsed
|
|
23
23
|
|
|
24
|
+
attr_accessor :updated
|
|
25
|
+
|
|
24
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
27
|
def self.attribute_map
|
|
26
28
|
{
|
|
27
29
|
:'imported' => :'imported',
|
|
28
30
|
:'passwords_in_file' => :'passwords_in_file',
|
|
29
|
-
:'successfully_parsed' => :'successfully_parsed'
|
|
31
|
+
:'successfully_parsed' => :'successfully_parsed',
|
|
32
|
+
:'updated' => :'updated'
|
|
30
33
|
}
|
|
31
34
|
end
|
|
32
35
|
|
|
@@ -40,7 +43,8 @@ module Akeyless
|
|
|
40
43
|
{
|
|
41
44
|
:'imported' => :'Integer',
|
|
42
45
|
:'passwords_in_file' => :'Integer',
|
|
43
|
-
:'successfully_parsed' => :'Integer'
|
|
46
|
+
:'successfully_parsed' => :'Integer',
|
|
47
|
+
:'updated' => :'Integer'
|
|
44
48
|
}
|
|
45
49
|
end
|
|
46
50
|
|
|
@@ -76,6 +80,10 @@ module Akeyless
|
|
|
76
80
|
if attributes.key?(:'successfully_parsed')
|
|
77
81
|
self.successfully_parsed = attributes[:'successfully_parsed']
|
|
78
82
|
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'updated')
|
|
85
|
+
self.updated = attributes[:'updated']
|
|
86
|
+
end
|
|
79
87
|
end
|
|
80
88
|
|
|
81
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -100,7 +108,8 @@ module Akeyless
|
|
|
100
108
|
self.class == o.class &&
|
|
101
109
|
imported == o.imported &&
|
|
102
110
|
passwords_in_file == o.passwords_in_file &&
|
|
103
|
-
successfully_parsed == o.successfully_parsed
|
|
111
|
+
successfully_parsed == o.successfully_parsed &&
|
|
112
|
+
updated == o.updated
|
|
104
113
|
end
|
|
105
114
|
|
|
106
115
|
# @see the `==` method
|
|
@@ -112,7 +121,7 @@ module Akeyless
|
|
|
112
121
|
# Calculates hash code according to all attributes.
|
|
113
122
|
# @return [Integer] Hash code
|
|
114
123
|
def hash
|
|
115
|
-
[imported, passwords_in_file, successfully_parsed].hash
|
|
124
|
+
[imported, passwords_in_file, successfully_parsed, updated].hash
|
|
116
125
|
end
|
|
117
126
|
|
|
118
127
|
# Builds the object from hash
|
|
@@ -19,6 +19,8 @@ module Akeyless
|
|
|
19
19
|
|
|
20
20
|
attr_accessor :access_date_display
|
|
21
21
|
|
|
22
|
+
attr_accessor :certificate_version_info
|
|
23
|
+
|
|
22
24
|
attr_accessor :creation_date
|
|
23
25
|
|
|
24
26
|
attr_accessor :customer_fragment_id
|
|
@@ -41,6 +43,7 @@ module Akeyless
|
|
|
41
43
|
{
|
|
42
44
|
:'access_date' => :'access_date',
|
|
43
45
|
:'access_date_display' => :'access_date_display',
|
|
46
|
+
:'certificate_version_info' => :'certificate_version_info',
|
|
44
47
|
:'creation_date' => :'creation_date',
|
|
45
48
|
:'customer_fragment_id' => :'customer_fragment_id',
|
|
46
49
|
:'deletion_date' => :'deletion_date',
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
|
62
65
|
{
|
|
63
66
|
:'access_date' => :'Time',
|
|
64
67
|
:'access_date_display' => :'String',
|
|
68
|
+
:'certificate_version_info' => :'CertificateVersionInfo',
|
|
65
69
|
:'creation_date' => :'Time',
|
|
66
70
|
:'customer_fragment_id' => :'String',
|
|
67
71
|
:'deletion_date' => :'Time',
|
|
@@ -102,6 +106,10 @@ module Akeyless
|
|
|
102
106
|
self.access_date_display = attributes[:'access_date_display']
|
|
103
107
|
end
|
|
104
108
|
|
|
109
|
+
if attributes.key?(:'certificate_version_info')
|
|
110
|
+
self.certificate_version_info = attributes[:'certificate_version_info']
|
|
111
|
+
end
|
|
112
|
+
|
|
105
113
|
if attributes.key?(:'creation_date')
|
|
106
114
|
self.creation_date = attributes[:'creation_date']
|
|
107
115
|
end
|
|
@@ -157,6 +165,7 @@ module Akeyless
|
|
|
157
165
|
self.class == o.class &&
|
|
158
166
|
access_date == o.access_date &&
|
|
159
167
|
access_date_display == o.access_date_display &&
|
|
168
|
+
certificate_version_info == o.certificate_version_info &&
|
|
160
169
|
creation_date == o.creation_date &&
|
|
161
170
|
customer_fragment_id == o.customer_fragment_id &&
|
|
162
171
|
deletion_date == o.deletion_date &&
|
|
@@ -176,7 +185,7 @@ module Akeyless
|
|
|
176
185
|
# Calculates hash code according to all attributes.
|
|
177
186
|
# @return [Integer] Hash code
|
|
178
187
|
def hash
|
|
179
|
-
[access_date, access_date_display, creation_date, customer_fragment_id, deletion_date, item_version_state, modification_date, protection_key_name, version, with_customer_fragment].hash
|
|
188
|
+
[access_date, access_date_display, certificate_version_info, creation_date, customer_fragment_id, deletion_date, item_version_state, modification_date, protection_key_name, version, with_customer_fragment].hash
|
|
180
189
|
end
|
|
181
190
|
|
|
182
191
|
# Builds the object from hash
|