akeyless 5.0.20 → 5.0.22
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 +40 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/ActiveDirectoryPayload.md +6 -0
- data/docs/Auth.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodUpdateCert.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/CreateAzureTarget.md +2 -0
- data/docs/CreateUSC.md +10 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DefaultAuthMethodSettings.md +20 -0
- data/docs/GCPPayload.md +5 -1
- data/docs/GatewayCreateMigration.md +20 -2
- data/docs/GatewayUpdateMigration.md +19 -1
- data/docs/GetPKICertificateOutput.md +2 -0
- data/docs/GithubMetadata.md +28 -0
- data/docs/HTTPChallengeInfo.md +26 -0
- data/docs/IssuerOverviewInfo.md +22 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/LetsEncryptTargetDetails.md +38 -0
- data/docs/MigrationStatusReplyObj.md +2 -0
- data/docs/MigrationsConfigPart.md +2 -0
- data/docs/PoliciesCreateOutput.md +18 -0
- data/docs/PoliciesDelete.md +24 -0
- data/docs/PoliciesGet.md +24 -0
- data/docs/PoliciesGetOutput.md +18 -0
- data/docs/PoliciesList.md +30 -0
- data/docs/PoliciesListOutput.md +18 -0
- data/docs/PolicyCreateKeys.md +34 -0
- data/docs/PolicyOutput.md +34 -0
- data/docs/PolicyUpdateKeys.md +36 -0
- data/docs/RotatedSecretCreateAws.md +4 -2
- data/docs/RotatedSecretCreateAzure.md +4 -2
- data/docs/RotatedSecretCreateCassandra.md +1 -1
- data/docs/RotatedSecretCreateCustom.md +1 -1
- data/docs/RotatedSecretCreateDockerhub.md +1 -1
- data/docs/RotatedSecretCreateGcp.md +4 -2
- data/docs/RotatedSecretCreateHanadb.md +1 -1
- data/docs/RotatedSecretCreateLdap.md +1 -1
- data/docs/RotatedSecretCreateMongodb.md +1 -1
- data/docs/RotatedSecretCreateMssql.md +1 -1
- data/docs/RotatedSecretCreateMysql.md +1 -1
- data/docs/RotatedSecretCreateOpenAI.md +1 -1
- data/docs/RotatedSecretCreateOracledb.md +1 -1
- data/docs/RotatedSecretCreatePostgresql.md +1 -1
- data/docs/RotatedSecretCreateRedis.md +1 -1
- data/docs/RotatedSecretCreateRedshift.md +1 -1
- data/docs/RotatedSecretCreateSnowflake.md +1 -1
- data/docs/RotatedSecretCreateSplunk.md +68 -0
- data/docs/RotatedSecretCreateSsh.md +1 -1
- data/docs/RotatedSecretCreateWindows.md +1 -1
- data/docs/RotatedSecretDetailsInfo.md +2 -0
- data/docs/RotatedSecretUpdateAws.md +3 -1
- data/docs/RotatedSecretUpdateAzure.md +3 -1
- data/docs/RotatedSecretUpdateGcp.md +3 -1
- data/docs/RotatedSecretUpdateSplunk.md +64 -0
- data/docs/SecretInfo.md +2 -0
- data/docs/SplunkPayload.md +30 -0
- data/docs/SplunkTargetDetails.md +34 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +46 -0
- data/docs/TargetCreateSplunk.md +42 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +50 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAzureTarget.md +2 -0
- data/docs/V2Api.md +756 -0
- 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/lib/akeyless/api/v2_api.rb +775 -7
- data/lib/akeyless/models/account_general_settings.rb +10 -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_update_cert.rb +11 -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_azure_target.rb +13 -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/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/gateway_create_migration.rb +97 -5
- data/lib/akeyless/models/gateway_update_migration.rb +96 -4
- data/lib/akeyless/models/gcp_payload.rb +22 -4
- data/lib/akeyless/models/get_pki_certificate_output.rb +10 -1
- data/lib/akeyless/models/github_metadata.rb +259 -0
- 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_general_info.rb +10 -1
- data/lib/akeyless/models/lets_encrypt_target_details.rb +315 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
- data/lib/akeyless/models/migrations_config_part.rb +12 -1
- data/lib/akeyless/models/policies_create_output.rb +214 -0
- data/lib/akeyless/models/policies_delete.rb +254 -0
- data/lib/akeyless/models/policies_get.rb +254 -0
- data/lib/akeyless/models/policies_get_output.rb +214 -0
- data/lib/akeyless/models/policies_list.rb +283 -0
- data/lib/akeyless/models/policies_list_output.rb +216 -0
- data/lib/akeyless/models/policy_create_keys.rb +312 -0
- data/lib/akeyless/models/policy_output.rb +295 -0
- data/lib/akeyless/models/policy_update_keys.rb +322 -0
- data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -3
- data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -3
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -3
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_redis.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_splunk.rb +497 -0
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_windows.rb +1 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +10 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -2
- data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -2
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +12 -2
- data/lib/akeyless/models/rotated_secret_update_splunk.rb +467 -0
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/splunk_payload.rb +268 -0
- data/lib/akeyless/models/splunk_target_details.rb +294 -0
- data/lib/akeyless/models/target_create_azure.rb +13 -1
- data/lib/akeyless/models/target_create_lets_encrypt.rb +368 -0
- data/lib/akeyless/models/target_create_splunk.rb +354 -0
- 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_lets_encrypt.rb +388 -0
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_azure_target.rb +13 -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/version.rb +1 -1
- data/lib/akeyless.rb +27 -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/github_metadata_spec.rb +66 -0
- data/spec/models/http_challenge_info_spec.rb +60 -0
- data/spec/models/issuer_overview_info_spec.rb +48 -0
- data/spec/models/lets_encrypt_target_details_spec.rb +96 -0
- data/spec/models/policies_create_output_spec.rb +36 -0
- data/spec/models/policies_delete_spec.rb +54 -0
- data/spec/models/policies_get_output_spec.rb +36 -0
- data/spec/models/policies_get_spec.rb +54 -0
- data/spec/models/policies_list_output_spec.rb +36 -0
- data/spec/models/policies_list_spec.rb +72 -0
- data/spec/models/policy_create_keys_spec.rb +84 -0
- data/spec/models/policy_output_spec.rb +84 -0
- data/spec/models/policy_update_keys_spec.rb +90 -0
- data/spec/models/rotated_secret_create_splunk_spec.rb +186 -0
- data/spec/models/rotated_secret_update_splunk_spec.rb +174 -0
- data/spec/models/splunk_payload_spec.rb +72 -0
- data/spec/models/splunk_target_details_spec.rb +84 -0
- data/spec/models/target_create_lets_encrypt_spec.rb +120 -0
- data/spec/models/target_create_splunk_spec.rb +108 -0
- data/spec/models/target_update_lets_encrypt_spec.rb +132 -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 +109 -1
|
@@ -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,12 +117,27 @@ 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
|
+
|
|
111
132
|
# How many days before the expiration of the certificate would you like to be notified.
|
|
112
133
|
attr_accessor :expiration_event_in
|
|
113
134
|
|
|
114
135
|
# Base64-encoded GCP Service Account private key text with sufficient permissions to Secrets Manager, Minimum required permission is Secret Manager Secret Accessor, e.g. 'roles/secretmanager.secretAccessor' (relevant only for GCP migration)
|
|
115
136
|
attr_accessor :gcp_key
|
|
116
137
|
|
|
138
|
+
# GCP Project ID (cross-project override)
|
|
139
|
+
attr_accessor :gcp_project_id
|
|
140
|
+
|
|
117
141
|
# Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
|
|
118
142
|
attr_accessor :hashi_json
|
|
119
143
|
|
|
@@ -198,17 +222,22 @@ module Akeyless
|
|
|
198
222
|
# Authentication token (see `/auth` and `/configure`)
|
|
199
223
|
attr_accessor :token
|
|
200
224
|
|
|
201
|
-
# Migration type (hashi/aws/gcp/k8s/azure_kv/active_directory/server_inventory/certificate)
|
|
225
|
+
# Migration type (hashi/aws/gcp/k8s/azure_kv/conjur/active_directory/server_inventory/certificate)
|
|
202
226
|
attr_accessor :type
|
|
203
227
|
|
|
204
228
|
# The universal identity token, Required only for universal_identity authentication
|
|
205
229
|
attr_accessor :uid_token
|
|
206
230
|
|
|
231
|
+
# Use the GW's Cloud IAM
|
|
232
|
+
attr_accessor :use_gw_cloud_identity
|
|
233
|
+
|
|
207
234
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
208
235
|
def self.attribute_map
|
|
209
236
|
{
|
|
210
237
|
:'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
|
|
211
238
|
:'ad_auto_rotate' => :'ad-auto-rotate',
|
|
239
|
+
:'ad_cert_expiration_event_in' => :'ad-cert-expiration-event-in',
|
|
240
|
+
:'ad_certificates_path_template' => :'ad-certificates-path-template',
|
|
212
241
|
:'ad_computer_base_dn' => :'ad-computer-base-dn',
|
|
213
242
|
:'ad_discover_iis_app' => :'ad-discover-iis-app',
|
|
214
243
|
:'ad_discover_services' => :'ad-discover-services',
|
|
@@ -231,6 +260,7 @@ module Akeyless
|
|
|
231
260
|
:'ad_winrm_over_http' => :'ad-winrm-over-http',
|
|
232
261
|
:'ad_winrm_port' => :'ad-winrm-port',
|
|
233
262
|
:'ad_discover_local_users' => :'ad_discover_local_users',
|
|
263
|
+
:'ai_certificate_discovery' => :'ai-certificate-discovery',
|
|
234
264
|
:'aws_key' => :'aws-key',
|
|
235
265
|
:'aws_key_id' => :'aws-key-id',
|
|
236
266
|
:'aws_region' => :'aws-region',
|
|
@@ -238,8 +268,13 @@ module Akeyless
|
|
|
238
268
|
:'azure_kv_name' => :'azure-kv-name',
|
|
239
269
|
:'azure_secret' => :'azure-secret',
|
|
240
270
|
:'azure_tenant_id' => :'azure-tenant-id',
|
|
271
|
+
:'conjur_account' => :'conjur-account',
|
|
272
|
+
:'conjur_api_key' => :'conjur-api-key',
|
|
273
|
+
:'conjur_url' => :'conjur-url',
|
|
274
|
+
:'conjur_username' => :'conjur-username',
|
|
241
275
|
:'expiration_event_in' => :'expiration-event-in',
|
|
242
276
|
:'gcp_key' => :'gcp-key',
|
|
277
|
+
:'gcp_project_id' => :'gcp-project-id',
|
|
243
278
|
:'hashi_json' => :'hashi-json',
|
|
244
279
|
:'hashi_ns' => :'hashi-ns',
|
|
245
280
|
:'hashi_token' => :'hashi-token',
|
|
@@ -269,7 +304,8 @@ module Akeyless
|
|
|
269
304
|
:'target_location' => :'target-location',
|
|
270
305
|
:'token' => :'token',
|
|
271
306
|
:'type' => :'type',
|
|
272
|
-
:'uid_token' => :'uid-token'
|
|
307
|
+
:'uid_token' => :'uid-token',
|
|
308
|
+
:'use_gw_cloud_identity' => :'use-gw-cloud-identity'
|
|
273
309
|
}
|
|
274
310
|
end
|
|
275
311
|
|
|
@@ -283,6 +319,8 @@ module Akeyless
|
|
|
283
319
|
{
|
|
284
320
|
:'service_account_key_decoded' => :'String',
|
|
285
321
|
:'ad_auto_rotate' => :'String',
|
|
322
|
+
:'ad_cert_expiration_event_in' => :'Array<String>',
|
|
323
|
+
:'ad_certificates_path_template' => :'String',
|
|
286
324
|
:'ad_computer_base_dn' => :'String',
|
|
287
325
|
:'ad_discover_iis_app' => :'String',
|
|
288
326
|
:'ad_discover_services' => :'String',
|
|
@@ -305,6 +343,7 @@ module Akeyless
|
|
|
305
343
|
:'ad_winrm_over_http' => :'String',
|
|
306
344
|
:'ad_winrm_port' => :'String',
|
|
307
345
|
:'ad_discover_local_users' => :'String',
|
|
346
|
+
:'ai_certificate_discovery' => :'String',
|
|
308
347
|
:'aws_key' => :'String',
|
|
309
348
|
:'aws_key_id' => :'String',
|
|
310
349
|
:'aws_region' => :'String',
|
|
@@ -312,8 +351,13 @@ module Akeyless
|
|
|
312
351
|
:'azure_kv_name' => :'String',
|
|
313
352
|
:'azure_secret' => :'String',
|
|
314
353
|
:'azure_tenant_id' => :'String',
|
|
354
|
+
:'conjur_account' => :'String',
|
|
355
|
+
:'conjur_api_key' => :'String',
|
|
356
|
+
:'conjur_url' => :'String',
|
|
357
|
+
:'conjur_username' => :'String',
|
|
315
358
|
:'expiration_event_in' => :'Array<String>',
|
|
316
359
|
:'gcp_key' => :'String',
|
|
360
|
+
:'gcp_project_id' => :'String',
|
|
317
361
|
:'hashi_json' => :'String',
|
|
318
362
|
:'hashi_ns' => :'Array<String>',
|
|
319
363
|
:'hashi_token' => :'String',
|
|
@@ -343,7 +387,8 @@ module Akeyless
|
|
|
343
387
|
:'target_location' => :'String',
|
|
344
388
|
:'token' => :'String',
|
|
345
389
|
:'type' => :'String',
|
|
346
|
-
:'uid_token' => :'String'
|
|
390
|
+
:'uid_token' => :'String',
|
|
391
|
+
:'use_gw_cloud_identity' => :'Boolean'
|
|
347
392
|
}
|
|
348
393
|
end
|
|
349
394
|
|
|
@@ -376,6 +421,16 @@ module Akeyless
|
|
|
376
421
|
self.ad_auto_rotate = attributes[:'ad_auto_rotate']
|
|
377
422
|
end
|
|
378
423
|
|
|
424
|
+
if attributes.key?(:'ad_cert_expiration_event_in')
|
|
425
|
+
if (value = attributes[:'ad_cert_expiration_event_in']).is_a?(Array)
|
|
426
|
+
self.ad_cert_expiration_event_in = value
|
|
427
|
+
end
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
if attributes.key?(:'ad_certificates_path_template')
|
|
431
|
+
self.ad_certificates_path_template = attributes[:'ad_certificates_path_template']
|
|
432
|
+
end
|
|
433
|
+
|
|
379
434
|
if attributes.key?(:'ad_computer_base_dn')
|
|
380
435
|
self.ad_computer_base_dn = attributes[:'ad_computer_base_dn']
|
|
381
436
|
end
|
|
@@ -480,6 +535,10 @@ module Akeyless
|
|
|
480
535
|
self.ad_discover_local_users = attributes[:'ad_discover_local_users']
|
|
481
536
|
end
|
|
482
537
|
|
|
538
|
+
if attributes.key?(:'ai_certificate_discovery')
|
|
539
|
+
self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
|
|
540
|
+
end
|
|
541
|
+
|
|
483
542
|
if attributes.key?(:'aws_key')
|
|
484
543
|
self.aws_key = attributes[:'aws_key']
|
|
485
544
|
end
|
|
@@ -510,6 +569,22 @@ module Akeyless
|
|
|
510
569
|
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
|
511
570
|
end
|
|
512
571
|
|
|
572
|
+
if attributes.key?(:'conjur_account')
|
|
573
|
+
self.conjur_account = attributes[:'conjur_account']
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
if attributes.key?(:'conjur_api_key')
|
|
577
|
+
self.conjur_api_key = attributes[:'conjur_api_key']
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
if attributes.key?(:'conjur_url')
|
|
581
|
+
self.conjur_url = attributes[:'conjur_url']
|
|
582
|
+
end
|
|
583
|
+
|
|
584
|
+
if attributes.key?(:'conjur_username')
|
|
585
|
+
self.conjur_username = attributes[:'conjur_username']
|
|
586
|
+
end
|
|
587
|
+
|
|
513
588
|
if attributes.key?(:'expiration_event_in')
|
|
514
589
|
if (value = attributes[:'expiration_event_in']).is_a?(Array)
|
|
515
590
|
self.expiration_event_in = value
|
|
@@ -520,6 +595,10 @@ module Akeyless
|
|
|
520
595
|
self.gcp_key = attributes[:'gcp_key']
|
|
521
596
|
end
|
|
522
597
|
|
|
598
|
+
if attributes.key?(:'gcp_project_id')
|
|
599
|
+
self.gcp_project_id = attributes[:'gcp_project_id']
|
|
600
|
+
end
|
|
601
|
+
|
|
523
602
|
if attributes.key?(:'hashi_json')
|
|
524
603
|
self.hashi_json = attributes[:'hashi_json']
|
|
525
604
|
else
|
|
@@ -665,6 +744,10 @@ module Akeyless
|
|
|
665
744
|
if attributes.key?(:'uid_token')
|
|
666
745
|
self.uid_token = attributes[:'uid_token']
|
|
667
746
|
end
|
|
747
|
+
|
|
748
|
+
if attributes.key?(:'use_gw_cloud_identity')
|
|
749
|
+
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
|
750
|
+
end
|
|
668
751
|
end
|
|
669
752
|
|
|
670
753
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -714,6 +797,8 @@ module Akeyless
|
|
|
714
797
|
self.class == o.class &&
|
|
715
798
|
service_account_key_decoded == o.service_account_key_decoded &&
|
|
716
799
|
ad_auto_rotate == o.ad_auto_rotate &&
|
|
800
|
+
ad_cert_expiration_event_in == o.ad_cert_expiration_event_in &&
|
|
801
|
+
ad_certificates_path_template == o.ad_certificates_path_template &&
|
|
717
802
|
ad_computer_base_dn == o.ad_computer_base_dn &&
|
|
718
803
|
ad_discover_iis_app == o.ad_discover_iis_app &&
|
|
719
804
|
ad_discover_services == o.ad_discover_services &&
|
|
@@ -736,6 +821,7 @@ module Akeyless
|
|
|
736
821
|
ad_winrm_over_http == o.ad_winrm_over_http &&
|
|
737
822
|
ad_winrm_port == o.ad_winrm_port &&
|
|
738
823
|
ad_discover_local_users == o.ad_discover_local_users &&
|
|
824
|
+
ai_certificate_discovery == o.ai_certificate_discovery &&
|
|
739
825
|
aws_key == o.aws_key &&
|
|
740
826
|
aws_key_id == o.aws_key_id &&
|
|
741
827
|
aws_region == o.aws_region &&
|
|
@@ -743,8 +829,13 @@ module Akeyless
|
|
|
743
829
|
azure_kv_name == o.azure_kv_name &&
|
|
744
830
|
azure_secret == o.azure_secret &&
|
|
745
831
|
azure_tenant_id == o.azure_tenant_id &&
|
|
832
|
+
conjur_account == o.conjur_account &&
|
|
833
|
+
conjur_api_key == o.conjur_api_key &&
|
|
834
|
+
conjur_url == o.conjur_url &&
|
|
835
|
+
conjur_username == o.conjur_username &&
|
|
746
836
|
expiration_event_in == o.expiration_event_in &&
|
|
747
837
|
gcp_key == o.gcp_key &&
|
|
838
|
+
gcp_project_id == o.gcp_project_id &&
|
|
748
839
|
hashi_json == o.hashi_json &&
|
|
749
840
|
hashi_ns == o.hashi_ns &&
|
|
750
841
|
hashi_token == o.hashi_token &&
|
|
@@ -774,7 +865,8 @@ module Akeyless
|
|
|
774
865
|
target_location == o.target_location &&
|
|
775
866
|
token == o.token &&
|
|
776
867
|
type == o.type &&
|
|
777
|
-
uid_token == o.uid_token
|
|
868
|
+
uid_token == o.uid_token &&
|
|
869
|
+
use_gw_cloud_identity == o.use_gw_cloud_identity
|
|
778
870
|
end
|
|
779
871
|
|
|
780
872
|
# @see the `==` method
|
|
@@ -786,7 +878,7 @@ module Akeyless
|
|
|
786
878
|
# Calculates hash code according to all attributes.
|
|
787
879
|
# @return [Integer] Hash code
|
|
788
880
|
def hash
|
|
789
|
-
[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, 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].hash
|
|
881
|
+
[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, 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
|
|
790
882
|
end
|
|
791
883
|
|
|
792
884
|
# 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,12 +117,27 @@ 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
|
+
|
|
111
132
|
# How many days before the expiration of the certificate would you like to be notified.
|
|
112
133
|
attr_accessor :expiration_event_in
|
|
113
134
|
|
|
114
135
|
# Base64-encoded GCP Service Account private key text with sufficient permissions to Secrets Manager, Minimum required permission is Secret Manager Secret Accessor, e.g. 'roles/secretmanager.secretAccessor' (relevant only for GCP migration)
|
|
115
136
|
attr_accessor :gcp_key
|
|
116
137
|
|
|
138
|
+
# GCP Project ID (cross-project override)
|
|
139
|
+
attr_accessor :gcp_project_id
|
|
140
|
+
|
|
117
141
|
# Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
|
|
118
142
|
attr_accessor :hashi_json
|
|
119
143
|
|
|
@@ -207,11 +231,16 @@ module Akeyless
|
|
|
207
231
|
# The universal identity token, Required only for universal_identity authentication
|
|
208
232
|
attr_accessor :uid_token
|
|
209
233
|
|
|
234
|
+
# Use the GW's Cloud IAM
|
|
235
|
+
attr_accessor :use_gw_cloud_identity
|
|
236
|
+
|
|
210
237
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
211
238
|
def self.attribute_map
|
|
212
239
|
{
|
|
213
240
|
:'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
|
|
214
241
|
:'ad_auto_rotate' => :'ad-auto-rotate',
|
|
242
|
+
:'ad_cert_expiration_event_in' => :'ad-cert-expiration-event-in',
|
|
243
|
+
:'ad_certificates_path_template' => :'ad-certificates-path-template',
|
|
215
244
|
:'ad_computer_base_dn' => :'ad-computer-base-dn',
|
|
216
245
|
:'ad_discover_iis_app' => :'ad-discover-iis-app',
|
|
217
246
|
:'ad_discover_services' => :'ad-discover-services',
|
|
@@ -234,6 +263,7 @@ module Akeyless
|
|
|
234
263
|
:'ad_winrm_over_http' => :'ad-winrm-over-http',
|
|
235
264
|
:'ad_winrm_port' => :'ad-winrm-port',
|
|
236
265
|
:'ad_discover_local_users' => :'ad_discover_local_users',
|
|
266
|
+
:'ai_certificate_discovery' => :'ai-certificate-discovery',
|
|
237
267
|
:'aws_key' => :'aws-key',
|
|
238
268
|
:'aws_key_id' => :'aws-key-id',
|
|
239
269
|
:'aws_region' => :'aws-region',
|
|
@@ -241,8 +271,13 @@ module Akeyless
|
|
|
241
271
|
:'azure_kv_name' => :'azure-kv-name',
|
|
242
272
|
:'azure_secret' => :'azure-secret',
|
|
243
273
|
:'azure_tenant_id' => :'azure-tenant-id',
|
|
274
|
+
:'conjur_account' => :'conjur-account',
|
|
275
|
+
:'conjur_api_key' => :'conjur-api-key',
|
|
276
|
+
:'conjur_url' => :'conjur-url',
|
|
277
|
+
:'conjur_username' => :'conjur-username',
|
|
244
278
|
:'expiration_event_in' => :'expiration-event-in',
|
|
245
279
|
:'gcp_key' => :'gcp-key',
|
|
280
|
+
:'gcp_project_id' => :'gcp-project-id',
|
|
246
281
|
:'hashi_json' => :'hashi-json',
|
|
247
282
|
:'hashi_ns' => :'hashi-ns',
|
|
248
283
|
:'hashi_token' => :'hashi-token',
|
|
@@ -273,7 +308,8 @@ module Akeyless
|
|
|
273
308
|
:'si_users_path_template' => :'si-users-path-template',
|
|
274
309
|
:'target_location' => :'target-location',
|
|
275
310
|
:'token' => :'token',
|
|
276
|
-
:'uid_token' => :'uid-token'
|
|
311
|
+
:'uid_token' => :'uid-token',
|
|
312
|
+
:'use_gw_cloud_identity' => :'use-gw-cloud-identity'
|
|
277
313
|
}
|
|
278
314
|
end
|
|
279
315
|
|
|
@@ -287,6 +323,8 @@ module Akeyless
|
|
|
287
323
|
{
|
|
288
324
|
:'service_account_key_decoded' => :'String',
|
|
289
325
|
:'ad_auto_rotate' => :'String',
|
|
326
|
+
:'ad_cert_expiration_event_in' => :'Array<String>',
|
|
327
|
+
:'ad_certificates_path_template' => :'String',
|
|
290
328
|
:'ad_computer_base_dn' => :'String',
|
|
291
329
|
:'ad_discover_iis_app' => :'String',
|
|
292
330
|
:'ad_discover_services' => :'String',
|
|
@@ -309,6 +347,7 @@ module Akeyless
|
|
|
309
347
|
:'ad_winrm_over_http' => :'String',
|
|
310
348
|
:'ad_winrm_port' => :'String',
|
|
311
349
|
:'ad_discover_local_users' => :'String',
|
|
350
|
+
:'ai_certificate_discovery' => :'String',
|
|
312
351
|
:'aws_key' => :'String',
|
|
313
352
|
:'aws_key_id' => :'String',
|
|
314
353
|
:'aws_region' => :'String',
|
|
@@ -316,8 +355,13 @@ module Akeyless
|
|
|
316
355
|
:'azure_kv_name' => :'String',
|
|
317
356
|
:'azure_secret' => :'String',
|
|
318
357
|
:'azure_tenant_id' => :'String',
|
|
358
|
+
:'conjur_account' => :'String',
|
|
359
|
+
:'conjur_api_key' => :'String',
|
|
360
|
+
:'conjur_url' => :'String',
|
|
361
|
+
:'conjur_username' => :'String',
|
|
319
362
|
:'expiration_event_in' => :'Array<String>',
|
|
320
363
|
:'gcp_key' => :'String',
|
|
364
|
+
:'gcp_project_id' => :'String',
|
|
321
365
|
:'hashi_json' => :'String',
|
|
322
366
|
:'hashi_ns' => :'Array<String>',
|
|
323
367
|
:'hashi_token' => :'String',
|
|
@@ -348,7 +392,8 @@ module Akeyless
|
|
|
348
392
|
:'si_users_path_template' => :'String',
|
|
349
393
|
:'target_location' => :'String',
|
|
350
394
|
:'token' => :'String',
|
|
351
|
-
:'uid_token' => :'String'
|
|
395
|
+
:'uid_token' => :'String',
|
|
396
|
+
:'use_gw_cloud_identity' => :'Boolean'
|
|
352
397
|
}
|
|
353
398
|
end
|
|
354
399
|
|
|
@@ -381,6 +426,16 @@ module Akeyless
|
|
|
381
426
|
self.ad_auto_rotate = attributes[:'ad_auto_rotate']
|
|
382
427
|
end
|
|
383
428
|
|
|
429
|
+
if attributes.key?(:'ad_cert_expiration_event_in')
|
|
430
|
+
if (value = attributes[:'ad_cert_expiration_event_in']).is_a?(Array)
|
|
431
|
+
self.ad_cert_expiration_event_in = value
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
if attributes.key?(:'ad_certificates_path_template')
|
|
436
|
+
self.ad_certificates_path_template = attributes[:'ad_certificates_path_template']
|
|
437
|
+
end
|
|
438
|
+
|
|
384
439
|
if attributes.key?(:'ad_computer_base_dn')
|
|
385
440
|
self.ad_computer_base_dn = attributes[:'ad_computer_base_dn']
|
|
386
441
|
end
|
|
@@ -485,6 +540,10 @@ module Akeyless
|
|
|
485
540
|
self.ad_discover_local_users = attributes[:'ad_discover_local_users']
|
|
486
541
|
end
|
|
487
542
|
|
|
543
|
+
if attributes.key?(:'ai_certificate_discovery')
|
|
544
|
+
self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
|
|
545
|
+
end
|
|
546
|
+
|
|
488
547
|
if attributes.key?(:'aws_key')
|
|
489
548
|
self.aws_key = attributes[:'aws_key']
|
|
490
549
|
end
|
|
@@ -515,6 +574,22 @@ module Akeyless
|
|
|
515
574
|
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
|
516
575
|
end
|
|
517
576
|
|
|
577
|
+
if attributes.key?(:'conjur_account')
|
|
578
|
+
self.conjur_account = attributes[:'conjur_account']
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
if attributes.key?(:'conjur_api_key')
|
|
582
|
+
self.conjur_api_key = attributes[:'conjur_api_key']
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
if attributes.key?(:'conjur_url')
|
|
586
|
+
self.conjur_url = attributes[:'conjur_url']
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
if attributes.key?(:'conjur_username')
|
|
590
|
+
self.conjur_username = attributes[:'conjur_username']
|
|
591
|
+
end
|
|
592
|
+
|
|
518
593
|
if attributes.key?(:'expiration_event_in')
|
|
519
594
|
if (value = attributes[:'expiration_event_in']).is_a?(Array)
|
|
520
595
|
self.expiration_event_in = value
|
|
@@ -525,6 +600,10 @@ module Akeyless
|
|
|
525
600
|
self.gcp_key = attributes[:'gcp_key']
|
|
526
601
|
end
|
|
527
602
|
|
|
603
|
+
if attributes.key?(:'gcp_project_id')
|
|
604
|
+
self.gcp_project_id = attributes[:'gcp_project_id']
|
|
605
|
+
end
|
|
606
|
+
|
|
528
607
|
if attributes.key?(:'hashi_json')
|
|
529
608
|
self.hashi_json = attributes[:'hashi_json']
|
|
530
609
|
else
|
|
@@ -672,6 +751,10 @@ module Akeyless
|
|
|
672
751
|
if attributes.key?(:'uid_token')
|
|
673
752
|
self.uid_token = attributes[:'uid_token']
|
|
674
753
|
end
|
|
754
|
+
|
|
755
|
+
if attributes.key?(:'use_gw_cloud_identity')
|
|
756
|
+
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
|
757
|
+
end
|
|
675
758
|
end
|
|
676
759
|
|
|
677
760
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -716,6 +799,8 @@ module Akeyless
|
|
|
716
799
|
self.class == o.class &&
|
|
717
800
|
service_account_key_decoded == o.service_account_key_decoded &&
|
|
718
801
|
ad_auto_rotate == o.ad_auto_rotate &&
|
|
802
|
+
ad_cert_expiration_event_in == o.ad_cert_expiration_event_in &&
|
|
803
|
+
ad_certificates_path_template == o.ad_certificates_path_template &&
|
|
719
804
|
ad_computer_base_dn == o.ad_computer_base_dn &&
|
|
720
805
|
ad_discover_iis_app == o.ad_discover_iis_app &&
|
|
721
806
|
ad_discover_services == o.ad_discover_services &&
|
|
@@ -738,6 +823,7 @@ module Akeyless
|
|
|
738
823
|
ad_winrm_over_http == o.ad_winrm_over_http &&
|
|
739
824
|
ad_winrm_port == o.ad_winrm_port &&
|
|
740
825
|
ad_discover_local_users == o.ad_discover_local_users &&
|
|
826
|
+
ai_certificate_discovery == o.ai_certificate_discovery &&
|
|
741
827
|
aws_key == o.aws_key &&
|
|
742
828
|
aws_key_id == o.aws_key_id &&
|
|
743
829
|
aws_region == o.aws_region &&
|
|
@@ -745,8 +831,13 @@ module Akeyless
|
|
|
745
831
|
azure_kv_name == o.azure_kv_name &&
|
|
746
832
|
azure_secret == o.azure_secret &&
|
|
747
833
|
azure_tenant_id == o.azure_tenant_id &&
|
|
834
|
+
conjur_account == o.conjur_account &&
|
|
835
|
+
conjur_api_key == o.conjur_api_key &&
|
|
836
|
+
conjur_url == o.conjur_url &&
|
|
837
|
+
conjur_username == o.conjur_username &&
|
|
748
838
|
expiration_event_in == o.expiration_event_in &&
|
|
749
839
|
gcp_key == o.gcp_key &&
|
|
840
|
+
gcp_project_id == o.gcp_project_id &&
|
|
750
841
|
hashi_json == o.hashi_json &&
|
|
751
842
|
hashi_ns == o.hashi_ns &&
|
|
752
843
|
hashi_token == o.hashi_token &&
|
|
@@ -777,7 +868,8 @@ module Akeyless
|
|
|
777
868
|
si_users_path_template == o.si_users_path_template &&
|
|
778
869
|
target_location == o.target_location &&
|
|
779
870
|
token == o.token &&
|
|
780
|
-
uid_token == o.uid_token
|
|
871
|
+
uid_token == o.uid_token &&
|
|
872
|
+
use_gw_cloud_identity == o.use_gw_cloud_identity
|
|
781
873
|
end
|
|
782
874
|
|
|
783
875
|
# @see the `==` method
|
|
@@ -789,7 +881,7 @@ module Akeyless
|
|
|
789
881
|
# Calculates hash code according to all attributes.
|
|
790
882
|
# @return [Integer] Hash code
|
|
791
883
|
def hash
|
|
792
|
-
[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, 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].hash
|
|
884
|
+
[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, 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
|
|
793
885
|
end
|
|
794
886
|
|
|
795
887
|
# Builds the object from hash
|
|
@@ -17,10 +17,16 @@ module Akeyless
|
|
|
17
17
|
class GCPPayload
|
|
18
18
|
attr_accessor :gcp_credentials_json
|
|
19
19
|
|
|
20
|
+
attr_accessor :project_id
|
|
21
|
+
|
|
22
|
+
attr_accessor :use_gw_cloud_identity
|
|
23
|
+
|
|
20
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
25
|
def self.attribute_map
|
|
22
26
|
{
|
|
23
|
-
:'gcp_credentials_json' => :'gcp_credentials_json'
|
|
27
|
+
:'gcp_credentials_json' => :'gcp_credentials_json',
|
|
28
|
+
:'project_id' => :'project_id',
|
|
29
|
+
:'use_gw_cloud_identity' => :'use_gw_cloud_identity'
|
|
24
30
|
}
|
|
25
31
|
end
|
|
26
32
|
|
|
@@ -32,7 +38,9 @@ module Akeyless
|
|
|
32
38
|
# Attribute type mapping.
|
|
33
39
|
def self.openapi_types
|
|
34
40
|
{
|
|
35
|
-
:'gcp_credentials_json' => :'String'
|
|
41
|
+
:'gcp_credentials_json' => :'String',
|
|
42
|
+
:'project_id' => :'String',
|
|
43
|
+
:'use_gw_cloud_identity' => :'Boolean'
|
|
36
44
|
}
|
|
37
45
|
end
|
|
38
46
|
|
|
@@ -60,6 +68,14 @@ module Akeyless
|
|
|
60
68
|
if attributes.key?(:'gcp_credentials_json')
|
|
61
69
|
self.gcp_credentials_json = attributes[:'gcp_credentials_json']
|
|
62
70
|
end
|
|
71
|
+
|
|
72
|
+
if attributes.key?(:'project_id')
|
|
73
|
+
self.project_id = attributes[:'project_id']
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
if attributes.key?(:'use_gw_cloud_identity')
|
|
77
|
+
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
|
78
|
+
end
|
|
63
79
|
end
|
|
64
80
|
|
|
65
81
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -82,7 +98,9 @@ module Akeyless
|
|
|
82
98
|
def ==(o)
|
|
83
99
|
return true if self.equal?(o)
|
|
84
100
|
self.class == o.class &&
|
|
85
|
-
gcp_credentials_json == o.gcp_credentials_json
|
|
101
|
+
gcp_credentials_json == o.gcp_credentials_json &&
|
|
102
|
+
project_id == o.project_id &&
|
|
103
|
+
use_gw_cloud_identity == o.use_gw_cloud_identity
|
|
86
104
|
end
|
|
87
105
|
|
|
88
106
|
# @see the `==` method
|
|
@@ -94,7 +112,7 @@ module Akeyless
|
|
|
94
112
|
# Calculates hash code according to all attributes.
|
|
95
113
|
# @return [Integer] Hash code
|
|
96
114
|
def hash
|
|
97
|
-
[gcp_credentials_json].hash
|
|
115
|
+
[gcp_credentials_json, project_id, use_gw_cloud_identity].hash
|
|
98
116
|
end
|
|
99
117
|
|
|
100
118
|
# Builds the object from hash
|
|
@@ -21,6 +21,8 @@ module Akeyless
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :data
|
|
23
23
|
|
|
24
|
+
attr_accessor :http_challenge_info
|
|
25
|
+
|
|
24
26
|
attr_accessor :parent_cert
|
|
25
27
|
|
|
26
28
|
attr_accessor :path
|
|
@@ -33,6 +35,7 @@ module Akeyless
|
|
|
33
35
|
:'cert_display_id' => :'cert_display_id',
|
|
34
36
|
:'cert_item_id' => :'cert_item_id',
|
|
35
37
|
:'data' => :'data',
|
|
38
|
+
:'http_challenge_info' => :'http_challenge_info',
|
|
36
39
|
:'parent_cert' => :'parent_cert',
|
|
37
40
|
:'path' => :'path',
|
|
38
41
|
:'reading_token' => :'reading_token'
|
|
@@ -50,6 +53,7 @@ module Akeyless
|
|
|
50
53
|
:'cert_display_id' => :'String',
|
|
51
54
|
:'cert_item_id' => :'Integer',
|
|
52
55
|
:'data' => :'String',
|
|
56
|
+
:'http_challenge_info' => :'HTTPChallengeInfo',
|
|
53
57
|
:'parent_cert' => :'String',
|
|
54
58
|
:'path' => :'String',
|
|
55
59
|
:'reading_token' => :'String'
|
|
@@ -89,6 +93,10 @@ module Akeyless
|
|
|
89
93
|
self.data = attributes[:'data']
|
|
90
94
|
end
|
|
91
95
|
|
|
96
|
+
if attributes.key?(:'http_challenge_info')
|
|
97
|
+
self.http_challenge_info = attributes[:'http_challenge_info']
|
|
98
|
+
end
|
|
99
|
+
|
|
92
100
|
if attributes.key?(:'parent_cert')
|
|
93
101
|
self.parent_cert = attributes[:'parent_cert']
|
|
94
102
|
end
|
|
@@ -125,6 +133,7 @@ module Akeyless
|
|
|
125
133
|
cert_display_id == o.cert_display_id &&
|
|
126
134
|
cert_item_id == o.cert_item_id &&
|
|
127
135
|
data == o.data &&
|
|
136
|
+
http_challenge_info == o.http_challenge_info &&
|
|
128
137
|
parent_cert == o.parent_cert &&
|
|
129
138
|
path == o.path &&
|
|
130
139
|
reading_token == o.reading_token
|
|
@@ -139,7 +148,7 @@ module Akeyless
|
|
|
139
148
|
# Calculates hash code according to all attributes.
|
|
140
149
|
# @return [Integer] Hash code
|
|
141
150
|
def hash
|
|
142
|
-
[cert_display_id, cert_item_id, data, parent_cert, path, reading_token].hash
|
|
151
|
+
[cert_display_id, cert_item_id, data, http_challenge_info, parent_cert, path, reading_token].hash
|
|
143
152
|
end
|
|
144
153
|
|
|
145
154
|
# Builds the object from hash
|