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
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
# targetCreateGoogleTrust is a command that creates a new Google Trust target
|
|
18
|
+
class TargetCreateGoogleTrust
|
|
19
|
+
# ACME challenge type. Options: [dns]
|
|
20
|
+
attr_accessor :acme_challenge
|
|
21
|
+
|
|
22
|
+
# Description of the object
|
|
23
|
+
attr_accessor :description
|
|
24
|
+
|
|
25
|
+
# Name of existing cloud target for DNS credentials. Required when challenge type is dns. Supported providers: AWS, Azure, GCP
|
|
26
|
+
attr_accessor :dns_target_creds
|
|
27
|
+
|
|
28
|
+
# External Account Binding HMAC key (required for ACME account bootstrap on create)
|
|
29
|
+
attr_accessor :eab_hmac_key
|
|
30
|
+
|
|
31
|
+
# External Account Binding key identifier (required for ACME account bootstrap on create)
|
|
32
|
+
attr_accessor :eab_key_id
|
|
33
|
+
|
|
34
|
+
# Email address for ACME account registration
|
|
35
|
+
attr_accessor :email
|
|
36
|
+
|
|
37
|
+
# GCP Cloud DNS project ID. Optional and can be derived from service account
|
|
38
|
+
attr_accessor :gcp_project
|
|
39
|
+
|
|
40
|
+
# Google Trust directory environment. Options: [production/staging]
|
|
41
|
+
attr_accessor :google_trust_url
|
|
42
|
+
|
|
43
|
+
# AWS Route53 hosted zone ID. Required when DNS credentials target is AWS
|
|
44
|
+
attr_accessor :hosted_zone
|
|
45
|
+
|
|
46
|
+
# Set output format to JSON
|
|
47
|
+
attr_accessor :json
|
|
48
|
+
|
|
49
|
+
# The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
|
|
50
|
+
attr_accessor :key
|
|
51
|
+
|
|
52
|
+
# Set the maximum number of versions, limited by the account settings defaults.
|
|
53
|
+
attr_accessor :max_versions
|
|
54
|
+
|
|
55
|
+
# Target name
|
|
56
|
+
attr_accessor :name
|
|
57
|
+
|
|
58
|
+
# Azure resource group name. Required when DNS credentials target is Azure
|
|
59
|
+
attr_accessor :resource_group
|
|
60
|
+
|
|
61
|
+
# Timeout for challenge validation
|
|
62
|
+
attr_accessor :timeout
|
|
63
|
+
|
|
64
|
+
# Authentication token (see `/auth` and `/configure`)
|
|
65
|
+
attr_accessor :token
|
|
66
|
+
|
|
67
|
+
# The universal identity token, Required only for universal_identity authentication
|
|
68
|
+
attr_accessor :uid_token
|
|
69
|
+
|
|
70
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
|
+
def self.attribute_map
|
|
72
|
+
{
|
|
73
|
+
:'acme_challenge' => :'acme-challenge',
|
|
74
|
+
:'description' => :'description',
|
|
75
|
+
:'dns_target_creds' => :'dns-target-creds',
|
|
76
|
+
:'eab_hmac_key' => :'eab-hmac-key',
|
|
77
|
+
:'eab_key_id' => :'eab-key-id',
|
|
78
|
+
:'email' => :'email',
|
|
79
|
+
:'gcp_project' => :'gcp-project',
|
|
80
|
+
:'google_trust_url' => :'google-trust-url',
|
|
81
|
+
:'hosted_zone' => :'hosted-zone',
|
|
82
|
+
:'json' => :'json',
|
|
83
|
+
:'key' => :'key',
|
|
84
|
+
:'max_versions' => :'max-versions',
|
|
85
|
+
:'name' => :'name',
|
|
86
|
+
:'resource_group' => :'resource-group',
|
|
87
|
+
:'timeout' => :'timeout',
|
|
88
|
+
:'token' => :'token',
|
|
89
|
+
:'uid_token' => :'uid-token'
|
|
90
|
+
}
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Returns all the JSON keys this model knows about
|
|
94
|
+
def self.acceptable_attributes
|
|
95
|
+
attribute_map.values
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Attribute type mapping.
|
|
99
|
+
def self.openapi_types
|
|
100
|
+
{
|
|
101
|
+
:'acme_challenge' => :'String',
|
|
102
|
+
:'description' => :'String',
|
|
103
|
+
:'dns_target_creds' => :'String',
|
|
104
|
+
:'eab_hmac_key' => :'String',
|
|
105
|
+
:'eab_key_id' => :'String',
|
|
106
|
+
:'email' => :'String',
|
|
107
|
+
:'gcp_project' => :'String',
|
|
108
|
+
:'google_trust_url' => :'String',
|
|
109
|
+
:'hosted_zone' => :'String',
|
|
110
|
+
:'json' => :'Boolean',
|
|
111
|
+
:'key' => :'String',
|
|
112
|
+
:'max_versions' => :'String',
|
|
113
|
+
:'name' => :'String',
|
|
114
|
+
:'resource_group' => :'String',
|
|
115
|
+
:'timeout' => :'String',
|
|
116
|
+
:'token' => :'String',
|
|
117
|
+
:'uid_token' => :'String'
|
|
118
|
+
}
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# List of attributes with nullable: true
|
|
122
|
+
def self.openapi_nullable
|
|
123
|
+
Set.new([
|
|
124
|
+
])
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Initializes the object
|
|
128
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
129
|
+
def initialize(attributes = {})
|
|
130
|
+
if (!attributes.is_a?(Hash))
|
|
131
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::TargetCreateGoogleTrust` initialize method"
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
135
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
136
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
137
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::TargetCreateGoogleTrust`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
138
|
+
end
|
|
139
|
+
h[k.to_sym] = v
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if attributes.key?(:'acme_challenge')
|
|
143
|
+
self.acme_challenge = attributes[:'acme_challenge']
|
|
144
|
+
else
|
|
145
|
+
self.acme_challenge = 'dns'
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.key?(:'description')
|
|
149
|
+
self.description = attributes[:'description']
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
if attributes.key?(:'dns_target_creds')
|
|
153
|
+
self.dns_target_creds = attributes[:'dns_target_creds']
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
if attributes.key?(:'eab_hmac_key')
|
|
157
|
+
self.eab_hmac_key = attributes[:'eab_hmac_key']
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
if attributes.key?(:'eab_key_id')
|
|
161
|
+
self.eab_key_id = attributes[:'eab_key_id']
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
if attributes.key?(:'email')
|
|
165
|
+
self.email = attributes[:'email']
|
|
166
|
+
else
|
|
167
|
+
self.email = nil
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
if attributes.key?(:'gcp_project')
|
|
171
|
+
self.gcp_project = attributes[:'gcp_project']
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
if attributes.key?(:'google_trust_url')
|
|
175
|
+
self.google_trust_url = attributes[:'google_trust_url']
|
|
176
|
+
else
|
|
177
|
+
self.google_trust_url = 'production'
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
if attributes.key?(:'hosted_zone')
|
|
181
|
+
self.hosted_zone = attributes[:'hosted_zone']
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
if attributes.key?(:'json')
|
|
185
|
+
self.json = attributes[:'json']
|
|
186
|
+
else
|
|
187
|
+
self.json = false
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
if attributes.key?(:'key')
|
|
191
|
+
self.key = attributes[:'key']
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'max_versions')
|
|
195
|
+
self.max_versions = attributes[:'max_versions']
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes.key?(:'name')
|
|
199
|
+
self.name = attributes[:'name']
|
|
200
|
+
else
|
|
201
|
+
self.name = nil
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
if attributes.key?(:'resource_group')
|
|
205
|
+
self.resource_group = attributes[:'resource_group']
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
if attributes.key?(:'timeout')
|
|
209
|
+
self.timeout = attributes[:'timeout']
|
|
210
|
+
else
|
|
211
|
+
self.timeout = '5m'
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
if attributes.key?(:'token')
|
|
215
|
+
self.token = attributes[:'token']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if attributes.key?(:'uid_token')
|
|
219
|
+
self.uid_token = attributes[:'uid_token']
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
224
|
+
# @return Array for valid properties with the reasons
|
|
225
|
+
def list_invalid_properties
|
|
226
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
227
|
+
invalid_properties = Array.new
|
|
228
|
+
if @email.nil?
|
|
229
|
+
invalid_properties.push('invalid value for "email", email cannot be nil.')
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
if @name.nil?
|
|
233
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
invalid_properties
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Check to see if the all the properties in the model are valid
|
|
240
|
+
# @return true if the model is valid
|
|
241
|
+
def valid?
|
|
242
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
243
|
+
return false if @email.nil?
|
|
244
|
+
return false if @name.nil?
|
|
245
|
+
true
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# Checks equality by comparing each attribute.
|
|
249
|
+
# @param [Object] Object to be compared
|
|
250
|
+
def ==(o)
|
|
251
|
+
return true if self.equal?(o)
|
|
252
|
+
self.class == o.class &&
|
|
253
|
+
acme_challenge == o.acme_challenge &&
|
|
254
|
+
description == o.description &&
|
|
255
|
+
dns_target_creds == o.dns_target_creds &&
|
|
256
|
+
eab_hmac_key == o.eab_hmac_key &&
|
|
257
|
+
eab_key_id == o.eab_key_id &&
|
|
258
|
+
email == o.email &&
|
|
259
|
+
gcp_project == o.gcp_project &&
|
|
260
|
+
google_trust_url == o.google_trust_url &&
|
|
261
|
+
hosted_zone == o.hosted_zone &&
|
|
262
|
+
json == o.json &&
|
|
263
|
+
key == o.key &&
|
|
264
|
+
max_versions == o.max_versions &&
|
|
265
|
+
name == o.name &&
|
|
266
|
+
resource_group == o.resource_group &&
|
|
267
|
+
timeout == o.timeout &&
|
|
268
|
+
token == o.token &&
|
|
269
|
+
uid_token == o.uid_token
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# @see the `==` method
|
|
273
|
+
# @param [Object] Object to be compared
|
|
274
|
+
def eql?(o)
|
|
275
|
+
self == o
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# Calculates hash code according to all attributes.
|
|
279
|
+
# @return [Integer] Hash code
|
|
280
|
+
def hash
|
|
281
|
+
[acme_challenge, description, dns_target_creds, eab_hmac_key, eab_key_id, email, gcp_project, google_trust_url, hosted_zone, json, key, max_versions, name, resource_group, timeout, token, uid_token].hash
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# Builds the object from hash
|
|
285
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
286
|
+
# @return [Object] Returns the model itself
|
|
287
|
+
def self.build_from_hash(attributes)
|
|
288
|
+
return nil unless attributes.is_a?(Hash)
|
|
289
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
290
|
+
transformed_hash = {}
|
|
291
|
+
openapi_types.each_pair do |key, type|
|
|
292
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
293
|
+
transformed_hash["#{key}"] = nil
|
|
294
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
295
|
+
# check to ensure the input is an array given that the attribute
|
|
296
|
+
# is documented as an array but the input is not
|
|
297
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
298
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
299
|
+
end
|
|
300
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
301
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
302
|
+
end
|
|
303
|
+
end
|
|
304
|
+
new(transformed_hash)
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
# Deserializes the data based on type
|
|
308
|
+
# @param string type Data type
|
|
309
|
+
# @param string value Value to be deserialized
|
|
310
|
+
# @return [Object] Deserialized data
|
|
311
|
+
def self._deserialize(type, value)
|
|
312
|
+
case type.to_sym
|
|
313
|
+
when :Time
|
|
314
|
+
Time.parse(value)
|
|
315
|
+
when :Date
|
|
316
|
+
Date.parse(value)
|
|
317
|
+
when :String
|
|
318
|
+
value.to_s
|
|
319
|
+
when :Integer
|
|
320
|
+
value.to_i
|
|
321
|
+
when :Float
|
|
322
|
+
value.to_f
|
|
323
|
+
when :Boolean
|
|
324
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
325
|
+
true
|
|
326
|
+
else
|
|
327
|
+
false
|
|
328
|
+
end
|
|
329
|
+
when :Object
|
|
330
|
+
# generic object (usually a Hash), return directly
|
|
331
|
+
value
|
|
332
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
333
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
334
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
335
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
336
|
+
k_type = Regexp.last_match[:k_type]
|
|
337
|
+
v_type = Regexp.last_match[:v_type]
|
|
338
|
+
{}.tap do |hash|
|
|
339
|
+
value.each do |k, v|
|
|
340
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
341
|
+
end
|
|
342
|
+
end
|
|
343
|
+
else # model
|
|
344
|
+
# models (e.g. Pet) or oneOf
|
|
345
|
+
klass = Akeyless.const_get(type)
|
|
346
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
347
|
+
end
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
# Returns the string representation of the object
|
|
351
|
+
# @return [String] String presentation of the object
|
|
352
|
+
def to_s
|
|
353
|
+
to_hash.to_s
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
357
|
+
# @return [Hash] Returns the object in the form of hash
|
|
358
|
+
def to_body
|
|
359
|
+
to_hash
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# Returns the object in the form of hash
|
|
363
|
+
# @return [Hash] Returns the object in the form of hash
|
|
364
|
+
def to_hash
|
|
365
|
+
hash = {}
|
|
366
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
367
|
+
value = self.send(attr)
|
|
368
|
+
if value.nil?
|
|
369
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
370
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
hash[param] = _to_hash(value)
|
|
374
|
+
end
|
|
375
|
+
hash
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
# Outputs non-array value in the form of hash
|
|
379
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
380
|
+
# @param [Object] value Any valid value
|
|
381
|
+
# @return [Hash] Returns the value in the form of hash
|
|
382
|
+
def _to_hash(value)
|
|
383
|
+
if value.is_a?(Array)
|
|
384
|
+
value.compact.map { |v| _to_hash(v) }
|
|
385
|
+
elsif value.is_a?(Hash)
|
|
386
|
+
{}.tap do |hash|
|
|
387
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
388
|
+
end
|
|
389
|
+
elsif value.respond_to? :to_hash
|
|
390
|
+
value.to_hash
|
|
391
|
+
else
|
|
392
|
+
value
|
|
393
|
+
end
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
end
|
|
@@ -142,6 +142,8 @@ module Akeyless
|
|
|
142
142
|
|
|
143
143
|
if attributes.key?(:'email')
|
|
144
144
|
self.email = attributes[:'email']
|
|
145
|
+
else
|
|
146
|
+
self.email = nil
|
|
145
147
|
end
|
|
146
148
|
|
|
147
149
|
if attributes.key?(:'gcp_project')
|
|
@@ -202,6 +204,10 @@ module Akeyless
|
|
|
202
204
|
def list_invalid_properties
|
|
203
205
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
204
206
|
invalid_properties = Array.new
|
|
207
|
+
if @email.nil?
|
|
208
|
+
invalid_properties.push('invalid value for "email", email cannot be nil.')
|
|
209
|
+
end
|
|
210
|
+
|
|
205
211
|
if @name.nil?
|
|
206
212
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
207
213
|
end
|
|
@@ -213,6 +219,7 @@ module Akeyless
|
|
|
213
219
|
# @return true if the model is valid
|
|
214
220
|
def valid?
|
|
215
221
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
222
|
+
return false if @email.nil?
|
|
216
223
|
return false if @name.nil?
|
|
217
224
|
true
|
|
218
225
|
end
|
|
@@ -38,6 +38,9 @@ module Akeyless
|
|
|
38
38
|
attr_accessor :password
|
|
39
39
|
|
|
40
40
|
# Splunk Token (used when authenticating with token)
|
|
41
|
+
attr_accessor :splunk_token
|
|
42
|
+
|
|
43
|
+
# Authentication token (see `/auth` and `/configure`)
|
|
41
44
|
attr_accessor :token
|
|
42
45
|
|
|
43
46
|
# Splunk Token Owner (required when using token authentication for rotation)
|
|
@@ -65,6 +68,7 @@ module Akeyless
|
|
|
65
68
|
:'max_versions' => :'max-versions',
|
|
66
69
|
:'name' => :'name',
|
|
67
70
|
:'password' => :'password',
|
|
71
|
+
:'splunk_token' => :'splunk-token',
|
|
68
72
|
:'token' => :'token',
|
|
69
73
|
:'token_owner' => :'token-owner',
|
|
70
74
|
:'uid_token' => :'uid-token',
|
|
@@ -89,6 +93,7 @@ module Akeyless
|
|
|
89
93
|
:'max_versions' => :'String',
|
|
90
94
|
:'name' => :'String',
|
|
91
95
|
:'password' => :'String',
|
|
96
|
+
:'splunk_token' => :'String',
|
|
92
97
|
:'token' => :'String',
|
|
93
98
|
:'token_owner' => :'String',
|
|
94
99
|
:'uid_token' => :'String',
|
|
@@ -151,6 +156,10 @@ module Akeyless
|
|
|
151
156
|
self.password = attributes[:'password']
|
|
152
157
|
end
|
|
153
158
|
|
|
159
|
+
if attributes.key?(:'splunk_token')
|
|
160
|
+
self.splunk_token = attributes[:'splunk_token']
|
|
161
|
+
end
|
|
162
|
+
|
|
154
163
|
if attributes.key?(:'token')
|
|
155
164
|
self.token = attributes[:'token']
|
|
156
165
|
end
|
|
@@ -217,6 +226,7 @@ module Akeyless
|
|
|
217
226
|
max_versions == o.max_versions &&
|
|
218
227
|
name == o.name &&
|
|
219
228
|
password == o.password &&
|
|
229
|
+
splunk_token == o.splunk_token &&
|
|
220
230
|
token == o.token &&
|
|
221
231
|
token_owner == o.token_owner &&
|
|
222
232
|
uid_token == o.uid_token &&
|
|
@@ -234,7 +244,7 @@ module Akeyless
|
|
|
234
244
|
# Calculates hash code according to all attributes.
|
|
235
245
|
# @return [Integer] Hash code
|
|
236
246
|
def hash
|
|
237
|
-
[audience, description, json, key, max_versions, name, password, token, token_owner, uid_token, url, use_tls, username].hash
|
|
247
|
+
[audience, description, json, key, max_versions, name, password, splunk_token, token, token_owner, uid_token, url, use_tls, username].hash
|
|
238
248
|
end
|
|
239
249
|
|
|
240
250
|
# Builds the object from hash
|
|
@@ -27,6 +27,8 @@ module Akeyless
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :db_target_details
|
|
29
29
|
|
|
30
|
+
attr_accessor :digicert_target_details
|
|
31
|
+
|
|
30
32
|
attr_accessor :dockerhub_target_details
|
|
31
33
|
|
|
32
34
|
attr_accessor :eks_target_details
|
|
@@ -47,6 +49,8 @@ module Akeyless
|
|
|
47
49
|
|
|
48
50
|
attr_accessor :godaddy_target_details
|
|
49
51
|
|
|
52
|
+
attr_accessor :google_trust_target_details
|
|
53
|
+
|
|
50
54
|
attr_accessor :hashi_vault_target_details
|
|
51
55
|
|
|
52
56
|
attr_accessor :ldap_target_details
|
|
@@ -90,6 +94,7 @@ module Akeyless
|
|
|
90
94
|
:'chef_target_details' => :'chef_target_details',
|
|
91
95
|
:'custom_target_details' => :'custom_target_details',
|
|
92
96
|
:'db_target_details' => :'db_target_details',
|
|
97
|
+
:'digicert_target_details' => :'digicert_target_details',
|
|
93
98
|
:'dockerhub_target_details' => :'dockerhub_target_details',
|
|
94
99
|
:'eks_target_details' => :'eks_target_details',
|
|
95
100
|
:'gcp_target_details' => :'gcp_target_details',
|
|
@@ -100,6 +105,7 @@ module Akeyless
|
|
|
100
105
|
:'globalsign_atlas_target_details' => :'globalsign_atlas_target_details',
|
|
101
106
|
:'globalsign_target_details' => :'globalsign_target_details',
|
|
102
107
|
:'godaddy_target_details' => :'godaddy_target_details',
|
|
108
|
+
:'google_trust_target_details' => :'google_trust_target_details',
|
|
103
109
|
:'hashi_vault_target_details' => :'hashi_vault_target_details',
|
|
104
110
|
:'ldap_target_details' => :'ldap_target_details',
|
|
105
111
|
:'letsencrypt_target_details' => :'letsencrypt_target_details',
|
|
@@ -134,6 +140,7 @@ module Akeyless
|
|
|
134
140
|
:'chef_target_details' => :'ChefTargetDetails',
|
|
135
141
|
:'custom_target_details' => :'CustomTargetDetails',
|
|
136
142
|
:'db_target_details' => :'DbTargetDetails',
|
|
143
|
+
:'digicert_target_details' => :'DigiCertTargetDetails',
|
|
137
144
|
:'dockerhub_target_details' => :'DockerhubTargetDetails',
|
|
138
145
|
:'eks_target_details' => :'EKSTargetDetails',
|
|
139
146
|
:'gcp_target_details' => :'GcpTargetDetails',
|
|
@@ -144,6 +151,7 @@ module Akeyless
|
|
|
144
151
|
:'globalsign_atlas_target_details' => :'GlobalSignAtlasTargetDetails',
|
|
145
152
|
:'globalsign_target_details' => :'GlobalSignGCCTargetDetails',
|
|
146
153
|
:'godaddy_target_details' => :'GodaddyTargetDetails',
|
|
154
|
+
:'google_trust_target_details' => :'GoogleTrustTargetDetails',
|
|
147
155
|
:'hashi_vault_target_details' => :'HashiVaultTargetDetails',
|
|
148
156
|
:'ldap_target_details' => :'LdapTargetDetails',
|
|
149
157
|
:'letsencrypt_target_details' => :'LetsEncryptTargetDetails',
|
|
@@ -209,6 +217,10 @@ module Akeyless
|
|
|
209
217
|
self.db_target_details = attributes[:'db_target_details']
|
|
210
218
|
end
|
|
211
219
|
|
|
220
|
+
if attributes.key?(:'digicert_target_details')
|
|
221
|
+
self.digicert_target_details = attributes[:'digicert_target_details']
|
|
222
|
+
end
|
|
223
|
+
|
|
212
224
|
if attributes.key?(:'dockerhub_target_details')
|
|
213
225
|
self.dockerhub_target_details = attributes[:'dockerhub_target_details']
|
|
214
226
|
end
|
|
@@ -249,6 +261,10 @@ module Akeyless
|
|
|
249
261
|
self.godaddy_target_details = attributes[:'godaddy_target_details']
|
|
250
262
|
end
|
|
251
263
|
|
|
264
|
+
if attributes.key?(:'google_trust_target_details')
|
|
265
|
+
self.google_trust_target_details = attributes[:'google_trust_target_details']
|
|
266
|
+
end
|
|
267
|
+
|
|
252
268
|
if attributes.key?(:'hashi_vault_target_details')
|
|
253
269
|
self.hashi_vault_target_details = attributes[:'hashi_vault_target_details']
|
|
254
270
|
end
|
|
@@ -344,6 +360,7 @@ module Akeyless
|
|
|
344
360
|
chef_target_details == o.chef_target_details &&
|
|
345
361
|
custom_target_details == o.custom_target_details &&
|
|
346
362
|
db_target_details == o.db_target_details &&
|
|
363
|
+
digicert_target_details == o.digicert_target_details &&
|
|
347
364
|
dockerhub_target_details == o.dockerhub_target_details &&
|
|
348
365
|
eks_target_details == o.eks_target_details &&
|
|
349
366
|
gcp_target_details == o.gcp_target_details &&
|
|
@@ -354,6 +371,7 @@ module Akeyless
|
|
|
354
371
|
globalsign_atlas_target_details == o.globalsign_atlas_target_details &&
|
|
355
372
|
globalsign_target_details == o.globalsign_target_details &&
|
|
356
373
|
godaddy_target_details == o.godaddy_target_details &&
|
|
374
|
+
google_trust_target_details == o.google_trust_target_details &&
|
|
357
375
|
hashi_vault_target_details == o.hashi_vault_target_details &&
|
|
358
376
|
ldap_target_details == o.ldap_target_details &&
|
|
359
377
|
letsencrypt_target_details == o.letsencrypt_target_details &&
|
|
@@ -382,7 +400,7 @@ module Akeyless
|
|
|
382
400
|
# Calculates hash code according to all attributes.
|
|
383
401
|
# @return [Integer] Hash code
|
|
384
402
|
def hash
|
|
385
|
-
[artifactory_target_details, aws_target_details, azure_target_details, chef_target_details, custom_target_details, db_target_details, dockerhub_target_details, eks_target_details, gcp_target_details, gemini_target_details, github_target_details, gitlab_target_details, gke_target_details, globalsign_atlas_target_details, globalsign_target_details, godaddy_target_details, hashi_vault_target_details, ldap_target_details, letsencrypt_target_details, linked_target_details, mongo_db_target_details, native_k8s_target_details, openai_target_details, ping_target_details, rabbit_mq_target_details, salesforce_target_details, sectigo_target_details, splunk_target_details, ssh_target_details, venafi_target_details, web_target_details, windows_target_details, zerossl_target_details].hash
|
|
403
|
+
[artifactory_target_details, aws_target_details, azure_target_details, chef_target_details, custom_target_details, db_target_details, digicert_target_details, dockerhub_target_details, eks_target_details, gcp_target_details, gemini_target_details, github_target_details, gitlab_target_details, gke_target_details, globalsign_atlas_target_details, globalsign_target_details, godaddy_target_details, google_trust_target_details, hashi_vault_target_details, ldap_target_details, letsencrypt_target_details, linked_target_details, mongo_db_target_details, native_k8s_target_details, openai_target_details, ping_target_details, rabbit_mq_target_details, salesforce_target_details, sectigo_target_details, splunk_target_details, ssh_target_details, venafi_target_details, web_target_details, windows_target_details, zerossl_target_details].hash
|
|
386
404
|
end
|
|
387
405
|
|
|
388
406
|
# Builds the object from hash
|
|
@@ -15,6 +15,9 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class TargetUpdateAzure
|
|
18
|
+
# Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud.
|
|
19
|
+
attr_accessor :azure_cloud
|
|
20
|
+
|
|
18
21
|
# Azure client/application id
|
|
19
22
|
attr_accessor :client_id
|
|
20
23
|
|
|
@@ -69,6 +72,7 @@ module Akeyless
|
|
|
69
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
70
73
|
def self.attribute_map
|
|
71
74
|
{
|
|
75
|
+
:'azure_cloud' => :'azure-cloud',
|
|
72
76
|
:'client_id' => :'client-id',
|
|
73
77
|
:'client_secret' => :'client-secret',
|
|
74
78
|
:'connection_type' => :'connection-type',
|
|
@@ -97,6 +101,7 @@ module Akeyless
|
|
|
97
101
|
# Attribute type mapping.
|
|
98
102
|
def self.openapi_types
|
|
99
103
|
{
|
|
104
|
+
:'azure_cloud' => :'String',
|
|
100
105
|
:'client_id' => :'String',
|
|
101
106
|
:'client_secret' => :'String',
|
|
102
107
|
:'connection_type' => :'String',
|
|
@@ -138,6 +143,12 @@ module Akeyless
|
|
|
138
143
|
h[k.to_sym] = v
|
|
139
144
|
}
|
|
140
145
|
|
|
146
|
+
if attributes.key?(:'azure_cloud')
|
|
147
|
+
self.azure_cloud = attributes[:'azure_cloud']
|
|
148
|
+
else
|
|
149
|
+
self.azure_cloud = 'AzureCloud'
|
|
150
|
+
end
|
|
151
|
+
|
|
141
152
|
if attributes.key?(:'client_id')
|
|
142
153
|
self.client_id = attributes[:'client_id']
|
|
143
154
|
end
|
|
@@ -238,6 +249,7 @@ module Akeyless
|
|
|
238
249
|
def ==(o)
|
|
239
250
|
return true if self.equal?(o)
|
|
240
251
|
self.class == o.class &&
|
|
252
|
+
azure_cloud == o.azure_cloud &&
|
|
241
253
|
client_id == o.client_id &&
|
|
242
254
|
client_secret == o.client_secret &&
|
|
243
255
|
connection_type == o.connection_type &&
|
|
@@ -266,7 +278,7 @@ module Akeyless
|
|
|
266
278
|
# Calculates hash code according to all attributes.
|
|
267
279
|
# @return [Integer] Hash code
|
|
268
280
|
def hash
|
|
269
|
-
[client_id, client_secret, connection_type, description, json, keep_prev_version, key, max_versions, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
|
281
|
+
[azure_cloud, client_id, client_secret, connection_type, description, json, keep_prev_version, key, max_versions, name, new_name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
|
|
270
282
|
end
|
|
271
283
|
|
|
272
284
|
# Builds the object from hash
|