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
|
@@ -42,6 +42,9 @@ module Akeyless
|
|
|
42
42
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
43
43
|
attr_accessor :key
|
|
44
44
|
|
|
45
|
+
# Lock this secret for read/update while an SRA session is active
|
|
46
|
+
attr_accessor :lock_during_sra_session
|
|
47
|
+
|
|
45
48
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
46
49
|
attr_accessor :max_versions
|
|
47
50
|
|
|
@@ -57,7 +60,7 @@ module Akeyless
|
|
|
57
60
|
# List of the existent tags that will be removed from this item
|
|
58
61
|
attr_accessor :rm_tag
|
|
59
62
|
|
|
60
|
-
#
|
|
63
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
61
64
|
attr_accessor :rotate_after_disconnect
|
|
62
65
|
|
|
63
66
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -111,6 +114,7 @@ module Akeyless
|
|
|
111
114
|
:'json' => :'json',
|
|
112
115
|
:'keep_prev_version' => :'keep-prev-version',
|
|
113
116
|
:'key' => :'key',
|
|
117
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
114
118
|
:'max_versions' => :'max-versions',
|
|
115
119
|
:'name' => :'name',
|
|
116
120
|
:'new_name' => :'new-name',
|
|
@@ -150,6 +154,7 @@ module Akeyless
|
|
|
150
154
|
:'json' => :'Boolean',
|
|
151
155
|
:'keep_prev_version' => :'String',
|
|
152
156
|
:'key' => :'String',
|
|
157
|
+
:'lock_during_sra_session' => :'String',
|
|
153
158
|
:'max_versions' => :'String',
|
|
154
159
|
:'name' => :'String',
|
|
155
160
|
:'new_name' => :'String',
|
|
@@ -239,6 +244,10 @@ module Akeyless
|
|
|
239
244
|
self.key = attributes[:'key']
|
|
240
245
|
end
|
|
241
246
|
|
|
247
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
248
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
249
|
+
end
|
|
250
|
+
|
|
242
251
|
if attributes.key?(:'max_versions')
|
|
243
252
|
self.max_versions = attributes[:'max_versions']
|
|
244
253
|
end
|
|
@@ -265,8 +274,6 @@ module Akeyless
|
|
|
265
274
|
|
|
266
275
|
if attributes.key?(:'rotate_after_disconnect')
|
|
267
276
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
268
|
-
else
|
|
269
|
-
self.rotate_after_disconnect = 'false'
|
|
270
277
|
end
|
|
271
278
|
|
|
272
279
|
if attributes.key?(:'rotated_password')
|
|
@@ -362,6 +369,7 @@ module Akeyless
|
|
|
362
369
|
json == o.json &&
|
|
363
370
|
keep_prev_version == o.keep_prev_version &&
|
|
364
371
|
key == o.key &&
|
|
372
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
365
373
|
max_versions == o.max_versions &&
|
|
366
374
|
name == o.name &&
|
|
367
375
|
new_name == o.new_name &&
|
|
@@ -392,7 +400,7 @@ module Akeyless
|
|
|
392
400
|
# Calculates hash code according to all attributes.
|
|
393
401
|
# @return [Integer] Hash code
|
|
394
402
|
def hash
|
|
395
|
-
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
|
|
403
|
+
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, lock_during_sra_session, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
|
|
396
404
|
end
|
|
397
405
|
|
|
398
406
|
# Builds the object from hash
|
|
@@ -42,6 +42,9 @@ module Akeyless
|
|
|
42
42
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
43
43
|
attr_accessor :key
|
|
44
44
|
|
|
45
|
+
# Lock this secret for read/update while an SRA session is active
|
|
46
|
+
attr_accessor :lock_during_sra_session
|
|
47
|
+
|
|
45
48
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
46
49
|
attr_accessor :max_versions
|
|
47
50
|
|
|
@@ -57,7 +60,7 @@ module Akeyless
|
|
|
57
60
|
# List of the existent tags that will be removed from this item
|
|
58
61
|
attr_accessor :rm_tag
|
|
59
62
|
|
|
60
|
-
#
|
|
63
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
61
64
|
attr_accessor :rotate_after_disconnect
|
|
62
65
|
|
|
63
66
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -105,6 +108,7 @@ module Akeyless
|
|
|
105
108
|
:'json' => :'json',
|
|
106
109
|
:'keep_prev_version' => :'keep-prev-version',
|
|
107
110
|
:'key' => :'key',
|
|
111
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
108
112
|
:'max_versions' => :'max-versions',
|
|
109
113
|
:'name' => :'name',
|
|
110
114
|
:'new_name' => :'new-name',
|
|
@@ -142,6 +146,7 @@ module Akeyless
|
|
|
142
146
|
:'json' => :'Boolean',
|
|
143
147
|
:'keep_prev_version' => :'String',
|
|
144
148
|
:'key' => :'String',
|
|
149
|
+
:'lock_during_sra_session' => :'String',
|
|
145
150
|
:'max_versions' => :'String',
|
|
146
151
|
:'name' => :'String',
|
|
147
152
|
:'new_name' => :'String',
|
|
@@ -229,6 +234,10 @@ module Akeyless
|
|
|
229
234
|
self.key = attributes[:'key']
|
|
230
235
|
end
|
|
231
236
|
|
|
237
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
238
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
239
|
+
end
|
|
240
|
+
|
|
232
241
|
if attributes.key?(:'max_versions')
|
|
233
242
|
self.max_versions = attributes[:'max_versions']
|
|
234
243
|
end
|
|
@@ -255,8 +264,6 @@ module Akeyless
|
|
|
255
264
|
|
|
256
265
|
if attributes.key?(:'rotate_after_disconnect')
|
|
257
266
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
258
|
-
else
|
|
259
|
-
self.rotate_after_disconnect = 'false'
|
|
260
267
|
end
|
|
261
268
|
|
|
262
269
|
if attributes.key?(:'rotated_password')
|
|
@@ -344,6 +351,7 @@ module Akeyless
|
|
|
344
351
|
json == o.json &&
|
|
345
352
|
keep_prev_version == o.keep_prev_version &&
|
|
346
353
|
key == o.key &&
|
|
354
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
347
355
|
max_versions == o.max_versions &&
|
|
348
356
|
name == o.name &&
|
|
349
357
|
new_name == o.new_name &&
|
|
@@ -372,7 +380,7 @@ module Akeyless
|
|
|
372
380
|
# Calculates hash code according to all attributes.
|
|
373
381
|
# @return [Integer] Hash code
|
|
374
382
|
def hash
|
|
375
|
-
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
|
|
383
|
+
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, lock_during_sra_session, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
|
|
376
384
|
end
|
|
377
385
|
|
|
378
386
|
# Builds the object from hash
|
|
@@ -42,6 +42,9 @@ module Akeyless
|
|
|
42
42
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
43
43
|
attr_accessor :key
|
|
44
44
|
|
|
45
|
+
# Lock this secret for read/update while an SRA session is active
|
|
46
|
+
attr_accessor :lock_during_sra_session
|
|
47
|
+
|
|
45
48
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
46
49
|
attr_accessor :max_versions
|
|
47
50
|
|
|
@@ -57,7 +60,7 @@ module Akeyless
|
|
|
57
60
|
# List of the existent tags that will be removed from this item
|
|
58
61
|
attr_accessor :rm_tag
|
|
59
62
|
|
|
60
|
-
#
|
|
63
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
61
64
|
attr_accessor :rotate_after_disconnect
|
|
62
65
|
|
|
63
66
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -114,6 +117,7 @@ module Akeyless
|
|
|
114
117
|
:'json' => :'json',
|
|
115
118
|
:'keep_prev_version' => :'keep-prev-version',
|
|
116
119
|
:'key' => :'key',
|
|
120
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
117
121
|
:'max_versions' => :'max-versions',
|
|
118
122
|
:'name' => :'name',
|
|
119
123
|
:'new_name' => :'new-name',
|
|
@@ -154,6 +158,7 @@ module Akeyless
|
|
|
154
158
|
:'json' => :'Boolean',
|
|
155
159
|
:'keep_prev_version' => :'String',
|
|
156
160
|
:'key' => :'String',
|
|
161
|
+
:'lock_during_sra_session' => :'String',
|
|
157
162
|
:'max_versions' => :'String',
|
|
158
163
|
:'name' => :'String',
|
|
159
164
|
:'new_name' => :'String',
|
|
@@ -244,6 +249,10 @@ module Akeyless
|
|
|
244
249
|
self.key = attributes[:'key']
|
|
245
250
|
end
|
|
246
251
|
|
|
252
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
253
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
254
|
+
end
|
|
255
|
+
|
|
247
256
|
if attributes.key?(:'max_versions')
|
|
248
257
|
self.max_versions = attributes[:'max_versions']
|
|
249
258
|
end
|
|
@@ -270,8 +279,6 @@ module Akeyless
|
|
|
270
279
|
|
|
271
280
|
if attributes.key?(:'rotate_after_disconnect')
|
|
272
281
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
273
|
-
else
|
|
274
|
-
self.rotate_after_disconnect = 'false'
|
|
275
282
|
end
|
|
276
283
|
|
|
277
284
|
if attributes.key?(:'rotated_password')
|
|
@@ -371,6 +378,7 @@ module Akeyless
|
|
|
371
378
|
json == o.json &&
|
|
372
379
|
keep_prev_version == o.keep_prev_version &&
|
|
373
380
|
key == o.key &&
|
|
381
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
374
382
|
max_versions == o.max_versions &&
|
|
375
383
|
name == o.name &&
|
|
376
384
|
new_name == o.new_name &&
|
|
@@ -402,7 +410,7 @@ module Akeyless
|
|
|
402
410
|
# Calculates hash code according to all attributes.
|
|
403
411
|
# @return [Integer] Hash code
|
|
404
412
|
def hash
|
|
405
|
-
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
|
|
413
|
+
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, lock_during_sra_session, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, token, uid_token].hash
|
|
406
414
|
end
|
|
407
415
|
|
|
408
416
|
# Builds the object from hash
|
|
@@ -42,6 +42,9 @@ module Akeyless
|
|
|
42
42
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
43
43
|
attr_accessor :key
|
|
44
44
|
|
|
45
|
+
# Lock this secret for read/update while an SRA session is active
|
|
46
|
+
attr_accessor :lock_during_sra_session
|
|
47
|
+
|
|
45
48
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
46
49
|
attr_accessor :max_versions
|
|
47
50
|
|
|
@@ -57,7 +60,7 @@ module Akeyless
|
|
|
57
60
|
# List of the existent tags that will be removed from this item
|
|
58
61
|
attr_accessor :rm_tag
|
|
59
62
|
|
|
60
|
-
#
|
|
63
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
61
64
|
attr_accessor :rotate_after_disconnect
|
|
62
65
|
|
|
63
66
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -102,6 +105,7 @@ module Akeyless
|
|
|
102
105
|
:'json' => :'json',
|
|
103
106
|
:'keep_prev_version' => :'keep-prev-version',
|
|
104
107
|
:'key' => :'key',
|
|
108
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
105
109
|
:'max_versions' => :'max-versions',
|
|
106
110
|
:'name' => :'name',
|
|
107
111
|
:'new_name' => :'new-name',
|
|
@@ -138,6 +142,7 @@ module Akeyless
|
|
|
138
142
|
:'json' => :'Boolean',
|
|
139
143
|
:'keep_prev_version' => :'String',
|
|
140
144
|
:'key' => :'String',
|
|
145
|
+
:'lock_during_sra_session' => :'String',
|
|
141
146
|
:'max_versions' => :'String',
|
|
142
147
|
:'name' => :'String',
|
|
143
148
|
:'new_name' => :'String',
|
|
@@ -224,6 +229,10 @@ module Akeyless
|
|
|
224
229
|
self.key = attributes[:'key']
|
|
225
230
|
end
|
|
226
231
|
|
|
232
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
233
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
234
|
+
end
|
|
235
|
+
|
|
227
236
|
if attributes.key?(:'max_versions')
|
|
228
237
|
self.max_versions = attributes[:'max_versions']
|
|
229
238
|
end
|
|
@@ -250,8 +259,6 @@ module Akeyless
|
|
|
250
259
|
|
|
251
260
|
if attributes.key?(:'rotate_after_disconnect')
|
|
252
261
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
253
|
-
else
|
|
254
|
-
self.rotate_after_disconnect = 'false'
|
|
255
262
|
end
|
|
256
263
|
|
|
257
264
|
if attributes.key?(:'rotated_password')
|
|
@@ -333,6 +340,7 @@ module Akeyless
|
|
|
333
340
|
json == o.json &&
|
|
334
341
|
keep_prev_version == o.keep_prev_version &&
|
|
335
342
|
key == o.key &&
|
|
343
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
336
344
|
max_versions == o.max_versions &&
|
|
337
345
|
name == o.name &&
|
|
338
346
|
new_name == o.new_name &&
|
|
@@ -360,7 +368,7 @@ module Akeyless
|
|
|
360
368
|
# Calculates hash code according to all attributes.
|
|
361
369
|
# @return [Integer] Hash code
|
|
362
370
|
def hash
|
|
363
|
-
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_db_name, secure_access_enable, secure_access_host, token, uid_token].hash
|
|
371
|
+
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, lock_during_sra_session, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, secure_access_db_name, secure_access_enable, secure_access_host, token, uid_token].hash
|
|
364
372
|
end
|
|
365
373
|
|
|
366
374
|
# Builds the object from hash
|
|
@@ -45,6 +45,9 @@ module Akeyless
|
|
|
45
45
|
# Private key file contents encoded using base64
|
|
46
46
|
attr_accessor :key_data_base64
|
|
47
47
|
|
|
48
|
+
# Lock this secret for read/update while an SRA session is active
|
|
49
|
+
attr_accessor :lock_during_sra_session
|
|
50
|
+
|
|
48
51
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
49
52
|
attr_accessor :max_versions
|
|
50
53
|
|
|
@@ -63,7 +66,7 @@ module Akeyless
|
|
|
63
66
|
# List of the existent tags that will be removed from this item
|
|
64
67
|
attr_accessor :rm_tag
|
|
65
68
|
|
|
66
|
-
#
|
|
69
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
67
70
|
attr_accessor :rotate_after_disconnect
|
|
68
71
|
|
|
69
72
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -136,6 +139,7 @@ module Akeyless
|
|
|
136
139
|
:'keep_prev_version' => :'keep-prev-version',
|
|
137
140
|
:'key' => :'key',
|
|
138
141
|
:'key_data_base64' => :'key-data-base64',
|
|
142
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
139
143
|
:'max_versions' => :'max-versions',
|
|
140
144
|
:'name' => :'name',
|
|
141
145
|
:'new_name' => :'new-name',
|
|
@@ -183,6 +187,7 @@ module Akeyless
|
|
|
183
187
|
:'keep_prev_version' => :'String',
|
|
184
188
|
:'key' => :'String',
|
|
185
189
|
:'key_data_base64' => :'String',
|
|
190
|
+
:'lock_during_sra_session' => :'String',
|
|
186
191
|
:'max_versions' => :'String',
|
|
187
192
|
:'name' => :'String',
|
|
188
193
|
:'new_name' => :'String',
|
|
@@ -283,6 +288,10 @@ module Akeyless
|
|
|
283
288
|
self.key_data_base64 = attributes[:'key_data_base64']
|
|
284
289
|
end
|
|
285
290
|
|
|
291
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
292
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
293
|
+
end
|
|
294
|
+
|
|
286
295
|
if attributes.key?(:'max_versions')
|
|
287
296
|
self.max_versions = attributes[:'max_versions']
|
|
288
297
|
end
|
|
@@ -313,8 +322,6 @@ module Akeyless
|
|
|
313
322
|
|
|
314
323
|
if attributes.key?(:'rotate_after_disconnect')
|
|
315
324
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
316
|
-
else
|
|
317
|
-
self.rotate_after_disconnect = 'false'
|
|
318
325
|
end
|
|
319
326
|
|
|
320
327
|
if attributes.key?(:'rotated_password')
|
|
@@ -444,6 +451,7 @@ module Akeyless
|
|
|
444
451
|
keep_prev_version == o.keep_prev_version &&
|
|
445
452
|
key == o.key &&
|
|
446
453
|
key_data_base64 == o.key_data_base64 &&
|
|
454
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
447
455
|
max_versions == o.max_versions &&
|
|
448
456
|
name == o.name &&
|
|
449
457
|
new_name == o.new_name &&
|
|
@@ -481,7 +489,7 @@ module Akeyless
|
|
|
481
489
|
# Calculates hash code according to all attributes.
|
|
482
490
|
# @return [Integer] Hash code
|
|
483
491
|
def hash
|
|
484
|
-
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, key_data_base64, max_versions, name, new_name, password_length, public_key_remote_path, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_custom_cmd, rotator_type, same_password, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_target_type, token, uid_token].hash
|
|
492
|
+
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, key_data_base64, lock_during_sra_session, max_versions, name, new_name, password_length, public_key_remote_path, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_custom_cmd, rotator_type, same_password, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_target_type, token, uid_token].hash
|
|
485
493
|
end
|
|
486
494
|
|
|
487
495
|
# Builds the object from hash
|
|
@@ -42,6 +42,9 @@ module Akeyless
|
|
|
42
42
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
43
43
|
attr_accessor :key
|
|
44
44
|
|
|
45
|
+
# Lock this secret for read/update while an SRA session is active
|
|
46
|
+
attr_accessor :lock_during_sra_session
|
|
47
|
+
|
|
45
48
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
46
49
|
attr_accessor :max_versions
|
|
47
50
|
|
|
@@ -57,7 +60,7 @@ module Akeyless
|
|
|
57
60
|
# List of the existent tags that will be removed from this item
|
|
58
61
|
attr_accessor :rm_tag
|
|
59
62
|
|
|
60
|
-
#
|
|
63
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
61
64
|
attr_accessor :rotate_after_disconnect
|
|
62
65
|
|
|
63
66
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -120,6 +123,7 @@ module Akeyless
|
|
|
120
123
|
:'json' => :'json',
|
|
121
124
|
:'keep_prev_version' => :'keep-prev-version',
|
|
122
125
|
:'key' => :'key',
|
|
126
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
123
127
|
:'max_versions' => :'max-versions',
|
|
124
128
|
:'name' => :'name',
|
|
125
129
|
:'new_name' => :'new-name',
|
|
@@ -162,6 +166,7 @@ module Akeyless
|
|
|
162
166
|
:'json' => :'Boolean',
|
|
163
167
|
:'keep_prev_version' => :'String',
|
|
164
168
|
:'key' => :'String',
|
|
169
|
+
:'lock_during_sra_session' => :'String',
|
|
165
170
|
:'max_versions' => :'String',
|
|
166
171
|
:'name' => :'String',
|
|
167
172
|
:'new_name' => :'String',
|
|
@@ -254,6 +259,10 @@ module Akeyless
|
|
|
254
259
|
self.key = attributes[:'key']
|
|
255
260
|
end
|
|
256
261
|
|
|
262
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
263
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
264
|
+
end
|
|
265
|
+
|
|
257
266
|
if attributes.key?(:'max_versions')
|
|
258
267
|
self.max_versions = attributes[:'max_versions']
|
|
259
268
|
end
|
|
@@ -280,8 +289,6 @@ module Akeyless
|
|
|
280
289
|
|
|
281
290
|
if attributes.key?(:'rotate_after_disconnect')
|
|
282
291
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
283
|
-
else
|
|
284
|
-
self.rotate_after_disconnect = 'false'
|
|
285
292
|
end
|
|
286
293
|
|
|
287
294
|
if attributes.key?(:'rotated_password')
|
|
@@ -396,6 +403,7 @@ module Akeyless
|
|
|
396
403
|
json == o.json &&
|
|
397
404
|
keep_prev_version == o.keep_prev_version &&
|
|
398
405
|
key == o.key &&
|
|
406
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
399
407
|
max_versions == o.max_versions &&
|
|
400
408
|
name == o.name &&
|
|
401
409
|
new_name == o.new_name &&
|
|
@@ -429,7 +437,7 @@ module Akeyless
|
|
|
429
437
|
# Calculates hash code according to all attributes.
|
|
430
438
|
# @return [Integer] Hash code
|
|
431
439
|
def hash
|
|
432
|
-
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, same_password, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, token, uid_token].hash
|
|
440
|
+
[add_tag, authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, keep_prev_version, key, lock_during_sra_session, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, same_password, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, token, uid_token].hash
|
|
433
441
|
end
|
|
434
442
|
|
|
435
443
|
# Builds the object from hash
|
|
@@ -21,6 +21,8 @@ module Akeyless
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :expiration
|
|
23
23
|
|
|
24
|
+
attr_accessor :github
|
|
25
|
+
|
|
24
26
|
attr_accessor :key_id
|
|
25
27
|
|
|
26
28
|
attr_accessor :last_retrieved
|
|
@@ -29,6 +31,8 @@ module Akeyless
|
|
|
29
31
|
|
|
30
32
|
attr_accessor :name
|
|
31
33
|
|
|
34
|
+
attr_accessor :namespace
|
|
35
|
+
|
|
32
36
|
attr_accessor :region
|
|
33
37
|
|
|
34
38
|
attr_accessor :secret_id
|
|
@@ -49,10 +53,12 @@ module Akeyless
|
|
|
49
53
|
:'created' => :'created',
|
|
50
54
|
:'description' => :'description',
|
|
51
55
|
:'expiration' => :'expiration',
|
|
56
|
+
:'github' => :'github',
|
|
52
57
|
:'key_id' => :'key_id',
|
|
53
58
|
:'last_retrieved' => :'last_retrieved',
|
|
54
59
|
:'location' => :'location',
|
|
55
60
|
:'name' => :'name',
|
|
61
|
+
:'namespace' => :'namespace',
|
|
56
62
|
:'region' => :'region',
|
|
57
63
|
:'secret_id' => :'secret_id',
|
|
58
64
|
:'status' => :'status',
|
|
@@ -74,10 +80,12 @@ module Akeyless
|
|
|
74
80
|
:'created' => :'Time',
|
|
75
81
|
:'description' => :'String',
|
|
76
82
|
:'expiration' => :'Time',
|
|
83
|
+
:'github' => :'GithubMetadata',
|
|
77
84
|
:'key_id' => :'String',
|
|
78
85
|
:'last_retrieved' => :'Time',
|
|
79
86
|
:'location' => :'Object',
|
|
80
87
|
:'name' => :'String',
|
|
88
|
+
:'namespace' => :'String',
|
|
81
89
|
:'region' => :'String',
|
|
82
90
|
:'secret_id' => :'String',
|
|
83
91
|
:'status' => :'Boolean',
|
|
@@ -122,6 +130,10 @@ module Akeyless
|
|
|
122
130
|
self.expiration = attributes[:'expiration']
|
|
123
131
|
end
|
|
124
132
|
|
|
133
|
+
if attributes.key?(:'github')
|
|
134
|
+
self.github = attributes[:'github']
|
|
135
|
+
end
|
|
136
|
+
|
|
125
137
|
if attributes.key?(:'key_id')
|
|
126
138
|
self.key_id = attributes[:'key_id']
|
|
127
139
|
end
|
|
@@ -138,6 +150,10 @@ module Akeyless
|
|
|
138
150
|
self.name = attributes[:'name']
|
|
139
151
|
end
|
|
140
152
|
|
|
153
|
+
if attributes.key?(:'namespace')
|
|
154
|
+
self.namespace = attributes[:'namespace']
|
|
155
|
+
end
|
|
156
|
+
|
|
141
157
|
if attributes.key?(:'region')
|
|
142
158
|
self.region = attributes[:'region']
|
|
143
159
|
end
|
|
@@ -192,10 +208,12 @@ module Akeyless
|
|
|
192
208
|
created == o.created &&
|
|
193
209
|
description == o.description &&
|
|
194
210
|
expiration == o.expiration &&
|
|
211
|
+
github == o.github &&
|
|
195
212
|
key_id == o.key_id &&
|
|
196
213
|
last_retrieved == o.last_retrieved &&
|
|
197
214
|
location == o.location &&
|
|
198
215
|
name == o.name &&
|
|
216
|
+
namespace == o.namespace &&
|
|
199
217
|
region == o.region &&
|
|
200
218
|
secret_id == o.secret_id &&
|
|
201
219
|
status == o.status &&
|
|
@@ -214,7 +232,7 @@ module Akeyless
|
|
|
214
232
|
# Calculates hash code according to all attributes.
|
|
215
233
|
# @return [Integer] Hash code
|
|
216
234
|
def hash
|
|
217
|
-
[created, description, expiration, key_id, last_retrieved, location, name, region, secret_id, status, tags, thumbprint, type, version].hash
|
|
235
|
+
[created, description, expiration, github, key_id, last_retrieved, location, name, namespace, region, secret_id, status, tags, thumbprint, type, version].hash
|
|
218
236
|
end
|
|
219
237
|
|
|
220
238
|
# Builds the object from hash
|
|
@@ -63,6 +63,8 @@ module Akeyless
|
|
|
63
63
|
|
|
64
64
|
attr_accessor :isolated
|
|
65
65
|
|
|
66
|
+
attr_accessor :lock_during_sra_session
|
|
67
|
+
|
|
66
68
|
attr_accessor :native
|
|
67
69
|
|
|
68
70
|
attr_accessor :rd_gateway_server
|
|
@@ -73,6 +75,8 @@ module Akeyless
|
|
|
73
75
|
|
|
74
76
|
attr_accessor :rotate_after_disconnect
|
|
75
77
|
|
|
78
|
+
attr_accessor :rotate_after_disconnect_delay_mins
|
|
79
|
+
|
|
76
80
|
attr_accessor :schema
|
|
77
81
|
|
|
78
82
|
attr_accessor :ssh_password
|
|
@@ -120,11 +124,13 @@ module Akeyless
|
|
|
120
124
|
:'is_desktop_app' => :'is_desktop_app',
|
|
121
125
|
:'is_web' => :'is_web',
|
|
122
126
|
:'isolated' => :'isolated',
|
|
127
|
+
:'lock_during_sra_session' => :'lock_during_sra_session',
|
|
123
128
|
:'native' => :'native',
|
|
124
129
|
:'rd_gateway_server' => :'rd_gateway_server',
|
|
125
130
|
:'rdp_user' => :'rdp_user',
|
|
126
131
|
:'region' => :'region',
|
|
127
132
|
:'rotate_after_disconnect' => :'rotate_after_disconnect',
|
|
133
|
+
:'rotate_after_disconnect_delay_mins' => :'rotate_after_disconnect_delay_mins',
|
|
128
134
|
:'schema' => :'schema',
|
|
129
135
|
:'ssh_password' => :'ssh_password',
|
|
130
136
|
:'ssh_private_key' => :'ssh_private_key',
|
|
@@ -170,11 +176,13 @@ module Akeyless
|
|
|
170
176
|
:'is_desktop_app' => :'Boolean',
|
|
171
177
|
:'is_web' => :'Boolean',
|
|
172
178
|
:'isolated' => :'Boolean',
|
|
179
|
+
:'lock_during_sra_session' => :'Boolean',
|
|
173
180
|
:'native' => :'Boolean',
|
|
174
181
|
:'rd_gateway_server' => :'String',
|
|
175
182
|
:'rdp_user' => :'String',
|
|
176
183
|
:'region' => :'String',
|
|
177
184
|
:'rotate_after_disconnect' => :'Boolean',
|
|
185
|
+
:'rotate_after_disconnect_delay_mins' => :'Integer',
|
|
178
186
|
:'schema' => :'String',
|
|
179
187
|
:'ssh_password' => :'Boolean',
|
|
180
188
|
:'ssh_private_key' => :'Boolean',
|
|
@@ -307,6 +315,10 @@ module Akeyless
|
|
|
307
315
|
self.isolated = attributes[:'isolated']
|
|
308
316
|
end
|
|
309
317
|
|
|
318
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
319
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
320
|
+
end
|
|
321
|
+
|
|
310
322
|
if attributes.key?(:'native')
|
|
311
323
|
self.native = attributes[:'native']
|
|
312
324
|
end
|
|
@@ -327,6 +339,10 @@ module Akeyless
|
|
|
327
339
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
328
340
|
end
|
|
329
341
|
|
|
342
|
+
if attributes.key?(:'rotate_after_disconnect_delay_mins')
|
|
343
|
+
self.rotate_after_disconnect_delay_mins = attributes[:'rotate_after_disconnect_delay_mins']
|
|
344
|
+
end
|
|
345
|
+
|
|
330
346
|
if attributes.key?(:'schema')
|
|
331
347
|
self.schema = attributes[:'schema']
|
|
332
348
|
end
|
|
@@ -416,11 +432,13 @@ module Akeyless
|
|
|
416
432
|
is_desktop_app == o.is_desktop_app &&
|
|
417
433
|
is_web == o.is_web &&
|
|
418
434
|
isolated == o.isolated &&
|
|
435
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
419
436
|
native == o.native &&
|
|
420
437
|
rd_gateway_server == o.rd_gateway_server &&
|
|
421
438
|
rdp_user == o.rdp_user &&
|
|
422
439
|
region == o.region &&
|
|
423
440
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
|
441
|
+
rotate_after_disconnect_delay_mins == o.rotate_after_disconnect_delay_mins &&
|
|
424
442
|
schema == o.schema &&
|
|
425
443
|
ssh_password == o.ssh_password &&
|
|
426
444
|
ssh_private_key == o.ssh_private_key &&
|
|
@@ -442,7 +460,7 @@ module Akeyless
|
|
|
442
460
|
# Calculates hash code according to all attributes.
|
|
443
461
|
# @return [Integer] Hash code
|
|
444
462
|
def hash
|
|
445
|
-
[account_id, allow_port_forwarding, allow_providing_external_username, bastion_api, bastion_issuer, bastion_issuer_id, bastion_ssh, block_concurrent_connections, block_concurrent_connections_level, category, connection_delay_seconds, dashboard_url, db_name, domain, enable, endpoint, enforce_hosts_restriction, gw_cluster_id, host, host_provider_type, is_cli, is_desktop_app, is_web, isolated, native, rd_gateway_server, rdp_user, region, rotate_after_disconnect, schema, ssh_password, ssh_private_key, ssh_user, status_info, target_hosts, targets, url, use_internal_bastion, web_proxy].hash
|
|
463
|
+
[account_id, allow_port_forwarding, allow_providing_external_username, bastion_api, bastion_issuer, bastion_issuer_id, bastion_ssh, block_concurrent_connections, block_concurrent_connections_level, category, connection_delay_seconds, dashboard_url, db_name, domain, enable, endpoint, enforce_hosts_restriction, gw_cluster_id, host, host_provider_type, is_cli, is_desktop_app, is_web, isolated, lock_during_sra_session, native, rd_gateway_server, rdp_user, region, rotate_after_disconnect, rotate_after_disconnect_delay_mins, schema, ssh_password, ssh_private_key, ssh_user, status_info, target_hosts, targets, url, use_internal_bastion, web_proxy].hash
|
|
446
464
|
end
|
|
447
465
|
|
|
448
466
|
# Builds the object from hash
|
|
@@ -27,7 +27,7 @@ module Akeyless
|
|
|
27
27
|
# The role name to be updated
|
|
28
28
|
attr_accessor :role_name
|
|
29
29
|
|
|
30
|
-
# item-rule, target-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule
|
|
30
|
+
# item-rule, target-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule, sra-reports-rule, sra-rule, ara-rule
|
|
31
31
|
attr_accessor :rule_type
|
|
32
32
|
|
|
33
33
|
# Authentication token (see `/auth` and `/configure`)
|