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
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
|
28
28
|
# A CIDR whitelist with the IPs that the access is restricted to
|
|
29
29
|
attr_accessor :bound_ips
|
|
30
30
|
|
|
31
|
+
# Maximum child token ttl allowed in uid-create-child-token
|
|
32
|
+
attr_accessor :child_ttl_limit
|
|
33
|
+
|
|
31
34
|
# Protection from accidental deletion of this object [true/false]
|
|
32
35
|
attr_accessor :delete_protection
|
|
33
36
|
|
|
@@ -67,6 +70,9 @@ module Akeyless
|
|
|
67
70
|
# Authentication token (see `/auth` and `/configure`)
|
|
68
71
|
attr_accessor :token
|
|
69
72
|
|
|
73
|
+
# Maximum UID tree depth allowed (child of child of ...)
|
|
74
|
+
attr_accessor :tree_length
|
|
75
|
+
|
|
70
76
|
# Token ttl
|
|
71
77
|
attr_accessor :ttl
|
|
72
78
|
|
|
@@ -80,6 +86,7 @@ module Akeyless
|
|
|
80
86
|
:'allowed_client_type' => :'allowed-client-type',
|
|
81
87
|
:'audit_logs_claims' => :'audit-logs-claims',
|
|
82
88
|
:'bound_ips' => :'bound-ips',
|
|
89
|
+
:'child_ttl_limit' => :'child-ttl-limit',
|
|
83
90
|
:'delete_protection' => :'delete_protection',
|
|
84
91
|
:'deny_inheritance' => :'deny-inheritance',
|
|
85
92
|
:'deny_rotate' => :'deny-rotate',
|
|
@@ -93,6 +100,7 @@ module Akeyless
|
|
|
93
100
|
:'new_name' => :'new-name',
|
|
94
101
|
:'product_type' => :'product-type',
|
|
95
102
|
:'token' => :'token',
|
|
103
|
+
:'tree_length' => :'tree-length',
|
|
96
104
|
:'ttl' => :'ttl',
|
|
97
105
|
:'uid_token' => :'uid-token'
|
|
98
106
|
}
|
|
@@ -110,6 +118,7 @@ module Akeyless
|
|
|
110
118
|
:'allowed_client_type' => :'Array<String>',
|
|
111
119
|
:'audit_logs_claims' => :'Array<String>',
|
|
112
120
|
:'bound_ips' => :'Array<String>',
|
|
121
|
+
:'child_ttl_limit' => :'Integer',
|
|
113
122
|
:'delete_protection' => :'String',
|
|
114
123
|
:'deny_inheritance' => :'Boolean',
|
|
115
124
|
:'deny_rotate' => :'Boolean',
|
|
@@ -123,6 +132,7 @@ module Akeyless
|
|
|
123
132
|
:'new_name' => :'String',
|
|
124
133
|
:'product_type' => :'Array<String>',
|
|
125
134
|
:'token' => :'String',
|
|
135
|
+
:'tree_length' => :'Integer',
|
|
126
136
|
:'ttl' => :'Integer',
|
|
127
137
|
:'uid_token' => :'String'
|
|
128
138
|
}
|
|
@@ -173,6 +183,12 @@ module Akeyless
|
|
|
173
183
|
end
|
|
174
184
|
end
|
|
175
185
|
|
|
186
|
+
if attributes.key?(:'child_ttl_limit')
|
|
187
|
+
self.child_ttl_limit = attributes[:'child_ttl_limit']
|
|
188
|
+
else
|
|
189
|
+
self.child_ttl_limit = 43200
|
|
190
|
+
end
|
|
191
|
+
|
|
176
192
|
if attributes.key?(:'delete_protection')
|
|
177
193
|
self.delete_protection = attributes[:'delete_protection']
|
|
178
194
|
end
|
|
@@ -237,6 +253,12 @@ module Akeyless
|
|
|
237
253
|
self.token = attributes[:'token']
|
|
238
254
|
end
|
|
239
255
|
|
|
256
|
+
if attributes.key?(:'tree_length')
|
|
257
|
+
self.tree_length = attributes[:'tree_length']
|
|
258
|
+
else
|
|
259
|
+
self.tree_length = 200
|
|
260
|
+
end
|
|
261
|
+
|
|
240
262
|
if attributes.key?(:'ttl')
|
|
241
263
|
self.ttl = attributes[:'ttl']
|
|
242
264
|
else
|
|
@@ -277,6 +299,7 @@ module Akeyless
|
|
|
277
299
|
allowed_client_type == o.allowed_client_type &&
|
|
278
300
|
audit_logs_claims == o.audit_logs_claims &&
|
|
279
301
|
bound_ips == o.bound_ips &&
|
|
302
|
+
child_ttl_limit == o.child_ttl_limit &&
|
|
280
303
|
delete_protection == o.delete_protection &&
|
|
281
304
|
deny_inheritance == o.deny_inheritance &&
|
|
282
305
|
deny_rotate == o.deny_rotate &&
|
|
@@ -290,6 +313,7 @@ module Akeyless
|
|
|
290
313
|
new_name == o.new_name &&
|
|
291
314
|
product_type == o.product_type &&
|
|
292
315
|
token == o.token &&
|
|
316
|
+
tree_length == o.tree_length &&
|
|
293
317
|
ttl == o.ttl &&
|
|
294
318
|
uid_token == o.uid_token
|
|
295
319
|
end
|
|
@@ -303,7 +327,7 @@ module Akeyless
|
|
|
303
327
|
# Calculates hash code according to all attributes.
|
|
304
328
|
# @return [Integer] Hash code
|
|
305
329
|
def hash
|
|
306
|
-
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, ttl, uid_token].hash
|
|
330
|
+
[access_expires, allowed_client_type, audit_logs_claims, bound_ips, child_ttl_limit, delete_protection, deny_inheritance, deny_rotate, description, expiration_event_in, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, product_type, token, tree_length, ttl, uid_token].hash
|
|
307
331
|
end
|
|
308
332
|
|
|
309
333
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# updateAzureTarget is a command that updates an existing target. [Deprecated: Use target-update-azure command]
|
|
18
18
|
class UpdateAzureTarget
|
|
19
|
+
# Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud.
|
|
20
|
+
attr_accessor :azure_cloud
|
|
21
|
+
|
|
19
22
|
# Azure client/application id
|
|
20
23
|
attr_accessor :client_id
|
|
21
24
|
|
|
@@ -76,6 +79,7 @@ module Akeyless
|
|
|
76
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
77
80
|
def self.attribute_map
|
|
78
81
|
{
|
|
82
|
+
:'azure_cloud' => :'azure-cloud',
|
|
79
83
|
:'client_id' => :'client-id',
|
|
80
84
|
:'client_secret' => :'client-secret',
|
|
81
85
|
:'comment' => :'comment',
|
|
@@ -106,6 +110,7 @@ module Akeyless
|
|
|
106
110
|
# Attribute type mapping.
|
|
107
111
|
def self.openapi_types
|
|
108
112
|
{
|
|
113
|
+
:'azure_cloud' => :'String',
|
|
109
114
|
:'client_id' => :'String',
|
|
110
115
|
:'client_secret' => :'String',
|
|
111
116
|
:'comment' => :'String',
|
|
@@ -149,6 +154,12 @@ module Akeyless
|
|
|
149
154
|
h[k.to_sym] = v
|
|
150
155
|
}
|
|
151
156
|
|
|
157
|
+
if attributes.key?(:'azure_cloud')
|
|
158
|
+
self.azure_cloud = attributes[:'azure_cloud']
|
|
159
|
+
else
|
|
160
|
+
self.azure_cloud = 'AzureCloud'
|
|
161
|
+
end
|
|
162
|
+
|
|
152
163
|
if attributes.key?(:'client_id')
|
|
153
164
|
self.client_id = attributes[:'client_id']
|
|
154
165
|
end
|
|
@@ -257,6 +268,7 @@ module Akeyless
|
|
|
257
268
|
def ==(o)
|
|
258
269
|
return true if self.equal?(o)
|
|
259
270
|
self.class == o.class &&
|
|
271
|
+
azure_cloud == o.azure_cloud &&
|
|
260
272
|
client_id == o.client_id &&
|
|
261
273
|
client_secret == o.client_secret &&
|
|
262
274
|
comment == o.comment &&
|
|
@@ -287,7 +299,7 @@ module Akeyless
|
|
|
287
299
|
# Calculates hash code according to all attributes.
|
|
288
300
|
# @return [Integer] Hash code
|
|
289
301
|
def hash
|
|
290
|
-
[client_id, client_secret, comment, 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, update_version, use_gw_cloud_identity].hash
|
|
302
|
+
[azure_cloud, client_id, client_secret, comment, 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, update_version, use_gw_cloud_identity].hash
|
|
291
303
|
end
|
|
292
304
|
|
|
293
305
|
# Builds the object from hash
|
|
@@ -52,6 +52,9 @@ module Akeyless
|
|
|
52
52
|
# Set output format to JSON
|
|
53
53
|
attr_accessor :json
|
|
54
54
|
|
|
55
|
+
# Lock this secret for read/update while an SRA session is active
|
|
56
|
+
attr_accessor :lock_during_sra_session
|
|
57
|
+
|
|
55
58
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
56
59
|
attr_accessor :max_versions
|
|
57
60
|
|
|
@@ -67,7 +70,7 @@ module Akeyless
|
|
|
67
70
|
# List of the existent tags that will be removed from this item
|
|
68
71
|
attr_accessor :rm_tag
|
|
69
72
|
|
|
70
|
-
#
|
|
73
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
71
74
|
attr_accessor :rotate_after_disconnect
|
|
72
75
|
|
|
73
76
|
# List of the new hosts that will be attached to SRA servers host
|
|
@@ -181,6 +184,7 @@ module Akeyless
|
|
|
181
184
|
:'host_provider' => :'host-provider',
|
|
182
185
|
:'item_custom_fields' => :'item-custom-fields',
|
|
183
186
|
:'json' => :'json',
|
|
187
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
184
188
|
:'max_versions' => :'max-versions',
|
|
185
189
|
:'name' => :'name',
|
|
186
190
|
:'new_metadata' => :'new-metadata',
|
|
@@ -243,6 +247,7 @@ module Akeyless
|
|
|
243
247
|
:'host_provider' => :'String',
|
|
244
248
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
245
249
|
:'json' => :'Boolean',
|
|
250
|
+
:'lock_during_sra_session' => :'String',
|
|
246
251
|
:'max_versions' => :'String',
|
|
247
252
|
:'name' => :'String',
|
|
248
253
|
:'new_metadata' => :'String',
|
|
@@ -369,6 +374,10 @@ module Akeyless
|
|
|
369
374
|
self.json = false
|
|
370
375
|
end
|
|
371
376
|
|
|
377
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
378
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
379
|
+
end
|
|
380
|
+
|
|
372
381
|
if attributes.key?(:'max_versions')
|
|
373
382
|
self.max_versions = attributes[:'max_versions']
|
|
374
383
|
end
|
|
@@ -397,8 +406,6 @@ module Akeyless
|
|
|
397
406
|
|
|
398
407
|
if attributes.key?(:'rotate_after_disconnect')
|
|
399
408
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
400
|
-
else
|
|
401
|
-
self.rotate_after_disconnect = 'false'
|
|
402
409
|
end
|
|
403
410
|
|
|
404
411
|
if attributes.key?(:'secure_access_add_host')
|
|
@@ -578,6 +585,7 @@ module Akeyless
|
|
|
578
585
|
host_provider == o.host_provider &&
|
|
579
586
|
item_custom_fields == o.item_custom_fields &&
|
|
580
587
|
json == o.json &&
|
|
588
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
581
589
|
max_versions == o.max_versions &&
|
|
582
590
|
name == o.name &&
|
|
583
591
|
new_metadata == o.new_metadata &&
|
|
@@ -627,7 +635,7 @@ module Akeyless
|
|
|
627
635
|
# Calculates hash code according to all attributes.
|
|
628
636
|
# @return [Integer] Hash code
|
|
629
637
|
def hash
|
|
630
|
-
[provider_type, accessibility, add_tag, cert_file_data, certificate_format, change_event, delete_protection, description, expiration_event_in, gcp_sm_regions, host_provider, item_custom_fields, json, max_versions, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
|
638
|
+
[provider_type, accessibility, add_tag, cert_file_data, certificate_format, change_event, delete_protection, description, expiration_event_in, gcp_sm_regions, host_provider, item_custom_fields, json, lock_during_sra_session, max_versions, name, new_metadata, new_name, rm_tag, rotate_after_disconnect, secure_access_add_host, secure_access_allow_external_user, secure_access_allow_port_forwading, secure_access_api, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_aws_region, secure_access_bastion_api, secure_access_bastion_issuer, secure_access_bastion_ssh, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_gateway, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, secure_access_rdp_user, secure_access_rm_host, secure_access_ssh, secure_access_ssh_creds, secure_access_ssh_creds_user, secure_access_url, secure_access_use_internal_bastion, secure_access_use_internal_ssh_access, secure_access_web_browsing, secure_access_web_proxy, token, uid_token].hash
|
|
631
639
|
end
|
|
632
640
|
|
|
633
641
|
# Builds the object from hash
|
|
@@ -57,6 +57,9 @@ module Akeyless
|
|
|
57
57
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
58
58
|
attr_accessor :key
|
|
59
59
|
|
|
60
|
+
# Lock this secret for read/update while an SRA session is active
|
|
61
|
+
attr_accessor :lock_during_sra_session
|
|
62
|
+
|
|
60
63
|
# Secret name
|
|
61
64
|
attr_accessor :name
|
|
62
65
|
|
|
@@ -72,7 +75,7 @@ module Akeyless
|
|
|
72
75
|
# List of the existent tags that will be removed from this item
|
|
73
76
|
attr_accessor :rm_tag
|
|
74
77
|
|
|
75
|
-
#
|
|
78
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
76
79
|
attr_accessor :rotate_after_disconnect
|
|
77
80
|
|
|
78
81
|
# rotated-username password
|
|
@@ -182,6 +185,7 @@ module Akeyless
|
|
|
182
185
|
:'json' => :'json',
|
|
183
186
|
:'keep_prev_version' => :'keep-prev-version',
|
|
184
187
|
:'key' => :'key',
|
|
188
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
185
189
|
:'name' => :'name',
|
|
186
190
|
:'new_metadata' => :'new-metadata',
|
|
187
191
|
:'new_name' => :'new-name',
|
|
@@ -243,6 +247,7 @@ module Akeyless
|
|
|
243
247
|
:'json' => :'Boolean',
|
|
244
248
|
:'keep_prev_version' => :'String',
|
|
245
249
|
:'key' => :'String',
|
|
250
|
+
:'lock_during_sra_session' => :'String',
|
|
246
251
|
:'name' => :'String',
|
|
247
252
|
:'new_metadata' => :'String',
|
|
248
253
|
:'new_name' => :'String',
|
|
@@ -367,6 +372,10 @@ module Akeyless
|
|
|
367
372
|
self.key = attributes[:'key']
|
|
368
373
|
end
|
|
369
374
|
|
|
375
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
376
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
377
|
+
end
|
|
378
|
+
|
|
370
379
|
if attributes.key?(:'name')
|
|
371
380
|
self.name = attributes[:'name']
|
|
372
381
|
else
|
|
@@ -395,8 +404,6 @@ module Akeyless
|
|
|
395
404
|
|
|
396
405
|
if attributes.key?(:'rotate_after_disconnect')
|
|
397
406
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
398
|
-
else
|
|
399
|
-
self.rotate_after_disconnect = 'false'
|
|
400
407
|
end
|
|
401
408
|
|
|
402
409
|
if attributes.key?(:'rotated_password')
|
|
@@ -573,6 +580,7 @@ module Akeyless
|
|
|
573
580
|
json == o.json &&
|
|
574
581
|
keep_prev_version == o.keep_prev_version &&
|
|
575
582
|
key == o.key &&
|
|
583
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
576
584
|
name == o.name &&
|
|
577
585
|
new_metadata == o.new_metadata &&
|
|
578
586
|
new_name == o.new_name &&
|
|
@@ -620,7 +628,7 @@ module Akeyless
|
|
|
620
628
|
# Calculates hash code according to all attributes.
|
|
621
629
|
# @return [Integer] Hash code
|
|
622
630
|
def hash
|
|
623
|
-
[provider_type, add_tag, api_id, api_key, auto_rotate, aws_region, custom_payload, description, gcp_key, grace_rotation, host_provider, json, keep_prev_version, key, name, new_metadata, new_name, new_version, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, same_password, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, token, uid_token, user_attribute, user_dn].hash
|
|
631
|
+
[provider_type, add_tag, api_id, api_key, auto_rotate, aws_region, custom_payload, description, gcp_key, grace_rotation, host_provider, json, keep_prev_version, key, lock_during_sra_session, name, new_metadata, new_name, new_version, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, same_password, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, token, uid_token, user_attribute, user_dn].hash
|
|
624
632
|
end
|
|
625
633
|
|
|
626
634
|
# Builds the object from hash
|
|
@@ -39,6 +39,8 @@ module Akeyless
|
|
|
39
39
|
# Name for the new universal secrets
|
|
40
40
|
attr_accessor :secret_name
|
|
41
41
|
|
|
42
|
+
attr_accessor :selected_repositories
|
|
43
|
+
|
|
42
44
|
# Tags for the universal secrets
|
|
43
45
|
attr_accessor :tags
|
|
44
46
|
|
|
@@ -68,6 +70,7 @@ module Akeyless
|
|
|
68
70
|
:'pfx_password' => :'pfx-password',
|
|
69
71
|
:'region' => :'region',
|
|
70
72
|
:'secret_name' => :'secret-name',
|
|
73
|
+
:'selected_repositories' => :'selected-repositories',
|
|
71
74
|
:'tags' => :'tags',
|
|
72
75
|
:'token' => :'token',
|
|
73
76
|
:'uid_token' => :'uid-token',
|
|
@@ -93,6 +96,7 @@ module Akeyless
|
|
|
93
96
|
:'pfx_password' => :'String',
|
|
94
97
|
:'region' => :'String',
|
|
95
98
|
:'secret_name' => :'String',
|
|
99
|
+
:'selected_repositories' => :'String',
|
|
96
100
|
:'tags' => :'Hash<String, String>',
|
|
97
101
|
:'token' => :'String',
|
|
98
102
|
:'uid_token' => :'String',
|
|
@@ -159,6 +163,10 @@ module Akeyless
|
|
|
159
163
|
self.secret_name = nil
|
|
160
164
|
end
|
|
161
165
|
|
|
166
|
+
if attributes.key?(:'selected_repositories')
|
|
167
|
+
self.selected_repositories = attributes[:'selected_repositories']
|
|
168
|
+
end
|
|
169
|
+
|
|
162
170
|
if attributes.key?(:'tags')
|
|
163
171
|
if (value = attributes[:'tags']).is_a?(Hash)
|
|
164
172
|
self.tags = value
|
|
@@ -233,6 +241,7 @@ module Akeyless
|
|
|
233
241
|
pfx_password == o.pfx_password &&
|
|
234
242
|
region == o.region &&
|
|
235
243
|
secret_name == o.secret_name &&
|
|
244
|
+
selected_repositories == o.selected_repositories &&
|
|
236
245
|
tags == o.tags &&
|
|
237
246
|
token == o.token &&
|
|
238
247
|
uid_token == o.uid_token &&
|
|
@@ -250,7 +259,7 @@ module Akeyless
|
|
|
250
259
|
# Calculates hash code according to all attributes.
|
|
251
260
|
# @return [Integer] Hash code
|
|
252
261
|
def hash
|
|
253
|
-
[binary_value, description, json, namespace, object_type, pfx_password, region, secret_name, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
262
|
+
[binary_value, description, json, namespace, object_type, pfx_password, region, secret_name, selected_repositories, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
254
263
|
end
|
|
255
264
|
|
|
256
265
|
# Builds the object from hash
|
|
@@ -25,9 +25,14 @@ module Akeyless
|
|
|
25
25
|
# The namespace (relevant for Hashi vault target)
|
|
26
26
|
attr_accessor :namespace
|
|
27
27
|
|
|
28
|
+
attr_accessor :object_type
|
|
29
|
+
|
|
28
30
|
# The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to delete
|
|
29
31
|
attr_accessor :secret_id
|
|
30
32
|
|
|
33
|
+
# GitHub selected repositories. For repository scope: repo name. For repository-environment scope: repo/env (format: repo-name/env-name). Required when multiple repos/envs configured.
|
|
34
|
+
attr_accessor :selected_repositories
|
|
35
|
+
|
|
31
36
|
# Authentication token (see `/auth` and `/configure`)
|
|
32
37
|
attr_accessor :token
|
|
33
38
|
|
|
@@ -43,7 +48,9 @@ module Akeyless
|
|
|
43
48
|
:'force_delete' => :'force-delete',
|
|
44
49
|
:'json' => :'json',
|
|
45
50
|
:'namespace' => :'namespace',
|
|
51
|
+
:'object_type' => :'object-type',
|
|
46
52
|
:'secret_id' => :'secret-id',
|
|
53
|
+
:'selected_repositories' => :'selected-repositories',
|
|
47
54
|
:'token' => :'token',
|
|
48
55
|
:'uid_token' => :'uid-token',
|
|
49
56
|
:'usc_name' => :'usc-name'
|
|
@@ -61,7 +68,9 @@ module Akeyless
|
|
|
61
68
|
:'force_delete' => :'Boolean',
|
|
62
69
|
:'json' => :'Boolean',
|
|
63
70
|
:'namespace' => :'String',
|
|
71
|
+
:'object_type' => :'String',
|
|
64
72
|
:'secret_id' => :'String',
|
|
73
|
+
:'selected_repositories' => :'String',
|
|
65
74
|
:'token' => :'String',
|
|
66
75
|
:'uid_token' => :'String',
|
|
67
76
|
:'usc_name' => :'String'
|
|
@@ -103,12 +112,20 @@ module Akeyless
|
|
|
103
112
|
self.namespace = attributes[:'namespace']
|
|
104
113
|
end
|
|
105
114
|
|
|
115
|
+
if attributes.key?(:'object_type')
|
|
116
|
+
self.object_type = attributes[:'object_type']
|
|
117
|
+
end
|
|
118
|
+
|
|
106
119
|
if attributes.key?(:'secret_id')
|
|
107
120
|
self.secret_id = attributes[:'secret_id']
|
|
108
121
|
else
|
|
109
122
|
self.secret_id = nil
|
|
110
123
|
end
|
|
111
124
|
|
|
125
|
+
if attributes.key?(:'selected_repositories')
|
|
126
|
+
self.selected_repositories = attributes[:'selected_repositories']
|
|
127
|
+
end
|
|
128
|
+
|
|
112
129
|
if attributes.key?(:'token')
|
|
113
130
|
self.token = attributes[:'token']
|
|
114
131
|
end
|
|
@@ -157,7 +174,9 @@ module Akeyless
|
|
|
157
174
|
force_delete == o.force_delete &&
|
|
158
175
|
json == o.json &&
|
|
159
176
|
namespace == o.namespace &&
|
|
177
|
+
object_type == o.object_type &&
|
|
160
178
|
secret_id == o.secret_id &&
|
|
179
|
+
selected_repositories == o.selected_repositories &&
|
|
161
180
|
token == o.token &&
|
|
162
181
|
uid_token == o.uid_token &&
|
|
163
182
|
usc_name == o.usc_name
|
|
@@ -172,7 +191,7 @@ module Akeyless
|
|
|
172
191
|
# Calculates hash code according to all attributes.
|
|
173
192
|
# @return [Integer] Hash code
|
|
174
193
|
def hash
|
|
175
|
-
[force_delete, json, namespace, secret_id, token, uid_token, usc_name].hash
|
|
194
|
+
[force_delete, json, namespace, object_type, secret_id, selected_repositories, token, uid_token, usc_name].hash
|
|
176
195
|
end
|
|
177
196
|
|
|
178
197
|
# Builds the object from hash
|
|
@@ -22,9 +22,14 @@ module Akeyless
|
|
|
22
22
|
# The namespace (relevant for Hashi vault target)
|
|
23
23
|
attr_accessor :namespace
|
|
24
24
|
|
|
25
|
+
attr_accessor :object_type
|
|
26
|
+
|
|
25
27
|
# The secret id (or name, for AWS, Azure, K8s or Hashi vault targets) to get from the Universal Secrets Connector
|
|
26
28
|
attr_accessor :secret_id
|
|
27
29
|
|
|
30
|
+
# GitHub selected repositories. For repository scope: repo name. For repository-environment scope: repo/env (format: repo-name/env-name). Required when multiple repos/envs configured.
|
|
31
|
+
attr_accessor :selected_repositories
|
|
32
|
+
|
|
28
33
|
# Authentication token (see `/auth` and `/configure`)
|
|
29
34
|
attr_accessor :token
|
|
30
35
|
|
|
@@ -42,7 +47,9 @@ module Akeyless
|
|
|
42
47
|
{
|
|
43
48
|
:'json' => :'json',
|
|
44
49
|
:'namespace' => :'namespace',
|
|
50
|
+
:'object_type' => :'object-type',
|
|
45
51
|
:'secret_id' => :'secret-id',
|
|
52
|
+
:'selected_repositories' => :'selected-repositories',
|
|
46
53
|
:'token' => :'token',
|
|
47
54
|
:'uid_token' => :'uid-token',
|
|
48
55
|
:'usc_name' => :'usc-name',
|
|
@@ -60,7 +67,9 @@ module Akeyless
|
|
|
60
67
|
{
|
|
61
68
|
:'json' => :'Boolean',
|
|
62
69
|
:'namespace' => :'String',
|
|
70
|
+
:'object_type' => :'String',
|
|
63
71
|
:'secret_id' => :'String',
|
|
72
|
+
:'selected_repositories' => :'String',
|
|
64
73
|
:'token' => :'String',
|
|
65
74
|
:'uid_token' => :'String',
|
|
66
75
|
:'usc_name' => :'String',
|
|
@@ -99,12 +108,20 @@ module Akeyless
|
|
|
99
108
|
self.namespace = attributes[:'namespace']
|
|
100
109
|
end
|
|
101
110
|
|
|
111
|
+
if attributes.key?(:'object_type')
|
|
112
|
+
self.object_type = attributes[:'object_type']
|
|
113
|
+
end
|
|
114
|
+
|
|
102
115
|
if attributes.key?(:'secret_id')
|
|
103
116
|
self.secret_id = attributes[:'secret_id']
|
|
104
117
|
else
|
|
105
118
|
self.secret_id = nil
|
|
106
119
|
end
|
|
107
120
|
|
|
121
|
+
if attributes.key?(:'selected_repositories')
|
|
122
|
+
self.selected_repositories = attributes[:'selected_repositories']
|
|
123
|
+
end
|
|
124
|
+
|
|
108
125
|
if attributes.key?(:'token')
|
|
109
126
|
self.token = attributes[:'token']
|
|
110
127
|
end
|
|
@@ -156,7 +173,9 @@ module Akeyless
|
|
|
156
173
|
self.class == o.class &&
|
|
157
174
|
json == o.json &&
|
|
158
175
|
namespace == o.namespace &&
|
|
176
|
+
object_type == o.object_type &&
|
|
159
177
|
secret_id == o.secret_id &&
|
|
178
|
+
selected_repositories == o.selected_repositories &&
|
|
160
179
|
token == o.token &&
|
|
161
180
|
uid_token == o.uid_token &&
|
|
162
181
|
usc_name == o.usc_name &&
|
|
@@ -172,7 +191,7 @@ module Akeyless
|
|
|
172
191
|
# Calculates hash code according to all attributes.
|
|
173
192
|
# @return [Integer] Hash code
|
|
174
193
|
def hash
|
|
175
|
-
[json, namespace, secret_id, token, uid_token, usc_name, version_id].hash
|
|
194
|
+
[json, namespace, object_type, secret_id, selected_repositories, token, uid_token, usc_name, version_id].hash
|
|
176
195
|
end
|
|
177
196
|
|
|
178
197
|
# Builds the object from hash
|
|
@@ -17,10 +17,13 @@ module Akeyless
|
|
|
17
17
|
class UscListSecretsOutput
|
|
18
18
|
attr_accessor :secrets_list
|
|
19
19
|
|
|
20
|
+
attr_accessor :warnings
|
|
21
|
+
|
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
23
|
def self.attribute_map
|
|
22
24
|
{
|
|
23
|
-
:'secrets_list' => :'secrets_list'
|
|
25
|
+
:'secrets_list' => :'secrets_list',
|
|
26
|
+
:'warnings' => :'warnings'
|
|
24
27
|
}
|
|
25
28
|
end
|
|
26
29
|
|
|
@@ -32,7 +35,8 @@ module Akeyless
|
|
|
32
35
|
# Attribute type mapping.
|
|
33
36
|
def self.openapi_types
|
|
34
37
|
{
|
|
35
|
-
:'secrets_list' => :'Array<SecretInfo>'
|
|
38
|
+
:'secrets_list' => :'Array<SecretInfo>',
|
|
39
|
+
:'warnings' => :'Array<String>'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
38
42
|
|
|
@@ -62,6 +66,12 @@ module Akeyless
|
|
|
62
66
|
self.secrets_list = value
|
|
63
67
|
end
|
|
64
68
|
end
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'warnings')
|
|
71
|
+
if (value = attributes[:'warnings']).is_a?(Array)
|
|
72
|
+
self.warnings = value
|
|
73
|
+
end
|
|
74
|
+
end
|
|
65
75
|
end
|
|
66
76
|
|
|
67
77
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -84,7 +94,8 @@ module Akeyless
|
|
|
84
94
|
def ==(o)
|
|
85
95
|
return true if self.equal?(o)
|
|
86
96
|
self.class == o.class &&
|
|
87
|
-
secrets_list == o.secrets_list
|
|
97
|
+
secrets_list == o.secrets_list &&
|
|
98
|
+
warnings == o.warnings
|
|
88
99
|
end
|
|
89
100
|
|
|
90
101
|
# @see the `==` method
|
|
@@ -96,7 +107,7 @@ module Akeyless
|
|
|
96
107
|
# Calculates hash code according to all attributes.
|
|
97
108
|
# @return [Integer] Hash code
|
|
98
109
|
def hash
|
|
99
|
-
[secrets_list].hash
|
|
110
|
+
[secrets_list, warnings].hash
|
|
100
111
|
end
|
|
101
112
|
|
|
102
113
|
# Builds the object from hash
|
|
@@ -28,12 +28,17 @@ module Akeyless
|
|
|
28
28
|
# The namespace (relevant for Hashi vault target)
|
|
29
29
|
attr_accessor :namespace
|
|
30
30
|
|
|
31
|
+
attr_accessor :object_type
|
|
32
|
+
|
|
31
33
|
# Optional, the passphrase that protects the private key within the pfx certificate (Relevant only for Azure KV certificates)
|
|
32
34
|
attr_accessor :pfx_password
|
|
33
35
|
|
|
34
36
|
# The universal secrets id (or name, for AWS, Azure, K8s or Hashi vault targets) to update
|
|
35
37
|
attr_accessor :secret_id
|
|
36
38
|
|
|
39
|
+
# GitHub selected repositories (required for GitHub USC when repository-access is 'selected' or for repository scope) Comma-separated repository names (e.g., \"repo1,repo2\")
|
|
40
|
+
attr_accessor :selected_repositories
|
|
41
|
+
|
|
37
42
|
# Tags for the universal secrets
|
|
38
43
|
attr_accessor :tags
|
|
39
44
|
|
|
@@ -59,8 +64,10 @@ module Akeyless
|
|
|
59
64
|
:'description' => :'description',
|
|
60
65
|
:'json' => :'json',
|
|
61
66
|
:'namespace' => :'namespace',
|
|
67
|
+
:'object_type' => :'object-type',
|
|
62
68
|
:'pfx_password' => :'pfx-password',
|
|
63
69
|
:'secret_id' => :'secret-id',
|
|
70
|
+
:'selected_repositories' => :'selected-repositories',
|
|
64
71
|
:'tags' => :'tags',
|
|
65
72
|
:'token' => :'token',
|
|
66
73
|
:'uid_token' => :'uid-token',
|
|
@@ -82,8 +89,10 @@ module Akeyless
|
|
|
82
89
|
:'description' => :'String',
|
|
83
90
|
:'json' => :'Boolean',
|
|
84
91
|
:'namespace' => :'String',
|
|
92
|
+
:'object_type' => :'String',
|
|
85
93
|
:'pfx_password' => :'String',
|
|
86
94
|
:'secret_id' => :'String',
|
|
95
|
+
:'selected_repositories' => :'String',
|
|
87
96
|
:'tags' => :'Hash<String, String>',
|
|
88
97
|
:'token' => :'String',
|
|
89
98
|
:'uid_token' => :'String',
|
|
@@ -132,6 +141,10 @@ module Akeyless
|
|
|
132
141
|
self.namespace = attributes[:'namespace']
|
|
133
142
|
end
|
|
134
143
|
|
|
144
|
+
if attributes.key?(:'object_type')
|
|
145
|
+
self.object_type = attributes[:'object_type']
|
|
146
|
+
end
|
|
147
|
+
|
|
135
148
|
if attributes.key?(:'pfx_password')
|
|
136
149
|
self.pfx_password = attributes[:'pfx_password']
|
|
137
150
|
end
|
|
@@ -142,6 +155,10 @@ module Akeyless
|
|
|
142
155
|
self.secret_id = nil
|
|
143
156
|
end
|
|
144
157
|
|
|
158
|
+
if attributes.key?(:'selected_repositories')
|
|
159
|
+
self.selected_repositories = attributes[:'selected_repositories']
|
|
160
|
+
end
|
|
161
|
+
|
|
145
162
|
if attributes.key?(:'tags')
|
|
146
163
|
if (value = attributes[:'tags']).is_a?(Hash)
|
|
147
164
|
self.tags = value
|
|
@@ -212,8 +229,10 @@ module Akeyless
|
|
|
212
229
|
description == o.description &&
|
|
213
230
|
json == o.json &&
|
|
214
231
|
namespace == o.namespace &&
|
|
232
|
+
object_type == o.object_type &&
|
|
215
233
|
pfx_password == o.pfx_password &&
|
|
216
234
|
secret_id == o.secret_id &&
|
|
235
|
+
selected_repositories == o.selected_repositories &&
|
|
217
236
|
tags == o.tags &&
|
|
218
237
|
token == o.token &&
|
|
219
238
|
uid_token == o.uid_token &&
|
|
@@ -231,7 +250,7 @@ module Akeyless
|
|
|
231
250
|
# Calculates hash code according to all attributes.
|
|
232
251
|
# @return [Integer] Hash code
|
|
233
252
|
def hash
|
|
234
|
-
[binary_value, description, json, namespace, pfx_password, secret_id, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
253
|
+
[binary_value, description, json, namespace, object_type, pfx_password, secret_id, selected_repositories, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
|
|
235
254
|
end
|
|
236
255
|
|
|
237
256
|
# Builds the object from hash
|