akeyless 5.0.22 → 5.0.24
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 +33 -5
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/AgenticRule.md +20 -0
- data/docs/AgenticRules.md +20 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
- data/docs/AwsStorage.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateRotatedSecret.md +3 -1
- data/docs/CreateSecret.md +2 -0
- data/docs/CreateUSC.md +6 -2
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/DescribePermissions.md +1 -1
- data/docs/DigiCertTargetDetails.md +42 -0
- data/docs/EsmListSecretsOutput.md +5 -1
- data/docs/GatewayCreateMigration.md +4 -0
- data/docs/GatewayMigrationCreateOutput.md +2 -0
- data/docs/GatewayUpdateMigration.md +4 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
- data/docs/GeneralConfigPart.md +4 -0
- data/docs/GoogleTrustTargetDetails.md +42 -0
- data/docs/HashiPayload.md +5 -1
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ItemLockingSetting.md +20 -0
- data/docs/ListItems.md +2 -0
- data/docs/LockItem.md +28 -0
- data/docs/LockTarget.md +28 -0
- data/docs/LockingInfo.md +24 -0
- data/docs/MigrationStatusReplyObj.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/RuntimeAuthorityCommand.md +28 -0
- data/docs/SecretInfo.md +2 -0
- data/docs/SecureRemoteAccess.md +4 -0
- data/docs/SetDefaultProfile.md +20 -0
- data/docs/SetDefaultProfileOutput.md +18 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SyncCounters.md +22 -0
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +4 -0
- data/docs/TargetCreateArtifactory.md +2 -0
- data/docs/TargetCreateAws.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateDigiCert.md +52 -0
- data/docs/TargetCreateDockerhub.md +2 -0
- data/docs/TargetCreateEks.md +2 -0
- data/docs/TargetCreateGcp.md +2 -0
- data/docs/TargetCreateGemini.md +2 -0
- data/docs/TargetCreateGithub.md +2 -0
- data/docs/TargetCreateGitlab.md +2 -0
- data/docs/TargetCreateGke.md +2 -0
- data/docs/TargetCreateGlobalSign.md +2 -0
- data/docs/TargetCreateGlobalSignAtlas.md +2 -0
- data/docs/TargetCreateGodaddy.md +2 -0
- data/docs/TargetCreateGoogleTrust.md +52 -0
- data/docs/TargetCreateHashiVault.md +2 -0
- data/docs/TargetCreateK8s.md +2 -0
- data/docs/TargetCreateLdap.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +3 -1
- data/docs/TargetCreateLinked.md +2 -0
- data/docs/TargetCreateOpenAI.md +2 -0
- data/docs/TargetCreatePing.md +2 -0
- data/docs/TargetCreateRabbitMq.md +2 -0
- data/docs/TargetCreateSalesforce.md +2 -0
- data/docs/TargetCreateSectigo.md +2 -0
- data/docs/TargetCreateSplunk.md +5 -1
- data/docs/TargetCreateSsh.md +2 -0
- data/docs/TargetCreateWeb.md +2 -0
- data/docs/TargetCreateWindows.md +2 -0
- data/docs/TargetCreateZeroSSL.md +2 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateArtifactory.md +2 -0
- data/docs/TargetUpdateAws.md +2 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateDigiCert.md +54 -0
- data/docs/TargetUpdateDockerhub.md +2 -0
- data/docs/TargetUpdateEks.md +2 -0
- data/docs/TargetUpdateGcp.md +2 -0
- data/docs/TargetUpdateGemini.md +2 -0
- data/docs/TargetUpdateGithub.md +2 -0
- data/docs/TargetUpdateGitlab.md +2 -0
- data/docs/TargetUpdateGke.md +2 -0
- data/docs/TargetUpdateGlobalSign.md +2 -0
- data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
- data/docs/TargetUpdateGodaddy.md +2 -0
- data/docs/TargetUpdateGoogleTrust.md +56 -0
- data/docs/TargetUpdateHashiVault.md +2 -0
- data/docs/TargetUpdateK8s.md +2 -0
- data/docs/TargetUpdateLdap.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +3 -1
- data/docs/TargetUpdateOpenAI.md +2 -0
- data/docs/TargetUpdatePing.md +2 -0
- data/docs/TargetUpdateRabbitMq.md +2 -0
- data/docs/TargetUpdateSalesforce.md +2 -0
- data/docs/TargetUpdateSectigo.md +2 -0
- data/docs/TargetUpdateSsh.md +2 -0
- data/docs/TargetUpdateWeb.md +2 -0
- data/docs/TargetUpdateWindows.md +2 -0
- data/docs/TargetUpdateZeroSSL.md +2 -0
- 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/UpdateAuthMethodUniversalIdentity.md +4 -0
- data/docs/UpdateItem.md +8 -2
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UpdateTarget.md +2 -0
- data/docs/UscCreate.md +2 -0
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscList.md +4 -0
- data/docs/UscListSecretsOutput.md +5 -1
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +572 -6
- data/docs/WebBastionRdpRecord.md +2 -0
- data/lib/akeyless/api/v2_api.rb +580 -4
- data/lib/akeyless/models/account_general_settings.rb +19 -1
- data/lib/akeyless/models/agentic_rule.rb +223 -0
- data/lib/akeyless/models/agentic_rules.rb +227 -0
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -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/create_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/create_role.rb +11 -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 +25 -5
- 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 +24 -4
- data/lib/akeyless/models/gateway_create_migration.rb +21 -1
- data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
- data/lib/akeyless/models/gateway_update_migration.rb +21 -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/google_trust_target_details.rb +335 -0
- data/lib/akeyless/models/hashi_payload.rb +22 -4
- 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/list_items.rb +13 -1
- 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 +10 -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/runtime_authority_command.rb +288 -0
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/secure_remote_access.rb +19 -1
- data/lib/akeyless/models/set_default_profile.rb +234 -0
- data/lib/akeyless/models/set_default_profile_output.rb +214 -0
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sync_counters.rb +233 -0
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +19 -1
- data/lib/akeyless/models/target_create_artifactory.rb +11 -1
- data/lib/akeyless/models/target_create_aws.rb +11 -1
- data/lib/akeyless/models/target_create_azure.rb +11 -1
- data/lib/akeyless/models/target_create_db.rb +11 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +408 -0
- data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_create_eks.rb +11 -1
- data/lib/akeyless/models/target_create_gcp.rb +11 -1
- data/lib/akeyless/models/target_create_gemini.rb +11 -1
- data/lib/akeyless/models/target_create_github.rb +11 -1
- data/lib/akeyless/models/target_create_gitlab.rb +11 -1
- data/lib/akeyless/models/target_create_gke.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_create_godaddy.rb +11 -1
- data/lib/akeyless/models/target_create_google_trust.rb +408 -0
- data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_create_k8s.rb +11 -1
- data/lib/akeyless/models/target_create_ldap.rb +11 -1
- data/lib/akeyless/models/target_create_lets_encrypt.rb +18 -1
- data/lib/akeyless/models/target_create_linked.rb +11 -1
- data/lib/akeyless/models/target_create_open_ai.rb +11 -1
- data/lib/akeyless/models/target_create_ping.rb +11 -1
- data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_create_salesforce.rb +11 -1
- data/lib/akeyless/models/target_create_sectigo.rb +11 -1
- data/lib/akeyless/models/target_create_splunk.rb +21 -1
- data/lib/akeyless/models/target_create_ssh.rb +11 -1
- data/lib/akeyless/models/target_create_web.rb +11 -1
- data/lib/akeyless/models/target_create_windows.rb +11 -1
- data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_artifactory.rb +11 -1
- data/lib/akeyless/models/target_update_aws.rb +11 -1
- data/lib/akeyless/models/target_update_azure.rb +11 -1
- data/lib/akeyless/models/target_update_db.rb +11 -1
- data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
- data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_update_eks.rb +11 -1
- data/lib/akeyless/models/target_update_gcp.rb +11 -1
- data/lib/akeyless/models/target_update_gemini.rb +11 -1
- data/lib/akeyless/models/target_update_github.rb +11 -1
- data/lib/akeyless/models/target_update_gitlab.rb +11 -1
- data/lib/akeyless/models/target_update_gke.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_update_godaddy.rb +11 -1
- data/lib/akeyless/models/target_update_google_trust.rb +428 -0
- data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_update_k8s.rb +11 -1
- data/lib/akeyless/models/target_update_ldap.rb +11 -1
- data/lib/akeyless/models/target_update_lets_encrypt.rb +18 -1
- data/lib/akeyless/models/target_update_open_ai.rb +11 -1
- data/lib/akeyless/models/target_update_ping.rb +11 -1
- data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_update_salesforce.rb +11 -1
- data/lib/akeyless/models/target_update_sectigo.rb +11 -1
- data/lib/akeyless/models/target_update_ssh.rb +11 -1
- data/lib/akeyless/models/target_update_web.rb +11 -1
- data/lib/akeyless/models/target_update_windows.rb +11 -1
- data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
- 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_universal_identity.rb +25 -1
- data/lib/akeyless/models/update_item.rb +35 -7
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/models/update_rotated_secret.rb +12 -4
- data/lib/akeyless/models/update_target.rb +11 -1
- 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.rb +21 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +24 -4
- data/lib/akeyless/models/usc_update.rb +20 -1
- data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +19 -0
- data/spec/models/agentic_rule_spec.rb +42 -0
- data/spec/models/agentic_rules_spec.rb +42 -0
- data/spec/models/digi_cert_target_details_spec.rb +108 -0
- data/spec/models/google_trust_target_details_spec.rb +108 -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/runtime_authority_command_spec.rb +66 -0
- data/spec/models/set_default_profile_output_spec.rb +36 -0
- data/spec/models/set_default_profile_spec.rb +42 -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
- metadata +1226 -1147
|
@@ -36,6 +36,9 @@ module Akeyless
|
|
|
36
36
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
37
37
|
attr_accessor :key
|
|
38
38
|
|
|
39
|
+
# Lock this secret for read/update while an SRA session is active
|
|
40
|
+
attr_accessor :lock_during_sra_session
|
|
41
|
+
|
|
39
42
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
40
43
|
attr_accessor :max_versions
|
|
41
44
|
|
|
@@ -45,7 +48,7 @@ module Akeyless
|
|
|
45
48
|
# The length of the password to be generated
|
|
46
49
|
attr_accessor :password_length
|
|
47
50
|
|
|
48
|
-
#
|
|
51
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
49
52
|
attr_accessor :rotate_after_disconnect
|
|
50
53
|
|
|
51
54
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -109,6 +112,7 @@ module Akeyless
|
|
|
109
112
|
:'item_custom_fields' => :'item-custom-fields',
|
|
110
113
|
:'json' => :'json',
|
|
111
114
|
:'key' => :'key',
|
|
115
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
112
116
|
:'max_versions' => :'max-versions',
|
|
113
117
|
:'name' => :'name',
|
|
114
118
|
:'password_length' => :'password-length',
|
|
@@ -148,6 +152,7 @@ module Akeyless
|
|
|
148
152
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
149
153
|
:'json' => :'Boolean',
|
|
150
154
|
:'key' => :'String',
|
|
155
|
+
:'lock_during_sra_session' => :'String',
|
|
151
156
|
:'max_versions' => :'String',
|
|
152
157
|
:'name' => :'String',
|
|
153
158
|
:'password_length' => :'String',
|
|
@@ -227,6 +232,10 @@ module Akeyless
|
|
|
227
232
|
self.key = attributes[:'key']
|
|
228
233
|
end
|
|
229
234
|
|
|
235
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
236
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
237
|
+
end
|
|
238
|
+
|
|
230
239
|
if attributes.key?(:'max_versions')
|
|
231
240
|
self.max_versions = attributes[:'max_versions']
|
|
232
241
|
end
|
|
@@ -243,8 +252,6 @@ module Akeyless
|
|
|
243
252
|
|
|
244
253
|
if attributes.key?(:'rotate_after_disconnect')
|
|
245
254
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
246
|
-
else
|
|
247
|
-
self.rotate_after_disconnect = 'false'
|
|
248
255
|
end
|
|
249
256
|
|
|
250
257
|
if attributes.key?(:'rotated_password')
|
|
@@ -370,6 +377,7 @@ module Akeyless
|
|
|
370
377
|
item_custom_fields == o.item_custom_fields &&
|
|
371
378
|
json == o.json &&
|
|
372
379
|
key == o.key &&
|
|
380
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
373
381
|
max_versions == o.max_versions &&
|
|
374
382
|
name == o.name &&
|
|
375
383
|
password_length == o.password_length &&
|
|
@@ -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
|
-
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, 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, tags, target_name, token, uid_token].hash
|
|
413
|
+
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, 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, tags, target_name, token, uid_token].hash
|
|
406
414
|
end
|
|
407
415
|
|
|
408
416
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module Akeyless
|
|
|
36
36
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
37
37
|
attr_accessor :key
|
|
38
38
|
|
|
39
|
+
# Lock this secret for read/update while an SRA session is active
|
|
40
|
+
attr_accessor :lock_during_sra_session
|
|
41
|
+
|
|
39
42
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
40
43
|
attr_accessor :max_versions
|
|
41
44
|
|
|
@@ -45,7 +48,7 @@ module Akeyless
|
|
|
45
48
|
# The length of the password to be generated
|
|
46
49
|
attr_accessor :password_length
|
|
47
50
|
|
|
48
|
-
#
|
|
51
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
49
52
|
attr_accessor :rotate_after_disconnect
|
|
50
53
|
|
|
51
54
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -106,6 +109,7 @@ module Akeyless
|
|
|
106
109
|
:'item_custom_fields' => :'item-custom-fields',
|
|
107
110
|
:'json' => :'json',
|
|
108
111
|
:'key' => :'key',
|
|
112
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
109
113
|
:'max_versions' => :'max-versions',
|
|
110
114
|
:'name' => :'name',
|
|
111
115
|
:'password_length' => :'password-length',
|
|
@@ -144,6 +148,7 @@ module Akeyless
|
|
|
144
148
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
145
149
|
:'json' => :'Boolean',
|
|
146
150
|
:'key' => :'String',
|
|
151
|
+
:'lock_during_sra_session' => :'String',
|
|
147
152
|
:'max_versions' => :'String',
|
|
148
153
|
:'name' => :'String',
|
|
149
154
|
:'password_length' => :'String',
|
|
@@ -222,6 +227,10 @@ module Akeyless
|
|
|
222
227
|
self.key = attributes[:'key']
|
|
223
228
|
end
|
|
224
229
|
|
|
230
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
231
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
232
|
+
end
|
|
233
|
+
|
|
225
234
|
if attributes.key?(:'max_versions')
|
|
226
235
|
self.max_versions = attributes[:'max_versions']
|
|
227
236
|
end
|
|
@@ -238,8 +247,6 @@ module Akeyless
|
|
|
238
247
|
|
|
239
248
|
if attributes.key?(:'rotate_after_disconnect')
|
|
240
249
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
241
|
-
else
|
|
242
|
-
self.rotate_after_disconnect = 'false'
|
|
243
250
|
end
|
|
244
251
|
|
|
245
252
|
if attributes.key?(:'rotated_password')
|
|
@@ -361,6 +368,7 @@ module Akeyless
|
|
|
361
368
|
item_custom_fields == o.item_custom_fields &&
|
|
362
369
|
json == o.json &&
|
|
363
370
|
key == o.key &&
|
|
371
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
364
372
|
max_versions == o.max_versions &&
|
|
365
373
|
name == o.name &&
|
|
366
374
|
password_length == o.password_length &&
|
|
@@ -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
|
-
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
403
|
+
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
396
404
|
end
|
|
397
405
|
|
|
398
406
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module Akeyless
|
|
|
36
36
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
37
37
|
attr_accessor :key
|
|
38
38
|
|
|
39
|
+
# Lock this secret for read/update while an SRA session is active
|
|
40
|
+
attr_accessor :lock_during_sra_session
|
|
41
|
+
|
|
39
42
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
40
43
|
attr_accessor :max_versions
|
|
41
44
|
|
|
@@ -45,7 +48,7 @@ module Akeyless
|
|
|
45
48
|
# The length of the password to be generated
|
|
46
49
|
attr_accessor :password_length
|
|
47
50
|
|
|
48
|
-
#
|
|
51
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
49
52
|
attr_accessor :rotate_after_disconnect
|
|
50
53
|
|
|
51
54
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -100,6 +103,7 @@ module Akeyless
|
|
|
100
103
|
:'item_custom_fields' => :'item-custom-fields',
|
|
101
104
|
:'json' => :'json',
|
|
102
105
|
:'key' => :'key',
|
|
106
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
103
107
|
:'max_versions' => :'max-versions',
|
|
104
108
|
:'name' => :'name',
|
|
105
109
|
:'password_length' => :'password-length',
|
|
@@ -136,6 +140,7 @@ module Akeyless
|
|
|
136
140
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
137
141
|
:'json' => :'Boolean',
|
|
138
142
|
:'key' => :'String',
|
|
143
|
+
:'lock_during_sra_session' => :'String',
|
|
139
144
|
:'max_versions' => :'String',
|
|
140
145
|
:'name' => :'String',
|
|
141
146
|
:'password_length' => :'String',
|
|
@@ -212,6 +217,10 @@ module Akeyless
|
|
|
212
217
|
self.key = attributes[:'key']
|
|
213
218
|
end
|
|
214
219
|
|
|
220
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
221
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
222
|
+
end
|
|
223
|
+
|
|
215
224
|
if attributes.key?(:'max_versions')
|
|
216
225
|
self.max_versions = attributes[:'max_versions']
|
|
217
226
|
end
|
|
@@ -228,8 +237,6 @@ module Akeyless
|
|
|
228
237
|
|
|
229
238
|
if attributes.key?(:'rotate_after_disconnect')
|
|
230
239
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
231
|
-
else
|
|
232
|
-
self.rotate_after_disconnect = 'false'
|
|
233
240
|
end
|
|
234
241
|
|
|
235
242
|
if attributes.key?(:'rotated_password')
|
|
@@ -343,6 +350,7 @@ module Akeyless
|
|
|
343
350
|
item_custom_fields == o.item_custom_fields &&
|
|
344
351
|
json == o.json &&
|
|
345
352
|
key == o.key &&
|
|
353
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
346
354
|
max_versions == o.max_versions &&
|
|
347
355
|
name == o.name &&
|
|
348
356
|
password_length == o.password_length &&
|
|
@@ -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
|
-
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
383
|
+
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_db_name, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token].hash
|
|
376
384
|
end
|
|
377
385
|
|
|
378
386
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module Akeyless
|
|
|
36
36
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
37
37
|
attr_accessor :key
|
|
38
38
|
|
|
39
|
+
# Lock this secret for read/update while an SRA session is active
|
|
40
|
+
attr_accessor :lock_during_sra_session
|
|
41
|
+
|
|
39
42
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
40
43
|
attr_accessor :max_versions
|
|
41
44
|
|
|
@@ -45,7 +48,7 @@ module Akeyless
|
|
|
45
48
|
# The length of the password to be generated
|
|
46
49
|
attr_accessor :password_length
|
|
47
50
|
|
|
48
|
-
#
|
|
51
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
49
52
|
attr_accessor :rotate_after_disconnect
|
|
50
53
|
|
|
51
54
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -109,6 +112,7 @@ module Akeyless
|
|
|
109
112
|
:'item_custom_fields' => :'item-custom-fields',
|
|
110
113
|
:'json' => :'json',
|
|
111
114
|
:'key' => :'key',
|
|
115
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
112
116
|
:'max_versions' => :'max-versions',
|
|
113
117
|
:'name' => :'name',
|
|
114
118
|
:'password_length' => :'password-length',
|
|
@@ -148,6 +152,7 @@ module Akeyless
|
|
|
148
152
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
149
153
|
:'json' => :'Boolean',
|
|
150
154
|
:'key' => :'String',
|
|
155
|
+
:'lock_during_sra_session' => :'String',
|
|
151
156
|
:'max_versions' => :'String',
|
|
152
157
|
:'name' => :'String',
|
|
153
158
|
:'password_length' => :'String',
|
|
@@ -227,6 +232,10 @@ module Akeyless
|
|
|
227
232
|
self.key = attributes[:'key']
|
|
228
233
|
end
|
|
229
234
|
|
|
235
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
236
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
237
|
+
end
|
|
238
|
+
|
|
230
239
|
if attributes.key?(:'max_versions')
|
|
231
240
|
self.max_versions = attributes[:'max_versions']
|
|
232
241
|
end
|
|
@@ -243,8 +252,6 @@ module Akeyless
|
|
|
243
252
|
|
|
244
253
|
if attributes.key?(:'rotate_after_disconnect')
|
|
245
254
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
246
|
-
else
|
|
247
|
-
self.rotate_after_disconnect = 'false'
|
|
248
255
|
end
|
|
249
256
|
|
|
250
257
|
if attributes.key?(:'rotated_password')
|
|
@@ -370,6 +377,7 @@ module Akeyless
|
|
|
370
377
|
item_custom_fields == o.item_custom_fields &&
|
|
371
378
|
json == o.json &&
|
|
372
379
|
key == o.key &&
|
|
380
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
373
381
|
max_versions == o.max_versions &&
|
|
374
382
|
name == o.name &&
|
|
375
383
|
password_length == o.password_length &&
|
|
@@ -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
|
-
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, 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, tags, target_name, token, uid_token].hash
|
|
413
|
+
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, 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, tags, target_name, token, uid_token].hash
|
|
406
414
|
end
|
|
407
415
|
|
|
408
416
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module Akeyless
|
|
|
36
36
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
37
37
|
attr_accessor :key
|
|
38
38
|
|
|
39
|
+
# Lock this secret for read/update while an SRA session is active
|
|
40
|
+
attr_accessor :lock_during_sra_session
|
|
41
|
+
|
|
39
42
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
40
43
|
attr_accessor :max_versions
|
|
41
44
|
|
|
@@ -45,7 +48,7 @@ module Akeyless
|
|
|
45
48
|
# The length of the password to be generated
|
|
46
49
|
attr_accessor :password_length
|
|
47
50
|
|
|
48
|
-
#
|
|
51
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
49
52
|
attr_accessor :rotate_after_disconnect
|
|
50
53
|
|
|
51
54
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -97,6 +100,7 @@ module Akeyless
|
|
|
97
100
|
:'item_custom_fields' => :'item-custom-fields',
|
|
98
101
|
:'json' => :'json',
|
|
99
102
|
:'key' => :'key',
|
|
103
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
100
104
|
:'max_versions' => :'max-versions',
|
|
101
105
|
:'name' => :'name',
|
|
102
106
|
:'password_length' => :'password-length',
|
|
@@ -132,6 +136,7 @@ module Akeyless
|
|
|
132
136
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
133
137
|
:'json' => :'Boolean',
|
|
134
138
|
:'key' => :'String',
|
|
139
|
+
:'lock_during_sra_session' => :'String',
|
|
135
140
|
:'max_versions' => :'String',
|
|
136
141
|
:'name' => :'String',
|
|
137
142
|
:'password_length' => :'String',
|
|
@@ -207,6 +212,10 @@ module Akeyless
|
|
|
207
212
|
self.key = attributes[:'key']
|
|
208
213
|
end
|
|
209
214
|
|
|
215
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
216
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
217
|
+
end
|
|
218
|
+
|
|
210
219
|
if attributes.key?(:'max_versions')
|
|
211
220
|
self.max_versions = attributes[:'max_versions']
|
|
212
221
|
end
|
|
@@ -223,8 +232,6 @@ module Akeyless
|
|
|
223
232
|
|
|
224
233
|
if attributes.key?(:'rotate_after_disconnect')
|
|
225
234
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
226
|
-
else
|
|
227
|
-
self.rotate_after_disconnect = 'false'
|
|
228
235
|
end
|
|
229
236
|
|
|
230
237
|
if attributes.key?(:'rotated_password')
|
|
@@ -332,6 +339,7 @@ module Akeyless
|
|
|
332
339
|
item_custom_fields == o.item_custom_fields &&
|
|
333
340
|
json == o.json &&
|
|
334
341
|
key == o.key &&
|
|
342
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
335
343
|
max_versions == o.max_versions &&
|
|
336
344
|
name == o.name &&
|
|
337
345
|
password_length == o.password_length &&
|
|
@@ -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
|
-
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_db_name, secure_access_enable, secure_access_host, tags, target_name, token, uid_token].hash
|
|
371
|
+
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, password_length, rotate_after_disconnect, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_db_name, secure_access_enable, secure_access_host, tags, target_name, token, uid_token].hash
|
|
364
372
|
end
|
|
365
373
|
|
|
366
374
|
# Builds the object from hash
|
|
@@ -39,6 +39,9 @@ module Akeyless
|
|
|
39
39
|
# Private key file contents encoded using base64
|
|
40
40
|
attr_accessor :key_data_base64
|
|
41
41
|
|
|
42
|
+
# Lock this secret for read/update while an SRA session is active
|
|
43
|
+
attr_accessor :lock_during_sra_session
|
|
44
|
+
|
|
42
45
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
43
46
|
attr_accessor :max_versions
|
|
44
47
|
|
|
@@ -51,7 +54,7 @@ module Akeyless
|
|
|
51
54
|
# The path to the public key that will be rotated on the server
|
|
52
55
|
attr_accessor :public_key_remote_path
|
|
53
56
|
|
|
54
|
-
#
|
|
57
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
55
58
|
attr_accessor :rotate_after_disconnect
|
|
56
59
|
|
|
57
60
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -128,6 +131,7 @@ module Akeyless
|
|
|
128
131
|
:'json' => :'json',
|
|
129
132
|
:'key' => :'key',
|
|
130
133
|
:'key_data_base64' => :'key-data-base64',
|
|
134
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
131
135
|
:'max_versions' => :'max-versions',
|
|
132
136
|
:'name' => :'name',
|
|
133
137
|
:'password_length' => :'password-length',
|
|
@@ -173,6 +177,7 @@ module Akeyless
|
|
|
173
177
|
:'json' => :'Boolean',
|
|
174
178
|
:'key' => :'String',
|
|
175
179
|
:'key_data_base64' => :'String',
|
|
180
|
+
:'lock_during_sra_session' => :'String',
|
|
176
181
|
:'max_versions' => :'String',
|
|
177
182
|
:'name' => :'String',
|
|
178
183
|
:'password_length' => :'String',
|
|
@@ -261,6 +266,10 @@ module Akeyless
|
|
|
261
266
|
self.key_data_base64 = attributes[:'key_data_base64']
|
|
262
267
|
end
|
|
263
268
|
|
|
269
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
270
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
271
|
+
end
|
|
272
|
+
|
|
264
273
|
if attributes.key?(:'max_versions')
|
|
265
274
|
self.max_versions = attributes[:'max_versions']
|
|
266
275
|
end
|
|
@@ -281,8 +290,6 @@ module Akeyless
|
|
|
281
290
|
|
|
282
291
|
if attributes.key?(:'rotate_after_disconnect')
|
|
283
292
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
284
|
-
else
|
|
285
|
-
self.rotate_after_disconnect = 'false'
|
|
286
293
|
end
|
|
287
294
|
|
|
288
295
|
if attributes.key?(:'rotated_password')
|
|
@@ -427,6 +434,7 @@ module Akeyless
|
|
|
427
434
|
json == o.json &&
|
|
428
435
|
key == o.key &&
|
|
429
436
|
key_data_base64 == o.key_data_base64 &&
|
|
437
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
430
438
|
max_versions == o.max_versions &&
|
|
431
439
|
name == o.name &&
|
|
432
440
|
password_length == o.password_length &&
|
|
@@ -464,7 +472,7 @@ module Akeyless
|
|
|
464
472
|
# Calculates hash code according to all attributes.
|
|
465
473
|
# @return [Integer] Hash code
|
|
466
474
|
def hash
|
|
467
|
-
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, key_data_base64, max_versions, name, password_length, public_key_remote_path, 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, tags, target_name, token, uid_token].hash
|
|
475
|
+
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, key_data_base64, lock_during_sra_session, max_versions, name, password_length, public_key_remote_path, 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, tags, target_name, token, uid_token].hash
|
|
468
476
|
end
|
|
469
477
|
|
|
470
478
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module Akeyless
|
|
|
36
36
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
37
37
|
attr_accessor :key
|
|
38
38
|
|
|
39
|
+
# Lock this secret for read/update while an SRA session is active
|
|
40
|
+
attr_accessor :lock_during_sra_session
|
|
41
|
+
|
|
39
42
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
40
43
|
attr_accessor :max_versions
|
|
41
44
|
|
|
@@ -45,7 +48,7 @@ module Akeyless
|
|
|
45
48
|
# The length of the password to be generated
|
|
46
49
|
attr_accessor :password_length
|
|
47
50
|
|
|
48
|
-
#
|
|
51
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
49
52
|
attr_accessor :rotate_after_disconnect
|
|
50
53
|
|
|
51
54
|
# rotated-username password (relevant only for rotator-type=password)
|
|
@@ -112,6 +115,7 @@ module Akeyless
|
|
|
112
115
|
:'item_custom_fields' => :'item-custom-fields',
|
|
113
116
|
:'json' => :'json',
|
|
114
117
|
:'key' => :'key',
|
|
118
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
115
119
|
:'max_versions' => :'max-versions',
|
|
116
120
|
:'name' => :'name',
|
|
117
121
|
:'password_length' => :'password-length',
|
|
@@ -152,6 +156,7 @@ module Akeyless
|
|
|
152
156
|
:'item_custom_fields' => :'Hash<String, String>',
|
|
153
157
|
:'json' => :'Boolean',
|
|
154
158
|
:'key' => :'String',
|
|
159
|
+
:'lock_during_sra_session' => :'String',
|
|
155
160
|
:'max_versions' => :'String',
|
|
156
161
|
:'name' => :'String',
|
|
157
162
|
:'password_length' => :'String',
|
|
@@ -232,6 +237,10 @@ module Akeyless
|
|
|
232
237
|
self.key = attributes[:'key']
|
|
233
238
|
end
|
|
234
239
|
|
|
240
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
241
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
242
|
+
end
|
|
243
|
+
|
|
235
244
|
if attributes.key?(:'max_versions')
|
|
236
245
|
self.max_versions = attributes[:'max_versions']
|
|
237
246
|
end
|
|
@@ -248,8 +257,6 @@ module Akeyless
|
|
|
248
257
|
|
|
249
258
|
if attributes.key?(:'rotate_after_disconnect')
|
|
250
259
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
251
|
-
else
|
|
252
|
-
self.rotate_after_disconnect = 'false'
|
|
253
260
|
end
|
|
254
261
|
|
|
255
262
|
if attributes.key?(:'rotated_password')
|
|
@@ -379,6 +386,7 @@ module Akeyless
|
|
|
379
386
|
item_custom_fields == o.item_custom_fields &&
|
|
380
387
|
json == o.json &&
|
|
381
388
|
key == o.key &&
|
|
389
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
382
390
|
max_versions == o.max_versions &&
|
|
383
391
|
name == o.name &&
|
|
384
392
|
password_length == o.password_length &&
|
|
@@ -412,7 +420,7 @@ module Akeyless
|
|
|
412
420
|
# Calculates hash code according to all attributes.
|
|
413
421
|
# @return [Integer] Hash code
|
|
414
422
|
def hash
|
|
415
|
-
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, max_versions, name, password_length, 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, tags, target_name, token, uid_token].hash
|
|
423
|
+
[authentication_credentials, auto_rotate, delete_protection, description, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, password_length, 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, tags, target_name, token, uid_token].hash
|
|
416
424
|
end
|
|
417
425
|
|
|
418
426
|
# Builds the object from hash
|
|
@@ -63,6 +63,9 @@ module Akeyless
|
|
|
63
63
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
64
64
|
attr_accessor :key
|
|
65
65
|
|
|
66
|
+
# Lock this secret for read/update while an SRA session is active
|
|
67
|
+
attr_accessor :lock_during_sra_session
|
|
68
|
+
|
|
66
69
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
67
70
|
attr_accessor :max_versions
|
|
68
71
|
|
|
@@ -78,7 +81,7 @@ module Akeyless
|
|
|
78
81
|
# List of the existent tags that will be removed from this item
|
|
79
82
|
attr_accessor :rm_tag
|
|
80
83
|
|
|
81
|
-
#
|
|
84
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
82
85
|
attr_accessor :rotate_after_disconnect
|
|
83
86
|
|
|
84
87
|
# How many days before the rotation of the item would you like to be notified
|
|
@@ -130,6 +133,7 @@ module Akeyless
|
|
|
130
133
|
:'json' => :'json',
|
|
131
134
|
:'keep_prev_version' => :'keep-prev-version',
|
|
132
135
|
:'key' => :'key',
|
|
136
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
133
137
|
:'max_versions' => :'max-versions',
|
|
134
138
|
:'name' => :'name',
|
|
135
139
|
:'new_name' => :'new-name',
|
|
@@ -173,6 +177,7 @@ module Akeyless
|
|
|
173
177
|
:'json' => :'Boolean',
|
|
174
178
|
:'keep_prev_version' => :'String',
|
|
175
179
|
:'key' => :'String',
|
|
180
|
+
:'lock_during_sra_session' => :'String',
|
|
176
181
|
:'max_versions' => :'String',
|
|
177
182
|
:'name' => :'String',
|
|
178
183
|
:'new_name' => :'String',
|
|
@@ -289,6 +294,10 @@ module Akeyless
|
|
|
289
294
|
self.key = attributes[:'key']
|
|
290
295
|
end
|
|
291
296
|
|
|
297
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
298
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
299
|
+
end
|
|
300
|
+
|
|
292
301
|
if attributes.key?(:'max_versions')
|
|
293
302
|
self.max_versions = attributes[:'max_versions']
|
|
294
303
|
end
|
|
@@ -315,8 +324,6 @@ module Akeyless
|
|
|
315
324
|
|
|
316
325
|
if attributes.key?(:'rotate_after_disconnect')
|
|
317
326
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
318
|
-
else
|
|
319
|
-
self.rotate_after_disconnect = 'false'
|
|
320
327
|
end
|
|
321
328
|
|
|
322
329
|
if attributes.key?(:'rotation_event_in')
|
|
@@ -403,6 +410,7 @@ module Akeyless
|
|
|
403
410
|
json == o.json &&
|
|
404
411
|
keep_prev_version == o.keep_prev_version &&
|
|
405
412
|
key == o.key &&
|
|
413
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
406
414
|
max_versions == o.max_versions &&
|
|
407
415
|
name == o.name &&
|
|
408
416
|
new_name == o.new_name &&
|
|
@@ -430,7 +438,7 @@ module Akeyless
|
|
|
430
438
|
# Calculates hash code according to all attributes.
|
|
431
439
|
# @return [Integer] Hash code
|
|
432
440
|
def hash
|
|
433
|
-
[add_tag, api_id, api_key, authentication_credentials, auto_rotate, aws_region, delete_protection, description, grace_rotation, grace_rotation_hour, grace_rotation_interval, grace_rotation_timing, item_custom_fields, json, keep_prev_version, key, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, token, uid_token].hash
|
|
441
|
+
[add_tag, api_id, api_key, authentication_credentials, auto_rotate, aws_region, delete_protection, description, grace_rotation, grace_rotation_hour, grace_rotation_interval, grace_rotation_timing, item_custom_fields, json, keep_prev_version, key, lock_during_sra_session, max_versions, name, new_name, password_length, rm_tag, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, token, uid_token].hash
|
|
434
442
|
end
|
|
435
443
|
|
|
436
444
|
# Builds the object from hash
|
|
@@ -66,6 +66,9 @@ module Akeyless
|
|
|
66
66
|
# The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
|
|
67
67
|
attr_accessor :key
|
|
68
68
|
|
|
69
|
+
# Lock this secret for read/update while an SRA session is active
|
|
70
|
+
attr_accessor :lock_during_sra_session
|
|
71
|
+
|
|
69
72
|
# Set the maximum number of versions, limited by the account settings defaults.
|
|
70
73
|
attr_accessor :max_versions
|
|
71
74
|
|
|
@@ -87,7 +90,7 @@ module Akeyless
|
|
|
87
90
|
# List of the existent tags that will be removed from this item
|
|
88
91
|
attr_accessor :rm_tag
|
|
89
92
|
|
|
90
|
-
#
|
|
93
|
+
# StringOrBool accepts JSON strings, booleans, and numbers for backward compatibility with older SDK versions that send boolean values for rotate-after-disconnect.
|
|
91
94
|
attr_accessor :rotate_after_disconnect
|
|
92
95
|
|
|
93
96
|
# How many days before the rotation of the item would you like to be notified
|
|
@@ -149,6 +152,7 @@ module Akeyless
|
|
|
149
152
|
:'json' => :'json',
|
|
150
153
|
:'keep_prev_version' => :'keep-prev-version',
|
|
151
154
|
:'key' => :'key',
|
|
155
|
+
:'lock_during_sra_session' => :'lock-during-sra-session',
|
|
152
156
|
:'max_versions' => :'max-versions',
|
|
153
157
|
:'name' => :'name',
|
|
154
158
|
:'new_name' => :'new-name',
|
|
@@ -198,6 +202,7 @@ module Akeyless
|
|
|
198
202
|
:'json' => :'Boolean',
|
|
199
203
|
:'keep_prev_version' => :'String',
|
|
200
204
|
:'key' => :'String',
|
|
205
|
+
:'lock_during_sra_session' => :'String',
|
|
201
206
|
:'max_versions' => :'String',
|
|
202
207
|
:'name' => :'String',
|
|
203
208
|
:'new_name' => :'String',
|
|
@@ -323,6 +328,10 @@ module Akeyless
|
|
|
323
328
|
self.key = attributes[:'key']
|
|
324
329
|
end
|
|
325
330
|
|
|
331
|
+
if attributes.key?(:'lock_during_sra_session')
|
|
332
|
+
self.lock_during_sra_session = attributes[:'lock_during_sra_session']
|
|
333
|
+
end
|
|
334
|
+
|
|
326
335
|
if attributes.key?(:'max_versions')
|
|
327
336
|
self.max_versions = attributes[:'max_versions']
|
|
328
337
|
end
|
|
@@ -357,8 +366,6 @@ module Akeyless
|
|
|
357
366
|
|
|
358
367
|
if attributes.key?(:'rotate_after_disconnect')
|
|
359
368
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
|
360
|
-
else
|
|
361
|
-
self.rotate_after_disconnect = 'false'
|
|
362
369
|
end
|
|
363
370
|
|
|
364
371
|
if attributes.key?(:'rotation_event_in')
|
|
@@ -464,6 +471,7 @@ module Akeyless
|
|
|
464
471
|
json == o.json &&
|
|
465
472
|
keep_prev_version == o.keep_prev_version &&
|
|
466
473
|
key == o.key &&
|
|
474
|
+
lock_during_sra_session == o.lock_during_sra_session &&
|
|
467
475
|
max_versions == o.max_versions &&
|
|
468
476
|
name == o.name &&
|
|
469
477
|
new_name == o.new_name &&
|
|
@@ -496,7 +504,7 @@ module Akeyless
|
|
|
496
504
|
# Calculates hash code according to all attributes.
|
|
497
505
|
# @return [Integer] Hash code
|
|
498
506
|
def hash
|
|
499
|
-
[add_tag, api_id, api_key, application_id, authentication_credentials, auto_rotate, delete_protection, description, explicitly_set_sa, grace_rotation, grace_rotation_hour, grace_rotation_interval, grace_rotation_timing, item_custom_fields, json, keep_prev_version, key, max_versions, name, new_name, password_length, resource_group_name, resource_name, rm_tag, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, storage_account_key_name, token, uid_token, username].hash
|
|
507
|
+
[add_tag, api_id, api_key, application_id, authentication_credentials, auto_rotate, delete_protection, description, explicitly_set_sa, grace_rotation, grace_rotation_hour, grace_rotation_interval, grace_rotation_timing, item_custom_fields, json, keep_prev_version, key, lock_during_sra_session, max_versions, name, new_name, password_length, resource_group_name, resource_name, rm_tag, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, storage_account_key_name, token, uid_token, username].hash
|
|
500
508
|
end
|
|
501
509
|
|
|
502
510
|
# Builds the object from hash
|