akeyless 5.0.21 → 5.0.23
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 +35 -1
- data/docs/AccountGeneralSettings.md +6 -0
- data/docs/ActiveDirectoryPayload.md +6 -0
- data/docs/Auth.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
- data/docs/AwsStorage.md +2 -0
- data/docs/AzureADAccessRules.md +2 -0
- data/docs/AzureTargetDetails.md +2 -0
- data/docs/CertAccessRules.md +2 -0
- data/docs/CertificateChainInfo.md +2 -0
- data/docs/Configure.md +2 -0
- data/docs/ConjurMigration.md +20 -0
- data/docs/ConjurPayload.md +24 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
- data/docs/CreateAzureTarget.md +2 -0
- data/docs/CreateRotatedSecret.md +3 -1
- data/docs/CreateSecret.md +2 -0
- data/docs/CreateUSC.md +10 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DefaultAuthMethodSettings.md +20 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/DescribePermissions.md +1 -1
- data/docs/DigiCertTargetDetails.md +42 -0
- data/docs/EsmListSecretsOutput.md +3 -1
- data/docs/GatewayCreateMigration.md +19 -1
- data/docs/GatewayUpdateMigration.md +18 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
- data/docs/GeneralConfigPart.md +4 -0
- data/docs/GetPKICertificateOutput.md +2 -0
- data/docs/GithubMetadata.md +28 -0
- data/docs/GoogleTrustTargetDetails.md +42 -0
- data/docs/HTTPChallengeInfo.md +26 -0
- data/docs/HashiPayload.md +5 -1
- data/docs/IssuerOverviewInfo.md +22 -0
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ItemLockingSetting.md +20 -0
- data/docs/LockItem.md +28 -0
- data/docs/LockTarget.md +28 -0
- data/docs/LockingInfo.md +24 -0
- data/docs/MigrationStatusReplyObj.md +4 -0
- data/docs/MigrationsConfigPart.md +2 -0
- data/docs/NetappStorage.md +30 -0
- data/docs/ReverseRBAC.md +1 -1
- data/docs/RotatedSecretCreateAws.md +3 -1
- data/docs/RotatedSecretCreateAzure.md +3 -1
- data/docs/RotatedSecretCreateCustom.md +3 -1
- data/docs/RotatedSecretCreateLdap.md +3 -1
- data/docs/RotatedSecretCreateMongodb.md +3 -1
- data/docs/RotatedSecretCreateMssql.md +3 -1
- data/docs/RotatedSecretCreateMysql.md +3 -1
- data/docs/RotatedSecretCreateOracledb.md +3 -1
- data/docs/RotatedSecretCreatePostgresql.md +3 -1
- data/docs/RotatedSecretCreateRedshift.md +3 -1
- data/docs/RotatedSecretCreateSsh.md +3 -1
- data/docs/RotatedSecretCreateWindows.md +3 -1
- data/docs/RotatedSecretUpdateAws.md +3 -1
- data/docs/RotatedSecretUpdateAzure.md +3 -1
- data/docs/RotatedSecretUpdateCustom.md +3 -1
- data/docs/RotatedSecretUpdateLdap.md +3 -1
- data/docs/RotatedSecretUpdateMongodb.md +3 -1
- data/docs/RotatedSecretUpdateMssql.md +3 -1
- data/docs/RotatedSecretUpdateMysql.md +3 -1
- data/docs/RotatedSecretUpdateOracledb.md +3 -1
- data/docs/RotatedSecretUpdatePostgresql.md +3 -1
- data/docs/RotatedSecretUpdateRedshift.md +3 -1
- data/docs/RotatedSecretUpdateSsh.md +3 -1
- data/docs/RotatedSecretUpdateWindows.md +3 -1
- data/docs/SecretInfo.md +4 -0
- data/docs/SecureRemoteAccess.md +4 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SyncCounters.md +22 -0
- data/docs/Target.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDigiCert.md +50 -0
- data/docs/TargetCreateGoogleTrust.md +50 -0
- data/docs/TargetCreateLetsEncrypt.md +1 -1
- data/docs/TargetCreateSplunk.md +3 -1
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDigiCert.md +54 -0
- data/docs/TargetUpdateGoogleTrust.md +54 -0
- data/docs/TargetUpdateLetsEncrypt.md +1 -1
- data/docs/UniversalIdentityAccessRules.md +4 -0
- data/docs/UnlockItem.md +24 -0
- data/docs/UnlockTarget.md +24 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +4 -0
- data/docs/UpdateAzureTarget.md +2 -0
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UscCreate.md +2 -0
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscListSecretsOutput.md +3 -1
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +632 -2
- data/docs/ValidateCertificateChallenge.md +30 -0
- data/docs/ValidateCertificateChallengeOutput.md +24 -0
- data/docs/VaultAddress.md +20 -0
- data/docs/VaultAddressOutput.md +20 -0
- data/docs/WebBastionRdpRecord.md +2 -0
- data/lib/akeyless/api/v2_api.rb +640 -0
- data/lib/akeyless/models/account_general_settings.rb +28 -1
- data/lib/akeyless/models/active_directory_payload.rb +30 -1
- data/lib/akeyless/models/auth.rb +13 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +25 -1
- data/lib/akeyless/models/aws_storage.rb +10 -1
- data/lib/akeyless/models/azure_ad_access_rules.rb +11 -1
- data/lib/akeyless/models/azure_target_details.rb +10 -1
- data/lib/akeyless/models/cert_access_rules.rb +11 -1
- data/lib/akeyless/models/certificate_chain_info.rb +11 -1
- data/lib/akeyless/models/configure.rb +13 -1
- data/lib/akeyless/models/conjur_migration.rb +223 -0
- data/lib/akeyless/models/conjur_payload.rb +241 -0
- data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/create_azure_target.rb +13 -1
- data/lib/akeyless/models/create_rotated_secret.rb +12 -4
- data/lib/akeyless/models/create_secret.rb +11 -1
- data/lib/akeyless/models/create_usc.rb +54 -1
- data/lib/akeyless/models/default_auth_method_settings.rb +223 -0
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/describe_permissions.rb +1 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +333 -0
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/esm_list_secrets_output.rb +15 -4
- data/lib/akeyless/models/gateway_create_migration.rb +94 -2
- data/lib/akeyless/models/gateway_update_migration.rb +93 -1
- data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +11 -1
- data/lib/akeyless/models/general_config_part.rb +19 -1
- data/lib/akeyless/models/get_pki_certificate_output.rb +10 -1
- data/lib/akeyless/models/github_metadata.rb +259 -0
- data/lib/akeyless/models/google_trust_target_details.rb +335 -0
- data/lib/akeyless/models/hashi_payload.rb +22 -4
- data/lib/akeyless/models/http_challenge_info.rb +251 -0
- data/lib/akeyless/models/issuer_overview_info.rb +232 -0
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/item_locking_setting.rb +223 -0
- data/lib/akeyless/models/lock_item.rb +274 -0
- data/lib/akeyless/models/lock_target.rb +274 -0
- data/lib/akeyless/models/locking_info.rb +243 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +19 -1
- data/lib/akeyless/models/migrations_config_part.rb +12 -1
- data/lib/akeyless/models/netapp_storage.rb +268 -0
- data/lib/akeyless/models/reverse_rbac.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_custom.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_windows.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_windows.rb +12 -4
- data/lib/akeyless/models/secret_info.rb +19 -1
- data/lib/akeyless/models/secure_remote_access.rb +19 -1
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sync_counters.rb +233 -0
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/target_create_azure.rb +13 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +398 -0
- data/lib/akeyless/models/target_create_google_trust.rb +398 -0
- data/lib/akeyless/models/target_create_lets_encrypt.rb +7 -0
- data/lib/akeyless/models/target_create_splunk.rb +11 -1
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_azure.rb +13 -1
- data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
- data/lib/akeyless/models/target_update_google_trust.rb +418 -0
- data/lib/akeyless/models/target_update_lets_encrypt.rb +7 -0
- data/lib/akeyless/models/universal_identity_access_rules.rb +19 -1
- data/lib/akeyless/models/unlock_item.rb +254 -0
- data/lib/akeyless/models/unlock_target.rb +254 -0
- data/lib/akeyless/models/update_account_settings.rb +21 -1
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/update_azure_target.rb +13 -1
- data/lib/akeyless/models/update_item.rb +12 -4
- data/lib/akeyless/models/update_rotated_secret.rb +12 -4
- data/lib/akeyless/models/usc_create.rb +10 -1
- data/lib/akeyless/models/usc_delete.rb +20 -1
- data/lib/akeyless/models/usc_get.rb +20 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +15 -4
- data/lib/akeyless/models/usc_update.rb +20 -1
- data/lib/akeyless/models/validate_certificate_challenge.rb +279 -0
- data/lib/akeyless/models/validate_certificate_challenge_output.rb +242 -0
- data/lib/akeyless/models/vault_address.rb +227 -0
- data/lib/akeyless/models/vault_address_output.rb +223 -0
- data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +24 -0
- data/spec/models/conjur_migration_spec.rb +42 -0
- data/spec/models/conjur_payload_spec.rb +54 -0
- data/spec/models/default_auth_method_settings_spec.rb +42 -0
- data/spec/models/digi_cert_target_details_spec.rb +108 -0
- data/spec/models/github_metadata_spec.rb +66 -0
- data/spec/models/google_trust_target_details_spec.rb +108 -0
- data/spec/models/http_challenge_info_spec.rb +60 -0
- data/spec/models/issuer_overview_info_spec.rb +48 -0
- data/spec/models/item_locking_setting_spec.rb +42 -0
- data/spec/models/lock_item_spec.rb +66 -0
- data/spec/models/lock_target_spec.rb +66 -0
- data/spec/models/locking_info_spec.rb +54 -0
- data/spec/models/netapp_storage_spec.rb +72 -0
- data/spec/models/sync_counters_spec.rb +48 -0
- data/spec/models/target_create_digi_cert_spec.rb +132 -0
- data/spec/models/target_create_google_trust_spec.rb +132 -0
- data/spec/models/target_update_digi_cert_spec.rb +144 -0
- data/spec/models/target_update_google_trust_spec.rb +144 -0
- data/spec/models/unlock_item_spec.rb +54 -0
- data/spec/models/unlock_target_spec.rb +54 -0
- data/spec/models/validate_certificate_challenge_output_spec.rb +54 -0
- data/spec/models/validate_certificate_challenge_spec.rb +72 -0
- data/spec/models/vault_address_output_spec.rb +42 -0
- data/spec/models/vault_address_spec.rb +42 -0
- metadata +1233 -1134
|
@@ -17,10 +17,13 @@ module Akeyless
|
|
|
17
17
|
class EsmListSecretsOutput
|
|
18
18
|
attr_accessor :secrets_list
|
|
19
19
|
|
|
20
|
+
attr_accessor :warnings
|
|
21
|
+
|
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
23
|
def self.attribute_map
|
|
22
24
|
{
|
|
23
|
-
:'secrets_list' => :'secrets_list'
|
|
25
|
+
:'secrets_list' => :'secrets_list',
|
|
26
|
+
:'warnings' => :'warnings'
|
|
24
27
|
}
|
|
25
28
|
end
|
|
26
29
|
|
|
@@ -32,7 +35,8 @@ module Akeyless
|
|
|
32
35
|
# Attribute type mapping.
|
|
33
36
|
def self.openapi_types
|
|
34
37
|
{
|
|
35
|
-
:'secrets_list' => :'Array<SecretInfo>'
|
|
38
|
+
:'secrets_list' => :'Array<SecretInfo>',
|
|
39
|
+
:'warnings' => :'Array<String>'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
38
42
|
|
|
@@ -62,6 +66,12 @@ module Akeyless
|
|
|
62
66
|
self.secrets_list = value
|
|
63
67
|
end
|
|
64
68
|
end
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'warnings')
|
|
71
|
+
if (value = attributes[:'warnings']).is_a?(Array)
|
|
72
|
+
self.warnings = value
|
|
73
|
+
end
|
|
74
|
+
end
|
|
65
75
|
end
|
|
66
76
|
|
|
67
77
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -84,7 +94,8 @@ module Akeyless
|
|
|
84
94
|
def ==(o)
|
|
85
95
|
return true if self.equal?(o)
|
|
86
96
|
self.class == o.class &&
|
|
87
|
-
secrets_list == o.secrets_list
|
|
97
|
+
secrets_list == o.secrets_list &&
|
|
98
|
+
warnings == o.warnings
|
|
88
99
|
end
|
|
89
100
|
|
|
90
101
|
# @see the `==` method
|
|
@@ -96,7 +107,7 @@ module Akeyless
|
|
|
96
107
|
# Calculates hash code according to all attributes.
|
|
97
108
|
# @return [Integer] Hash code
|
|
98
109
|
def hash
|
|
99
|
-
[secrets_list].hash
|
|
110
|
+
[secrets_list, warnings].hash
|
|
100
111
|
end
|
|
101
112
|
|
|
102
113
|
# Builds the object from hash
|
|
@@ -21,6 +21,12 @@ module Akeyless
|
|
|
21
21
|
# Enable/Disable automatic/recurrent rotation for migrated secrets. Default is false: only manual rotation is allowed for migrated secrets. If set to true, this command should be combined with --ad-rotation-interval and --ad-rotation-hour parameters (Relevant only for Active Directory migration)
|
|
22
22
|
attr_accessor :ad_auto_rotate
|
|
23
23
|
|
|
24
|
+
# How many days before the expiration of discovered certificates would you like to be notified (Relevant only for Active Directory migration with certificate discovery enabled)
|
|
25
|
+
attr_accessor :ad_cert_expiration_event_in
|
|
26
|
+
|
|
27
|
+
# Path location template for migrating certificates e.g.: /Certificates/{{COMMON_NAME}} (Relevant only for Active Directory migration with certificate discovery enabled)
|
|
28
|
+
attr_accessor :ad_certificates_path_template
|
|
29
|
+
|
|
24
30
|
# Distinguished Name of Computer objects (servers) to search in Active Directory e.g.: CN=Computers,DC=example,DC=com (Relevant only for Active Directory migration)
|
|
25
31
|
attr_accessor :ad_computer_base_dn
|
|
26
32
|
|
|
@@ -87,6 +93,9 @@ module Akeyless
|
|
|
87
93
|
# Enable/Disable discovery of local users from each domain server and migrate them as SSH/Windows Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration) Deprecated: use AdDiscoverTypes
|
|
88
94
|
attr_accessor :ad_discover_local_users
|
|
89
95
|
|
|
96
|
+
# Enable AI-assisted certificate discovery (only when AI Insight is enabled on the Gateway)
|
|
97
|
+
attr_accessor :ai_certificate_discovery
|
|
98
|
+
|
|
90
99
|
# AWS Secret Access Key (relevant only for AWS migration)
|
|
91
100
|
attr_accessor :aws_key
|
|
92
101
|
|
|
@@ -108,6 +117,21 @@ module Akeyless
|
|
|
108
117
|
# Azure Key Vault Access tenant ID (relevant only for Azure Key Vault migration)
|
|
109
118
|
attr_accessor :azure_tenant_id
|
|
110
119
|
|
|
120
|
+
# Conjur account name set on your Conjur server (relevant only for Conjur migration).
|
|
121
|
+
attr_accessor :conjur_account
|
|
122
|
+
|
|
123
|
+
# Conjur API Key for the specified user (relevant only for Conjur migration).
|
|
124
|
+
attr_accessor :conjur_api_key
|
|
125
|
+
|
|
126
|
+
# Conjur server base URL (relevant only for Conjur migration). If conjur-url is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJUR_SSL_CERT_PATH to its path.
|
|
127
|
+
attr_accessor :conjur_url
|
|
128
|
+
|
|
129
|
+
# Conjur username used to authenticate (relevant only for Conjur migration).
|
|
130
|
+
attr_accessor :conjur_username
|
|
131
|
+
|
|
132
|
+
# Delete the secret from the remote target as well, relevant only when usc-name is not empty (relevant only for HasiCorp Vault migration)
|
|
133
|
+
attr_accessor :delete_remote
|
|
134
|
+
|
|
111
135
|
# How many days before the expiration of the certificate would you like to be notified.
|
|
112
136
|
attr_accessor :expiration_event_in
|
|
113
137
|
|
|
@@ -201,12 +225,15 @@ module Akeyless
|
|
|
201
225
|
# Authentication token (see `/auth` and `/configure`)
|
|
202
226
|
attr_accessor :token
|
|
203
227
|
|
|
204
|
-
# Migration type (hashi/aws/gcp/k8s/azure_kv/active_directory/server_inventory/certificate)
|
|
228
|
+
# Migration type (hashi/aws/gcp/k8s/azure_kv/conjur/active_directory/server_inventory/certificate)
|
|
205
229
|
attr_accessor :type
|
|
206
230
|
|
|
207
231
|
# The universal identity token, Required only for universal_identity authentication
|
|
208
232
|
attr_accessor :uid_token
|
|
209
233
|
|
|
234
|
+
# Universal Secret Connector name
|
|
235
|
+
attr_accessor :usc_name
|
|
236
|
+
|
|
210
237
|
# Use the GW's Cloud IAM
|
|
211
238
|
attr_accessor :use_gw_cloud_identity
|
|
212
239
|
|
|
@@ -215,6 +242,8 @@ module Akeyless
|
|
|
215
242
|
{
|
|
216
243
|
:'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
|
|
217
244
|
:'ad_auto_rotate' => :'ad-auto-rotate',
|
|
245
|
+
:'ad_cert_expiration_event_in' => :'ad-cert-expiration-event-in',
|
|
246
|
+
:'ad_certificates_path_template' => :'ad-certificates-path-template',
|
|
218
247
|
:'ad_computer_base_dn' => :'ad-computer-base-dn',
|
|
219
248
|
:'ad_discover_iis_app' => :'ad-discover-iis-app',
|
|
220
249
|
:'ad_discover_services' => :'ad-discover-services',
|
|
@@ -237,6 +266,7 @@ module Akeyless
|
|
|
237
266
|
:'ad_winrm_over_http' => :'ad-winrm-over-http',
|
|
238
267
|
:'ad_winrm_port' => :'ad-winrm-port',
|
|
239
268
|
:'ad_discover_local_users' => :'ad_discover_local_users',
|
|
269
|
+
:'ai_certificate_discovery' => :'ai-certificate-discovery',
|
|
240
270
|
:'aws_key' => :'aws-key',
|
|
241
271
|
:'aws_key_id' => :'aws-key-id',
|
|
242
272
|
:'aws_region' => :'aws-region',
|
|
@@ -244,6 +274,11 @@ module Akeyless
|
|
|
244
274
|
:'azure_kv_name' => :'azure-kv-name',
|
|
245
275
|
:'azure_secret' => :'azure-secret',
|
|
246
276
|
:'azure_tenant_id' => :'azure-tenant-id',
|
|
277
|
+
:'conjur_account' => :'conjur-account',
|
|
278
|
+
:'conjur_api_key' => :'conjur-api-key',
|
|
279
|
+
:'conjur_url' => :'conjur-url',
|
|
280
|
+
:'conjur_username' => :'conjur-username',
|
|
281
|
+
:'delete_remote' => :'delete-remote',
|
|
247
282
|
:'expiration_event_in' => :'expiration-event-in',
|
|
248
283
|
:'gcp_key' => :'gcp-key',
|
|
249
284
|
:'gcp_project_id' => :'gcp-project-id',
|
|
@@ -277,6 +312,7 @@ module Akeyless
|
|
|
277
312
|
:'token' => :'token',
|
|
278
313
|
:'type' => :'type',
|
|
279
314
|
:'uid_token' => :'uid-token',
|
|
315
|
+
:'usc_name' => :'usc-name',
|
|
280
316
|
:'use_gw_cloud_identity' => :'use-gw-cloud-identity'
|
|
281
317
|
}
|
|
282
318
|
end
|
|
@@ -291,6 +327,8 @@ module Akeyless
|
|
|
291
327
|
{
|
|
292
328
|
:'service_account_key_decoded' => :'String',
|
|
293
329
|
:'ad_auto_rotate' => :'String',
|
|
330
|
+
:'ad_cert_expiration_event_in' => :'Array<String>',
|
|
331
|
+
:'ad_certificates_path_template' => :'String',
|
|
294
332
|
:'ad_computer_base_dn' => :'String',
|
|
295
333
|
:'ad_discover_iis_app' => :'String',
|
|
296
334
|
:'ad_discover_services' => :'String',
|
|
@@ -313,6 +351,7 @@ module Akeyless
|
|
|
313
351
|
:'ad_winrm_over_http' => :'String',
|
|
314
352
|
:'ad_winrm_port' => :'String',
|
|
315
353
|
:'ad_discover_local_users' => :'String',
|
|
354
|
+
:'ai_certificate_discovery' => :'String',
|
|
316
355
|
:'aws_key' => :'String',
|
|
317
356
|
:'aws_key_id' => :'String',
|
|
318
357
|
:'aws_region' => :'String',
|
|
@@ -320,6 +359,11 @@ module Akeyless
|
|
|
320
359
|
:'azure_kv_name' => :'String',
|
|
321
360
|
:'azure_secret' => :'String',
|
|
322
361
|
:'azure_tenant_id' => :'String',
|
|
362
|
+
:'conjur_account' => :'String',
|
|
363
|
+
:'conjur_api_key' => :'String',
|
|
364
|
+
:'conjur_url' => :'String',
|
|
365
|
+
:'conjur_username' => :'String',
|
|
366
|
+
:'delete_remote' => :'Boolean',
|
|
323
367
|
:'expiration_event_in' => :'Array<String>',
|
|
324
368
|
:'gcp_key' => :'String',
|
|
325
369
|
:'gcp_project_id' => :'String',
|
|
@@ -353,6 +397,7 @@ module Akeyless
|
|
|
353
397
|
:'token' => :'String',
|
|
354
398
|
:'type' => :'String',
|
|
355
399
|
:'uid_token' => :'String',
|
|
400
|
+
:'usc_name' => :'String',
|
|
356
401
|
:'use_gw_cloud_identity' => :'Boolean'
|
|
357
402
|
}
|
|
358
403
|
end
|
|
@@ -386,6 +431,16 @@ module Akeyless
|
|
|
386
431
|
self.ad_auto_rotate = attributes[:'ad_auto_rotate']
|
|
387
432
|
end
|
|
388
433
|
|
|
434
|
+
if attributes.key?(:'ad_cert_expiration_event_in')
|
|
435
|
+
if (value = attributes[:'ad_cert_expiration_event_in']).is_a?(Array)
|
|
436
|
+
self.ad_cert_expiration_event_in = value
|
|
437
|
+
end
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
if attributes.key?(:'ad_certificates_path_template')
|
|
441
|
+
self.ad_certificates_path_template = attributes[:'ad_certificates_path_template']
|
|
442
|
+
end
|
|
443
|
+
|
|
389
444
|
if attributes.key?(:'ad_computer_base_dn')
|
|
390
445
|
self.ad_computer_base_dn = attributes[:'ad_computer_base_dn']
|
|
391
446
|
end
|
|
@@ -490,6 +545,10 @@ module Akeyless
|
|
|
490
545
|
self.ad_discover_local_users = attributes[:'ad_discover_local_users']
|
|
491
546
|
end
|
|
492
547
|
|
|
548
|
+
if attributes.key?(:'ai_certificate_discovery')
|
|
549
|
+
self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
|
|
550
|
+
end
|
|
551
|
+
|
|
493
552
|
if attributes.key?(:'aws_key')
|
|
494
553
|
self.aws_key = attributes[:'aws_key']
|
|
495
554
|
end
|
|
@@ -520,6 +579,26 @@ module Akeyless
|
|
|
520
579
|
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
|
521
580
|
end
|
|
522
581
|
|
|
582
|
+
if attributes.key?(:'conjur_account')
|
|
583
|
+
self.conjur_account = attributes[:'conjur_account']
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
if attributes.key?(:'conjur_api_key')
|
|
587
|
+
self.conjur_api_key = attributes[:'conjur_api_key']
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
if attributes.key?(:'conjur_url')
|
|
591
|
+
self.conjur_url = attributes[:'conjur_url']
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
if attributes.key?(:'conjur_username')
|
|
595
|
+
self.conjur_username = attributes[:'conjur_username']
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
if attributes.key?(:'delete_remote')
|
|
599
|
+
self.delete_remote = attributes[:'delete_remote']
|
|
600
|
+
end
|
|
601
|
+
|
|
523
602
|
if attributes.key?(:'expiration_event_in')
|
|
524
603
|
if (value = attributes[:'expiration_event_in']).is_a?(Array)
|
|
525
604
|
self.expiration_event_in = value
|
|
@@ -680,6 +759,10 @@ module Akeyless
|
|
|
680
759
|
self.uid_token = attributes[:'uid_token']
|
|
681
760
|
end
|
|
682
761
|
|
|
762
|
+
if attributes.key?(:'usc_name')
|
|
763
|
+
self.usc_name = attributes[:'usc_name']
|
|
764
|
+
end
|
|
765
|
+
|
|
683
766
|
if attributes.key?(:'use_gw_cloud_identity')
|
|
684
767
|
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
|
685
768
|
end
|
|
@@ -732,6 +815,8 @@ module Akeyless
|
|
|
732
815
|
self.class == o.class &&
|
|
733
816
|
service_account_key_decoded == o.service_account_key_decoded &&
|
|
734
817
|
ad_auto_rotate == o.ad_auto_rotate &&
|
|
818
|
+
ad_cert_expiration_event_in == o.ad_cert_expiration_event_in &&
|
|
819
|
+
ad_certificates_path_template == o.ad_certificates_path_template &&
|
|
735
820
|
ad_computer_base_dn == o.ad_computer_base_dn &&
|
|
736
821
|
ad_discover_iis_app == o.ad_discover_iis_app &&
|
|
737
822
|
ad_discover_services == o.ad_discover_services &&
|
|
@@ -754,6 +839,7 @@ module Akeyless
|
|
|
754
839
|
ad_winrm_over_http == o.ad_winrm_over_http &&
|
|
755
840
|
ad_winrm_port == o.ad_winrm_port &&
|
|
756
841
|
ad_discover_local_users == o.ad_discover_local_users &&
|
|
842
|
+
ai_certificate_discovery == o.ai_certificate_discovery &&
|
|
757
843
|
aws_key == o.aws_key &&
|
|
758
844
|
aws_key_id == o.aws_key_id &&
|
|
759
845
|
aws_region == o.aws_region &&
|
|
@@ -761,6 +847,11 @@ module Akeyless
|
|
|
761
847
|
azure_kv_name == o.azure_kv_name &&
|
|
762
848
|
azure_secret == o.azure_secret &&
|
|
763
849
|
azure_tenant_id == o.azure_tenant_id &&
|
|
850
|
+
conjur_account == o.conjur_account &&
|
|
851
|
+
conjur_api_key == o.conjur_api_key &&
|
|
852
|
+
conjur_url == o.conjur_url &&
|
|
853
|
+
conjur_username == o.conjur_username &&
|
|
854
|
+
delete_remote == o.delete_remote &&
|
|
764
855
|
expiration_event_in == o.expiration_event_in &&
|
|
765
856
|
gcp_key == o.gcp_key &&
|
|
766
857
|
gcp_project_id == o.gcp_project_id &&
|
|
@@ -794,6 +885,7 @@ module Akeyless
|
|
|
794
885
|
token == o.token &&
|
|
795
886
|
type == o.type &&
|
|
796
887
|
uid_token == o.uid_token &&
|
|
888
|
+
usc_name == o.usc_name &&
|
|
797
889
|
use_gw_cloud_identity == o.use_gw_cloud_identity
|
|
798
890
|
end
|
|
799
891
|
|
|
@@ -806,7 +898,7 @@ module Akeyless
|
|
|
806
898
|
# Calculates hash code according to all attributes.
|
|
807
899
|
# @return [Integer] Hash code
|
|
808
900
|
def hash
|
|
809
|
-
[service_account_key_decoded, ad_auto_rotate, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, port_ranges, 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, use_gw_cloud_identity].hash
|
|
901
|
+
[service_account_key_decoded, ad_auto_rotate, ad_cert_expiration_event_in, ad_certificates_path_template, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, ai_certificate_discovery, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, conjur_account, conjur_api_key, conjur_url, conjur_username, delete_remote, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, port_ranges, 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, usc_name, use_gw_cloud_identity].hash
|
|
810
902
|
end
|
|
811
903
|
|
|
812
904
|
# Builds the object from hash
|
|
@@ -21,6 +21,12 @@ module Akeyless
|
|
|
21
21
|
# Enable/Disable automatic/recurrent rotation for migrated secrets. Default is false: only manual rotation is allowed for migrated secrets. If set to true, this command should be combined with --ad-rotation-interval and --ad-rotation-hour parameters (Relevant only for Active Directory migration)
|
|
22
22
|
attr_accessor :ad_auto_rotate
|
|
23
23
|
|
|
24
|
+
# How many days before the expiration of discovered certificates would you like to be notified (Relevant only for Active Directory migration with certificate discovery enabled)
|
|
25
|
+
attr_accessor :ad_cert_expiration_event_in
|
|
26
|
+
|
|
27
|
+
# Path location template for migrating certificates e.g.: /Certificates/{{COMMON_NAME}} (Relevant only for Active Directory migration with certificate discovery enabled)
|
|
28
|
+
attr_accessor :ad_certificates_path_template
|
|
29
|
+
|
|
24
30
|
# Distinguished Name of Computer objects (servers) to search in Active Directory e.g.: CN=Computers,DC=example,DC=com (Relevant only for Active Directory migration)
|
|
25
31
|
attr_accessor :ad_computer_base_dn
|
|
26
32
|
|
|
@@ -87,6 +93,9 @@ module Akeyless
|
|
|
87
93
|
# Enable/Disable discovery of local users from each domain server and migrate them as SSH/Windows Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration) Deprecated: use AdDiscoverTypes
|
|
88
94
|
attr_accessor :ad_discover_local_users
|
|
89
95
|
|
|
96
|
+
# Enable AI-assisted certificate discovery (only when AI Insight is enabled on the Gateway)
|
|
97
|
+
attr_accessor :ai_certificate_discovery
|
|
98
|
+
|
|
90
99
|
# AWS Secret Access Key (relevant only for AWS migration)
|
|
91
100
|
attr_accessor :aws_key
|
|
92
101
|
|
|
@@ -108,6 +117,21 @@ module Akeyless
|
|
|
108
117
|
# Azure Key Vault Access tenant ID (relevant only for Azure Key Vault migration)
|
|
109
118
|
attr_accessor :azure_tenant_id
|
|
110
119
|
|
|
120
|
+
# Conjur account name set on your Conjur server (relevant only for Conjur migration).
|
|
121
|
+
attr_accessor :conjur_account
|
|
122
|
+
|
|
123
|
+
# Conjur API Key for the specified user (relevant only for Conjur migration).
|
|
124
|
+
attr_accessor :conjur_api_key
|
|
125
|
+
|
|
126
|
+
# Conjur server base URL (relevant only for Conjur migration). If conjur-url is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJUR_SSL_CERT_PATH to its path.
|
|
127
|
+
attr_accessor :conjur_url
|
|
128
|
+
|
|
129
|
+
# Conjur username used to authenticate (relevant only for Conjur migration).
|
|
130
|
+
attr_accessor :conjur_username
|
|
131
|
+
|
|
132
|
+
# Delete the secret from the remote target as well, relevant only when usc-name is not empty (relevant only for HasiCorp Vault migration)
|
|
133
|
+
attr_accessor :delete_remote
|
|
134
|
+
|
|
111
135
|
# How many days before the expiration of the certificate would you like to be notified.
|
|
112
136
|
attr_accessor :expiration_event_in
|
|
113
137
|
|
|
@@ -210,6 +234,9 @@ module Akeyless
|
|
|
210
234
|
# The universal identity token, Required only for universal_identity authentication
|
|
211
235
|
attr_accessor :uid_token
|
|
212
236
|
|
|
237
|
+
# Universal Secret Connector name
|
|
238
|
+
attr_accessor :usc_name
|
|
239
|
+
|
|
213
240
|
# Use the GW's Cloud IAM
|
|
214
241
|
attr_accessor :use_gw_cloud_identity
|
|
215
242
|
|
|
@@ -218,6 +245,8 @@ module Akeyless
|
|
|
218
245
|
{
|
|
219
246
|
:'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
|
|
220
247
|
:'ad_auto_rotate' => :'ad-auto-rotate',
|
|
248
|
+
:'ad_cert_expiration_event_in' => :'ad-cert-expiration-event-in',
|
|
249
|
+
:'ad_certificates_path_template' => :'ad-certificates-path-template',
|
|
221
250
|
:'ad_computer_base_dn' => :'ad-computer-base-dn',
|
|
222
251
|
:'ad_discover_iis_app' => :'ad-discover-iis-app',
|
|
223
252
|
:'ad_discover_services' => :'ad-discover-services',
|
|
@@ -240,6 +269,7 @@ module Akeyless
|
|
|
240
269
|
:'ad_winrm_over_http' => :'ad-winrm-over-http',
|
|
241
270
|
:'ad_winrm_port' => :'ad-winrm-port',
|
|
242
271
|
:'ad_discover_local_users' => :'ad_discover_local_users',
|
|
272
|
+
:'ai_certificate_discovery' => :'ai-certificate-discovery',
|
|
243
273
|
:'aws_key' => :'aws-key',
|
|
244
274
|
:'aws_key_id' => :'aws-key-id',
|
|
245
275
|
:'aws_region' => :'aws-region',
|
|
@@ -247,6 +277,11 @@ module Akeyless
|
|
|
247
277
|
:'azure_kv_name' => :'azure-kv-name',
|
|
248
278
|
:'azure_secret' => :'azure-secret',
|
|
249
279
|
:'azure_tenant_id' => :'azure-tenant-id',
|
|
280
|
+
:'conjur_account' => :'conjur-account',
|
|
281
|
+
:'conjur_api_key' => :'conjur-api-key',
|
|
282
|
+
:'conjur_url' => :'conjur-url',
|
|
283
|
+
:'conjur_username' => :'conjur-username',
|
|
284
|
+
:'delete_remote' => :'delete-remote',
|
|
250
285
|
:'expiration_event_in' => :'expiration-event-in',
|
|
251
286
|
:'gcp_key' => :'gcp-key',
|
|
252
287
|
:'gcp_project_id' => :'gcp-project-id',
|
|
@@ -281,6 +316,7 @@ module Akeyless
|
|
|
281
316
|
:'target_location' => :'target-location',
|
|
282
317
|
:'token' => :'token',
|
|
283
318
|
:'uid_token' => :'uid-token',
|
|
319
|
+
:'usc_name' => :'usc-name',
|
|
284
320
|
:'use_gw_cloud_identity' => :'use-gw-cloud-identity'
|
|
285
321
|
}
|
|
286
322
|
end
|
|
@@ -295,6 +331,8 @@ module Akeyless
|
|
|
295
331
|
{
|
|
296
332
|
:'service_account_key_decoded' => :'String',
|
|
297
333
|
:'ad_auto_rotate' => :'String',
|
|
334
|
+
:'ad_cert_expiration_event_in' => :'Array<String>',
|
|
335
|
+
:'ad_certificates_path_template' => :'String',
|
|
298
336
|
:'ad_computer_base_dn' => :'String',
|
|
299
337
|
:'ad_discover_iis_app' => :'String',
|
|
300
338
|
:'ad_discover_services' => :'String',
|
|
@@ -317,6 +355,7 @@ module Akeyless
|
|
|
317
355
|
:'ad_winrm_over_http' => :'String',
|
|
318
356
|
:'ad_winrm_port' => :'String',
|
|
319
357
|
:'ad_discover_local_users' => :'String',
|
|
358
|
+
:'ai_certificate_discovery' => :'String',
|
|
320
359
|
:'aws_key' => :'String',
|
|
321
360
|
:'aws_key_id' => :'String',
|
|
322
361
|
:'aws_region' => :'String',
|
|
@@ -324,6 +363,11 @@ module Akeyless
|
|
|
324
363
|
:'azure_kv_name' => :'String',
|
|
325
364
|
:'azure_secret' => :'String',
|
|
326
365
|
:'azure_tenant_id' => :'String',
|
|
366
|
+
:'conjur_account' => :'String',
|
|
367
|
+
:'conjur_api_key' => :'String',
|
|
368
|
+
:'conjur_url' => :'String',
|
|
369
|
+
:'conjur_username' => :'String',
|
|
370
|
+
:'delete_remote' => :'Boolean',
|
|
327
371
|
:'expiration_event_in' => :'Array<String>',
|
|
328
372
|
:'gcp_key' => :'String',
|
|
329
373
|
:'gcp_project_id' => :'String',
|
|
@@ -358,6 +402,7 @@ module Akeyless
|
|
|
358
402
|
:'target_location' => :'String',
|
|
359
403
|
:'token' => :'String',
|
|
360
404
|
:'uid_token' => :'String',
|
|
405
|
+
:'usc_name' => :'String',
|
|
361
406
|
:'use_gw_cloud_identity' => :'Boolean'
|
|
362
407
|
}
|
|
363
408
|
end
|
|
@@ -391,6 +436,16 @@ module Akeyless
|
|
|
391
436
|
self.ad_auto_rotate = attributes[:'ad_auto_rotate']
|
|
392
437
|
end
|
|
393
438
|
|
|
439
|
+
if attributes.key?(:'ad_cert_expiration_event_in')
|
|
440
|
+
if (value = attributes[:'ad_cert_expiration_event_in']).is_a?(Array)
|
|
441
|
+
self.ad_cert_expiration_event_in = value
|
|
442
|
+
end
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
if attributes.key?(:'ad_certificates_path_template')
|
|
446
|
+
self.ad_certificates_path_template = attributes[:'ad_certificates_path_template']
|
|
447
|
+
end
|
|
448
|
+
|
|
394
449
|
if attributes.key?(:'ad_computer_base_dn')
|
|
395
450
|
self.ad_computer_base_dn = attributes[:'ad_computer_base_dn']
|
|
396
451
|
end
|
|
@@ -495,6 +550,10 @@ module Akeyless
|
|
|
495
550
|
self.ad_discover_local_users = attributes[:'ad_discover_local_users']
|
|
496
551
|
end
|
|
497
552
|
|
|
553
|
+
if attributes.key?(:'ai_certificate_discovery')
|
|
554
|
+
self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
|
|
555
|
+
end
|
|
556
|
+
|
|
498
557
|
if attributes.key?(:'aws_key')
|
|
499
558
|
self.aws_key = attributes[:'aws_key']
|
|
500
559
|
end
|
|
@@ -525,6 +584,26 @@ module Akeyless
|
|
|
525
584
|
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
|
526
585
|
end
|
|
527
586
|
|
|
587
|
+
if attributes.key?(:'conjur_account')
|
|
588
|
+
self.conjur_account = attributes[:'conjur_account']
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
if attributes.key?(:'conjur_api_key')
|
|
592
|
+
self.conjur_api_key = attributes[:'conjur_api_key']
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
if attributes.key?(:'conjur_url')
|
|
596
|
+
self.conjur_url = attributes[:'conjur_url']
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
if attributes.key?(:'conjur_username')
|
|
600
|
+
self.conjur_username = attributes[:'conjur_username']
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
if attributes.key?(:'delete_remote')
|
|
604
|
+
self.delete_remote = attributes[:'delete_remote']
|
|
605
|
+
end
|
|
606
|
+
|
|
528
607
|
if attributes.key?(:'expiration_event_in')
|
|
529
608
|
if (value = attributes[:'expiration_event_in']).is_a?(Array)
|
|
530
609
|
self.expiration_event_in = value
|
|
@@ -687,6 +766,10 @@ module Akeyless
|
|
|
687
766
|
self.uid_token = attributes[:'uid_token']
|
|
688
767
|
end
|
|
689
768
|
|
|
769
|
+
if attributes.key?(:'usc_name')
|
|
770
|
+
self.usc_name = attributes[:'usc_name']
|
|
771
|
+
end
|
|
772
|
+
|
|
690
773
|
if attributes.key?(:'use_gw_cloud_identity')
|
|
691
774
|
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
|
692
775
|
end
|
|
@@ -734,6 +817,8 @@ module Akeyless
|
|
|
734
817
|
self.class == o.class &&
|
|
735
818
|
service_account_key_decoded == o.service_account_key_decoded &&
|
|
736
819
|
ad_auto_rotate == o.ad_auto_rotate &&
|
|
820
|
+
ad_cert_expiration_event_in == o.ad_cert_expiration_event_in &&
|
|
821
|
+
ad_certificates_path_template == o.ad_certificates_path_template &&
|
|
737
822
|
ad_computer_base_dn == o.ad_computer_base_dn &&
|
|
738
823
|
ad_discover_iis_app == o.ad_discover_iis_app &&
|
|
739
824
|
ad_discover_services == o.ad_discover_services &&
|
|
@@ -756,6 +841,7 @@ module Akeyless
|
|
|
756
841
|
ad_winrm_over_http == o.ad_winrm_over_http &&
|
|
757
842
|
ad_winrm_port == o.ad_winrm_port &&
|
|
758
843
|
ad_discover_local_users == o.ad_discover_local_users &&
|
|
844
|
+
ai_certificate_discovery == o.ai_certificate_discovery &&
|
|
759
845
|
aws_key == o.aws_key &&
|
|
760
846
|
aws_key_id == o.aws_key_id &&
|
|
761
847
|
aws_region == o.aws_region &&
|
|
@@ -763,6 +849,11 @@ module Akeyless
|
|
|
763
849
|
azure_kv_name == o.azure_kv_name &&
|
|
764
850
|
azure_secret == o.azure_secret &&
|
|
765
851
|
azure_tenant_id == o.azure_tenant_id &&
|
|
852
|
+
conjur_account == o.conjur_account &&
|
|
853
|
+
conjur_api_key == o.conjur_api_key &&
|
|
854
|
+
conjur_url == o.conjur_url &&
|
|
855
|
+
conjur_username == o.conjur_username &&
|
|
856
|
+
delete_remote == o.delete_remote &&
|
|
766
857
|
expiration_event_in == o.expiration_event_in &&
|
|
767
858
|
gcp_key == o.gcp_key &&
|
|
768
859
|
gcp_project_id == o.gcp_project_id &&
|
|
@@ -797,6 +888,7 @@ module Akeyless
|
|
|
797
888
|
target_location == o.target_location &&
|
|
798
889
|
token == o.token &&
|
|
799
890
|
uid_token == o.uid_token &&
|
|
891
|
+
usc_name == o.usc_name &&
|
|
800
892
|
use_gw_cloud_identity == o.use_gw_cloud_identity
|
|
801
893
|
end
|
|
802
894
|
|
|
@@ -809,7 +901,7 @@ module Akeyless
|
|
|
809
901
|
# Calculates hash code according to all attributes.
|
|
810
902
|
# @return [Integer] Hash code
|
|
811
903
|
def hash
|
|
812
|
-
[service_account_key_decoded, ad_auto_rotate, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, 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, port_ranges, 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, use_gw_cloud_identity].hash
|
|
904
|
+
[service_account_key_decoded, ad_auto_rotate, ad_cert_expiration_event_in, ad_certificates_path_template, ad_computer_base_dn, ad_discover_iis_app, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, ai_certificate_discovery, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, conjur_account, conjur_api_key, conjur_url, conjur_username, delete_remote, expiration_event_in, gcp_key, gcp_project_id, hashi_json, hashi_ns, hashi_token, hashi_url, hosts, 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, port_ranges, 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, usc_name, use_gw_cloud_identity].hash
|
|
813
905
|
end
|
|
814
906
|
|
|
815
907
|
# Builds the object from hash
|
|
@@ -25,6 +25,9 @@ module Akeyless
|
|
|
25
25
|
# The folder name in S3 bucket. For more information refer to https://docs.aws.amazon.com/s3/
|
|
26
26
|
attr_accessor :aws_storage_bucket_prefix
|
|
27
27
|
|
|
28
|
+
# Custom AWS endpoint URL for S3-compatible storage (e.g. a private AWS endpoint)
|
|
29
|
+
attr_accessor :aws_storage_endpoint_url
|
|
30
|
+
|
|
28
31
|
# The region where the storage is located
|
|
29
32
|
attr_accessor :aws_storage_region
|
|
30
33
|
|
|
@@ -76,6 +79,7 @@ module Akeyless
|
|
|
76
79
|
:'aws_storage_access_key_id' => :'aws-storage-access-key-id',
|
|
77
80
|
:'aws_storage_bucket_name' => :'aws-storage-bucket-name',
|
|
78
81
|
:'aws_storage_bucket_prefix' => :'aws-storage-bucket-prefix',
|
|
82
|
+
:'aws_storage_endpoint_url' => :'aws-storage-endpoint-url',
|
|
79
83
|
:'aws_storage_region' => :'aws-storage-region',
|
|
80
84
|
:'aws_storage_secret_access_key' => :'aws-storage-secret-access-key',
|
|
81
85
|
:'azure_storage_account_name' => :'azure-storage-account-name',
|
|
@@ -105,6 +109,7 @@ module Akeyless
|
|
|
105
109
|
:'aws_storage_access_key_id' => :'String',
|
|
106
110
|
:'aws_storage_bucket_name' => :'String',
|
|
107
111
|
:'aws_storage_bucket_prefix' => :'String',
|
|
112
|
+
:'aws_storage_endpoint_url' => :'String',
|
|
108
113
|
:'aws_storage_region' => :'String',
|
|
109
114
|
:'aws_storage_secret_access_key' => :'String',
|
|
110
115
|
:'azure_storage_account_name' => :'String',
|
|
@@ -156,6 +161,10 @@ module Akeyless
|
|
|
156
161
|
self.aws_storage_bucket_prefix = attributes[:'aws_storage_bucket_prefix']
|
|
157
162
|
end
|
|
158
163
|
|
|
164
|
+
if attributes.key?(:'aws_storage_endpoint_url')
|
|
165
|
+
self.aws_storage_endpoint_url = attributes[:'aws_storage_endpoint_url']
|
|
166
|
+
end
|
|
167
|
+
|
|
159
168
|
if attributes.key?(:'aws_storage_region')
|
|
160
169
|
self.aws_storage_region = attributes[:'aws_storage_region']
|
|
161
170
|
end
|
|
@@ -242,6 +251,7 @@ module Akeyless
|
|
|
242
251
|
aws_storage_access_key_id == o.aws_storage_access_key_id &&
|
|
243
252
|
aws_storage_bucket_name == o.aws_storage_bucket_name &&
|
|
244
253
|
aws_storage_bucket_prefix == o.aws_storage_bucket_prefix &&
|
|
254
|
+
aws_storage_endpoint_url == o.aws_storage_endpoint_url &&
|
|
245
255
|
aws_storage_region == o.aws_storage_region &&
|
|
246
256
|
aws_storage_secret_access_key == o.aws_storage_secret_access_key &&
|
|
247
257
|
azure_storage_account_name == o.azure_storage_account_name &&
|
|
@@ -268,7 +278,7 @@ module Akeyless
|
|
|
268
278
|
# Calculates hash code according to all attributes.
|
|
269
279
|
# @return [Integer] Hash code
|
|
270
280
|
def hash
|
|
271
|
-
[aws_storage_access_key_id, aws_storage_bucket_name, aws_storage_bucket_prefix, aws_storage_region, aws_storage_secret_access_key, azure_storage_account_name, azure_storage_client_id, azure_storage_client_secret, azure_storage_container_name, azure_storage_tenant_id, json, rdp_session_recording, rdp_session_recording_compress, rdp_session_recording_encryption_key, rdp_session_recording_quality, rdp_session_storage, token, uid_token].hash
|
|
281
|
+
[aws_storage_access_key_id, aws_storage_bucket_name, aws_storage_bucket_prefix, aws_storage_endpoint_url, aws_storage_region, aws_storage_secret_access_key, azure_storage_account_name, azure_storage_client_id, azure_storage_client_secret, azure_storage_container_name, azure_storage_tenant_id, json, rdp_session_recording, rdp_session_recording_compress, rdp_session_recording_encryption_key, rdp_session_recording_quality, rdp_session_storage, token, uid_token].hash
|
|
272
282
|
end
|
|
273
283
|
|
|
274
284
|
# Builds the object from hash
|