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,227 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class VaultAddress
|
|
18
|
+
# The access-id used to resolve the tenant URLs
|
|
19
|
+
attr_accessor :access_id
|
|
20
|
+
|
|
21
|
+
# Set output format to JSON
|
|
22
|
+
attr_accessor :json
|
|
23
|
+
|
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
|
+
def self.attribute_map
|
|
26
|
+
{
|
|
27
|
+
:'access_id' => :'access-id',
|
|
28
|
+
:'json' => :'json'
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Returns all the JSON keys this model knows about
|
|
33
|
+
def self.acceptable_attributes
|
|
34
|
+
attribute_map.values
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Attribute type mapping.
|
|
38
|
+
def self.openapi_types
|
|
39
|
+
{
|
|
40
|
+
:'access_id' => :'String',
|
|
41
|
+
:'json' => :'Boolean'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# List of attributes with nullable: true
|
|
46
|
+
def self.openapi_nullable
|
|
47
|
+
Set.new([
|
|
48
|
+
])
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Initializes the object
|
|
52
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
53
|
+
def initialize(attributes = {})
|
|
54
|
+
if (!attributes.is_a?(Hash))
|
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::VaultAddress` initialize method"
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::VaultAddress`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
62
|
+
end
|
|
63
|
+
h[k.to_sym] = v
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if attributes.key?(:'access_id')
|
|
67
|
+
self.access_id = attributes[:'access_id']
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'json')
|
|
71
|
+
self.json = attributes[:'json']
|
|
72
|
+
else
|
|
73
|
+
self.json = false
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
78
|
+
# @return Array for valid properties with the reasons
|
|
79
|
+
def list_invalid_properties
|
|
80
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
81
|
+
invalid_properties = Array.new
|
|
82
|
+
invalid_properties
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Check to see if the all the properties in the model are valid
|
|
86
|
+
# @return true if the model is valid
|
|
87
|
+
def valid?
|
|
88
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
89
|
+
true
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Checks equality by comparing each attribute.
|
|
93
|
+
# @param [Object] Object to be compared
|
|
94
|
+
def ==(o)
|
|
95
|
+
return true if self.equal?(o)
|
|
96
|
+
self.class == o.class &&
|
|
97
|
+
access_id == o.access_id &&
|
|
98
|
+
json == o.json
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# @see the `==` method
|
|
102
|
+
# @param [Object] Object to be compared
|
|
103
|
+
def eql?(o)
|
|
104
|
+
self == o
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Calculates hash code according to all attributes.
|
|
108
|
+
# @return [Integer] Hash code
|
|
109
|
+
def hash
|
|
110
|
+
[access_id, json].hash
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Builds the object from hash
|
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
115
|
+
# @return [Object] Returns the model itself
|
|
116
|
+
def self.build_from_hash(attributes)
|
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
|
118
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
119
|
+
transformed_hash = {}
|
|
120
|
+
openapi_types.each_pair do |key, type|
|
|
121
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
122
|
+
transformed_hash["#{key}"] = nil
|
|
123
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
124
|
+
# check to ensure the input is an array given that the attribute
|
|
125
|
+
# is documented as an array but the input is not
|
|
126
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
127
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
128
|
+
end
|
|
129
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
130
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
new(transformed_hash)
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Deserializes the data based on type
|
|
137
|
+
# @param string type Data type
|
|
138
|
+
# @param string value Value to be deserialized
|
|
139
|
+
# @return [Object] Deserialized data
|
|
140
|
+
def self._deserialize(type, value)
|
|
141
|
+
case type.to_sym
|
|
142
|
+
when :Time
|
|
143
|
+
Time.parse(value)
|
|
144
|
+
when :Date
|
|
145
|
+
Date.parse(value)
|
|
146
|
+
when :String
|
|
147
|
+
value.to_s
|
|
148
|
+
when :Integer
|
|
149
|
+
value.to_i
|
|
150
|
+
when :Float
|
|
151
|
+
value.to_f
|
|
152
|
+
when :Boolean
|
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
154
|
+
true
|
|
155
|
+
else
|
|
156
|
+
false
|
|
157
|
+
end
|
|
158
|
+
when :Object
|
|
159
|
+
# generic object (usually a Hash), return directly
|
|
160
|
+
value
|
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
|
167
|
+
{}.tap do |hash|
|
|
168
|
+
value.each do |k, v|
|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
else # model
|
|
173
|
+
# models (e.g. Pet) or oneOf
|
|
174
|
+
klass = Akeyless.const_get(type)
|
|
175
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Returns the string representation of the object
|
|
180
|
+
# @return [String] String presentation of the object
|
|
181
|
+
def to_s
|
|
182
|
+
to_hash.to_s
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
|
187
|
+
def to_body
|
|
188
|
+
to_hash
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Returns the object in the form of hash
|
|
192
|
+
# @return [Hash] Returns the object in the form of hash
|
|
193
|
+
def to_hash
|
|
194
|
+
hash = {}
|
|
195
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
196
|
+
value = self.send(attr)
|
|
197
|
+
if value.nil?
|
|
198
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
199
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
hash[param] = _to_hash(value)
|
|
203
|
+
end
|
|
204
|
+
hash
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Outputs non-array value in the form of hash
|
|
208
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
209
|
+
# @param [Object] value Any valid value
|
|
210
|
+
# @return [Hash] Returns the value in the form of hash
|
|
211
|
+
def _to_hash(value)
|
|
212
|
+
if value.is_a?(Array)
|
|
213
|
+
value.compact.map { |v| _to_hash(v) }
|
|
214
|
+
elsif value.is_a?(Hash)
|
|
215
|
+
{}.tap do |hash|
|
|
216
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
217
|
+
end
|
|
218
|
+
elsif value.respond_to? :to_hash
|
|
219
|
+
value.to_hash
|
|
220
|
+
else
|
|
221
|
+
value
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
end
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class VaultAddressOutput
|
|
18
|
+
attr_accessor :api_gw_url
|
|
19
|
+
|
|
20
|
+
attr_accessor :vault_url
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'api_gw_url' => :'api_gw_url',
|
|
26
|
+
:'vault_url' => :'vault_url'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns all the JSON keys this model knows about
|
|
31
|
+
def self.acceptable_attributes
|
|
32
|
+
attribute_map.values
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Attribute type mapping.
|
|
36
|
+
def self.openapi_types
|
|
37
|
+
{
|
|
38
|
+
:'api_gw_url' => :'String',
|
|
39
|
+
:'vault_url' => :'String'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# List of attributes with nullable: true
|
|
44
|
+
def self.openapi_nullable
|
|
45
|
+
Set.new([
|
|
46
|
+
])
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
if (!attributes.is_a?(Hash))
|
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::VaultAddressOutput` initialize method"
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::VaultAddressOutput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
60
|
+
end
|
|
61
|
+
h[k.to_sym] = v
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if attributes.key?(:'api_gw_url')
|
|
65
|
+
self.api_gw_url = attributes[:'api_gw_url']
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'vault_url')
|
|
69
|
+
self.vault_url = attributes[:'vault_url']
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
74
|
+
# @return Array for valid properties with the reasons
|
|
75
|
+
def list_invalid_properties
|
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
77
|
+
invalid_properties = Array.new
|
|
78
|
+
invalid_properties
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Check to see if the all the properties in the model are valid
|
|
82
|
+
# @return true if the model is valid
|
|
83
|
+
def valid?
|
|
84
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
85
|
+
true
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Checks equality by comparing each attribute.
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def ==(o)
|
|
91
|
+
return true if self.equal?(o)
|
|
92
|
+
self.class == o.class &&
|
|
93
|
+
api_gw_url == o.api_gw_url &&
|
|
94
|
+
vault_url == o.vault_url
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# @see the `==` method
|
|
98
|
+
# @param [Object] Object to be compared
|
|
99
|
+
def eql?(o)
|
|
100
|
+
self == o
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Calculates hash code according to all attributes.
|
|
104
|
+
# @return [Integer] Hash code
|
|
105
|
+
def hash
|
|
106
|
+
[api_gw_url, vault_url].hash
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Builds the object from hash
|
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
111
|
+
# @return [Object] Returns the model itself
|
|
112
|
+
def self.build_from_hash(attributes)
|
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
|
114
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
115
|
+
transformed_hash = {}
|
|
116
|
+
openapi_types.each_pair do |key, type|
|
|
117
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
118
|
+
transformed_hash["#{key}"] = nil
|
|
119
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
120
|
+
# check to ensure the input is an array given that the attribute
|
|
121
|
+
# is documented as an array but the input is not
|
|
122
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
123
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
124
|
+
end
|
|
125
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
126
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
new(transformed_hash)
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Deserializes the data based on type
|
|
133
|
+
# @param string type Data type
|
|
134
|
+
# @param string value Value to be deserialized
|
|
135
|
+
# @return [Object] Deserialized data
|
|
136
|
+
def self._deserialize(type, value)
|
|
137
|
+
case type.to_sym
|
|
138
|
+
when :Time
|
|
139
|
+
Time.parse(value)
|
|
140
|
+
when :Date
|
|
141
|
+
Date.parse(value)
|
|
142
|
+
when :String
|
|
143
|
+
value.to_s
|
|
144
|
+
when :Integer
|
|
145
|
+
value.to_i
|
|
146
|
+
when :Float
|
|
147
|
+
value.to_f
|
|
148
|
+
when :Boolean
|
|
149
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
150
|
+
true
|
|
151
|
+
else
|
|
152
|
+
false
|
|
153
|
+
end
|
|
154
|
+
when :Object
|
|
155
|
+
# generic object (usually a Hash), return directly
|
|
156
|
+
value
|
|
157
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
158
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
159
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
160
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
161
|
+
k_type = Regexp.last_match[:k_type]
|
|
162
|
+
v_type = Regexp.last_match[:v_type]
|
|
163
|
+
{}.tap do |hash|
|
|
164
|
+
value.each do |k, v|
|
|
165
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
else # model
|
|
169
|
+
# models (e.g. Pet) or oneOf
|
|
170
|
+
klass = Akeyless.const_get(type)
|
|
171
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Returns the string representation of the object
|
|
176
|
+
# @return [String] String presentation of the object
|
|
177
|
+
def to_s
|
|
178
|
+
to_hash.to_s
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
|
183
|
+
def to_body
|
|
184
|
+
to_hash
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Returns the object in the form of hash
|
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
|
189
|
+
def to_hash
|
|
190
|
+
hash = {}
|
|
191
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
192
|
+
value = self.send(attr)
|
|
193
|
+
if value.nil?
|
|
194
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
195
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
hash[param] = _to_hash(value)
|
|
199
|
+
end
|
|
200
|
+
hash
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Outputs non-array value in the form of hash
|
|
204
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
205
|
+
# @param [Object] value Any valid value
|
|
206
|
+
# @return [Hash] Returns the value in the form of hash
|
|
207
|
+
def _to_hash(value)
|
|
208
|
+
if value.is_a?(Array)
|
|
209
|
+
value.compact.map { |v| _to_hash(v) }
|
|
210
|
+
elsif value.is_a?(Hash)
|
|
211
|
+
{}.tap do |hash|
|
|
212
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
213
|
+
end
|
|
214
|
+
elsif value.respond_to? :to_hash
|
|
215
|
+
value.to_hash
|
|
216
|
+
else
|
|
217
|
+
value
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
end
|
|
@@ -23,6 +23,8 @@ module Akeyless
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :encryption_key
|
|
25
25
|
|
|
26
|
+
attr_accessor :netapp
|
|
27
|
+
|
|
26
28
|
attr_accessor :recording_quality
|
|
27
29
|
|
|
28
30
|
attr_accessor :storage_type
|
|
@@ -34,6 +36,7 @@ module Akeyless
|
|
|
34
36
|
:'azure' => :'azure',
|
|
35
37
|
:'compress' => :'compress',
|
|
36
38
|
:'encryption_key' => :'encryption_key',
|
|
39
|
+
:'netapp' => :'netapp',
|
|
37
40
|
:'recording_quality' => :'recording_quality',
|
|
38
41
|
:'storage_type' => :'storage_type'
|
|
39
42
|
}
|
|
@@ -51,6 +54,7 @@ module Akeyless
|
|
|
51
54
|
:'azure' => :'AzureStorage',
|
|
52
55
|
:'compress' => :'Boolean',
|
|
53
56
|
:'encryption_key' => :'String',
|
|
57
|
+
:'netapp' => :'NetappStorage',
|
|
54
58
|
:'recording_quality' => :'String',
|
|
55
59
|
:'storage_type' => :'String'
|
|
56
60
|
}
|
|
@@ -93,6 +97,10 @@ module Akeyless
|
|
|
93
97
|
self.encryption_key = attributes[:'encryption_key']
|
|
94
98
|
end
|
|
95
99
|
|
|
100
|
+
if attributes.key?(:'netapp')
|
|
101
|
+
self.netapp = attributes[:'netapp']
|
|
102
|
+
end
|
|
103
|
+
|
|
96
104
|
if attributes.key?(:'recording_quality')
|
|
97
105
|
self.recording_quality = attributes[:'recording_quality']
|
|
98
106
|
end
|
|
@@ -126,6 +134,7 @@ module Akeyless
|
|
|
126
134
|
azure == o.azure &&
|
|
127
135
|
compress == o.compress &&
|
|
128
136
|
encryption_key == o.encryption_key &&
|
|
137
|
+
netapp == o.netapp &&
|
|
129
138
|
recording_quality == o.recording_quality &&
|
|
130
139
|
storage_type == o.storage_type
|
|
131
140
|
end
|
|
@@ -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
|
-
[aws, azure, compress, encryption_key, recording_quality, storage_type].hash
|
|
151
|
+
[aws, azure, compress, encryption_key, netapp, recording_quality, storage_type].hash
|
|
143
152
|
end
|
|
144
153
|
|
|
145
154
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -142,6 +142,8 @@ require 'akeyless/models/config_change'
|
|
|
142
142
|
require 'akeyless/models/config_hash'
|
|
143
143
|
require 'akeyless/models/configure'
|
|
144
144
|
require 'akeyless/models/configure_output'
|
|
145
|
+
require 'akeyless/models/conjur_migration'
|
|
146
|
+
require 'akeyless/models/conjur_payload'
|
|
145
147
|
require 'akeyless/models/connect'
|
|
146
148
|
require 'akeyless/models/create_aws_target'
|
|
147
149
|
require 'akeyless/models/create_aws_target_output'
|
|
@@ -274,6 +276,7 @@ require 'akeyless/models/decrypt_pkcs1'
|
|
|
274
276
|
require 'akeyless/models/decrypt_pkcs1_output'
|
|
275
277
|
require 'akeyless/models/decrypt_with_classic_key'
|
|
276
278
|
require 'akeyless/models/decrypt_with_classic_key_output'
|
|
279
|
+
require 'akeyless/models/default_auth_method_settings'
|
|
277
280
|
require 'akeyless/models/default_config_part'
|
|
278
281
|
require 'akeyless/models/default_home_page'
|
|
279
282
|
require 'akeyless/models/delete_auth_method'
|
|
@@ -308,6 +311,7 @@ require 'akeyless/models/describe_sub_claims_output'
|
|
|
308
311
|
require 'akeyless/models/desktop_app_conf'
|
|
309
312
|
require 'akeyless/models/detokenize'
|
|
310
313
|
require 'akeyless/models/detokenize_output'
|
|
314
|
+
require 'akeyless/models/digi_cert_target_details'
|
|
311
315
|
require 'akeyless/models/dockerhub_target_details'
|
|
312
316
|
require 'akeyless/models/dynamic_secret_create_artifactory'
|
|
313
317
|
require 'akeyless/models/dynamic_secret_create_aws'
|
|
@@ -661,12 +665,14 @@ require 'akeyless/models/get_target'
|
|
|
661
665
|
require 'akeyless/models/get_target_details'
|
|
662
666
|
require 'akeyless/models/get_target_details_output'
|
|
663
667
|
require 'akeyless/models/get_user_event_status_output'
|
|
668
|
+
require 'akeyless/models/github_metadata'
|
|
664
669
|
require 'akeyless/models/github_target_details'
|
|
665
670
|
require 'akeyless/models/gitlab_target_details'
|
|
666
671
|
require 'akeyless/models/global_sign_atlas_target_details'
|
|
667
672
|
require 'akeyless/models/global_sign_gcc_target_details'
|
|
668
673
|
require 'akeyless/models/godaddy_target_details'
|
|
669
674
|
require 'akeyless/models/google_chronicle_forwarding_config'
|
|
675
|
+
require 'akeyless/models/google_trust_target_details'
|
|
670
676
|
require 'akeyless/models/group'
|
|
671
677
|
require 'akeyless/models/gw_cluster_identity'
|
|
672
678
|
require 'akeyless/models/gw_update_remote_access_session_logs_aws_s3'
|
|
@@ -680,6 +686,7 @@ require 'akeyless/models/gw_update_remote_access_session_logs_splunk'
|
|
|
680
686
|
require 'akeyless/models/gw_update_remote_access_session_logs_stdout'
|
|
681
687
|
require 'akeyless/models/gw_update_remote_access_session_logs_sumologic'
|
|
682
688
|
require 'akeyless/models/gw_update_remote_access_session_logs_syslog'
|
|
689
|
+
require 'akeyless/models/http_challenge_info'
|
|
683
690
|
require 'akeyless/models/hashi_migration'
|
|
684
691
|
require 'akeyless/models/hashi_payload'
|
|
685
692
|
require 'akeyless/models/hashi_vault_target_details'
|
|
@@ -689,9 +696,11 @@ require 'akeyless/models/huawei_access_rules'
|
|
|
689
696
|
require 'akeyless/models/import_passwords'
|
|
690
697
|
require 'akeyless/models/import_passwords_output'
|
|
691
698
|
require 'akeyless/models/importer_info'
|
|
699
|
+
require 'akeyless/models/issuer_overview_info'
|
|
692
700
|
require 'akeyless/models/item'
|
|
693
701
|
require 'akeyless/models/item_custom_fields_details'
|
|
694
702
|
require 'akeyless/models/item_general_info'
|
|
703
|
+
require 'akeyless/models/item_locking_setting'
|
|
695
704
|
require 'akeyless/models/item_sra_status'
|
|
696
705
|
require 'akeyless/models/item_target_association'
|
|
697
706
|
require 'akeyless/models/item_usc_sync_association'
|
|
@@ -768,6 +777,9 @@ require 'akeyless/models/list_shared_items'
|
|
|
768
777
|
require 'akeyless/models/list_sra_sessions_output'
|
|
769
778
|
require 'akeyless/models/list_targets'
|
|
770
779
|
require 'akeyless/models/list_targets_output'
|
|
780
|
+
require 'akeyless/models/lock_item'
|
|
781
|
+
require 'akeyless/models/lock_target'
|
|
782
|
+
require 'akeyless/models/locking_info'
|
|
771
783
|
require 'akeyless/models/log_forwarding_config_part'
|
|
772
784
|
require 'akeyless/models/logstash_log_forwarding_config'
|
|
773
785
|
require 'akeyless/models/logz_io_log_forwarding_config'
|
|
@@ -783,6 +795,7 @@ require 'akeyless/models/mongo_db_target_details'
|
|
|
783
795
|
require 'akeyless/models/move_objects'
|
|
784
796
|
require 'akeyless/models/name'
|
|
785
797
|
require 'akeyless/models/native_k8s_target_details'
|
|
798
|
+
require 'akeyless/models/netapp_storage'
|
|
786
799
|
require 'akeyless/models/next_auto_rotation_event'
|
|
787
800
|
require 'akeyless/models/noti_forwarder'
|
|
788
801
|
require 'akeyless/models/noti_forwarder_details_input'
|
|
@@ -952,6 +965,7 @@ require 'akeyless/models/static_secret_delete_sync_output'
|
|
|
952
965
|
require 'akeyless/models/static_secret_details_info'
|
|
953
966
|
require 'akeyless/models/static_secret_sync'
|
|
954
967
|
require 'akeyless/models/sumologic_log_forwarding_config'
|
|
968
|
+
require 'akeyless/models/sync_counters'
|
|
955
969
|
require 'akeyless/models/syslog_log_forwarding_config'
|
|
956
970
|
require 'akeyless/models/system_access_credentials_reply_obj'
|
|
957
971
|
require 'akeyless/models/system_access_creds_settings'
|
|
@@ -960,6 +974,7 @@ require 'akeyless/models/target_create_artifactory'
|
|
|
960
974
|
require 'akeyless/models/target_create_aws'
|
|
961
975
|
require 'akeyless/models/target_create_azure'
|
|
962
976
|
require 'akeyless/models/target_create_db'
|
|
977
|
+
require 'akeyless/models/target_create_digi_cert'
|
|
963
978
|
require 'akeyless/models/target_create_dockerhub'
|
|
964
979
|
require 'akeyless/models/target_create_eks'
|
|
965
980
|
require 'akeyless/models/target_create_gcp'
|
|
@@ -970,6 +985,7 @@ require 'akeyless/models/target_create_gke'
|
|
|
970
985
|
require 'akeyless/models/target_create_global_sign'
|
|
971
986
|
require 'akeyless/models/target_create_global_sign_atlas'
|
|
972
987
|
require 'akeyless/models/target_create_godaddy'
|
|
988
|
+
require 'akeyless/models/target_create_google_trust'
|
|
973
989
|
require 'akeyless/models/target_create_hashi_vault'
|
|
974
990
|
require 'akeyless/models/target_create_k8s'
|
|
975
991
|
require 'akeyless/models/target_create_ldap'
|
|
@@ -999,6 +1015,7 @@ require 'akeyless/models/target_update_artifactory'
|
|
|
999
1015
|
require 'akeyless/models/target_update_aws'
|
|
1000
1016
|
require 'akeyless/models/target_update_azure'
|
|
1001
1017
|
require 'akeyless/models/target_update_db'
|
|
1018
|
+
require 'akeyless/models/target_update_digi_cert'
|
|
1002
1019
|
require 'akeyless/models/target_update_dockerhub'
|
|
1003
1020
|
require 'akeyless/models/target_update_eks'
|
|
1004
1021
|
require 'akeyless/models/target_update_gcp'
|
|
@@ -1009,6 +1026,7 @@ require 'akeyless/models/target_update_gke'
|
|
|
1009
1026
|
require 'akeyless/models/target_update_global_sign'
|
|
1010
1027
|
require 'akeyless/models/target_update_global_sign_atlas'
|
|
1011
1028
|
require 'akeyless/models/target_update_godaddy'
|
|
1029
|
+
require 'akeyless/models/target_update_google_trust'
|
|
1012
1030
|
require 'akeyless/models/target_update_hashi_vault'
|
|
1013
1031
|
require 'akeyless/models/target_update_k8s'
|
|
1014
1032
|
require 'akeyless/models/target_update_ldap'
|
|
@@ -1041,6 +1059,8 @@ require 'akeyless/models/uid_rotate_token_output'
|
|
|
1041
1059
|
require 'akeyless/models/unconfigure'
|
|
1042
1060
|
require 'akeyless/models/universal_identity_access_rules'
|
|
1043
1061
|
require 'akeyless/models/universal_identity_details'
|
|
1062
|
+
require 'akeyless/models/unlock_item'
|
|
1063
|
+
require 'akeyless/models/unlock_target'
|
|
1044
1064
|
require 'akeyless/models/unwrap_token'
|
|
1045
1065
|
require 'akeyless/models/unwrap_token_output'
|
|
1046
1066
|
require 'akeyless/models/update'
|
|
@@ -1155,8 +1175,12 @@ require 'akeyless/models/usc_list_secrets_output'
|
|
|
1155
1175
|
require 'akeyless/models/usc_sync_info'
|
|
1156
1176
|
require 'akeyless/models/usc_update'
|
|
1157
1177
|
require 'akeyless/models/usc_update_secret_output'
|
|
1178
|
+
require 'akeyless/models/validate_certificate_challenge'
|
|
1179
|
+
require 'akeyless/models/validate_certificate_challenge_output'
|
|
1158
1180
|
require 'akeyless/models/validate_token'
|
|
1159
1181
|
require 'akeyless/models/validate_token_output'
|
|
1182
|
+
require 'akeyless/models/vault_address'
|
|
1183
|
+
require 'akeyless/models/vault_address_output'
|
|
1160
1184
|
require 'akeyless/models/vaultless_tokenizer_info'
|
|
1161
1185
|
require 'akeyless/models/venafi_target_details'
|
|
1162
1186
|
require 'akeyless/models/verify_data_with_classic_key'
|
|
@@ -0,0 +1,42 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Akeyless::ConjurMigration
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::ConjurMigration do
|
|
21
|
+
let(:instance) { Akeyless::ConjurMigration.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ConjurMigration' do
|
|
24
|
+
it 'should create an instance of ConjurMigration' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::ConjurMigration)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "general"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "payload"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|