SecurityPreferenceArgs

data class SecurityPreferenceArgs(val allowUserToChangePassword: Output<Boolean>? = null, val allowUserToLoginWithPasskey: Output<Boolean>? = null, val allowUserToManageAccessKeys: Output<Boolean>? = null, val allowUserToManageMfaDevices: Output<Boolean>? = null, val allowUserToManagePersonalDingTalk: Output<Boolean>? = null, val enableSaveMfaTicket: Output<Boolean>? = null, val enforceMfaForLogin: Output<Boolean>? = null, val loginNetworkMasks: Output<String>? = null, val loginSessionDuration: Output<Int>? = null, val mfaOperationForLogin: Output<String>? = null, val operationForRiskLogin: Output<String>? = null, val verificationTypes: Output<List<String>>? = null) : ConvertibleToJava<SecurityPreferenceArgs>

Import

RAM Security Preference can be imported using the id, e.g.

$ pulumi import alicloud:ram/securityPreference:SecurityPreference example

Constructors

Link copied to clipboard
constructor(allowUserToChangePassword: Output<Boolean>? = null, allowUserToLoginWithPasskey: Output<Boolean>? = null, allowUserToManageAccessKeys: Output<Boolean>? = null, allowUserToManageMfaDevices: Output<Boolean>? = null, allowUserToManagePersonalDingTalk: Output<Boolean>? = null, enableSaveMfaTicket: Output<Boolean>? = null, enforceMfaForLogin: Output<Boolean>? = null, loginNetworkMasks: Output<String>? = null, loginSessionDuration: Output<Int>? = null, mfaOperationForLogin: Output<String>? = null, operationForRiskLogin: Output<String>? = null, verificationTypes: Output<List<String>>? = null)

Properties

Link copied to clipboard
val allowUserToChangePassword: Output<Boolean>? = null

Whether to allow RAM users to manage their own passwords. Value:

Link copied to clipboard

Whether to allow RAM users to log on using a passkey. Value:

Link copied to clipboard

Whether to allow RAM users to manage their own access keys. Value:

Link copied to clipboard

Whether to allow RAM users to manage multi-factor authentication devices. Value:

Link copied to clipboard

Whether to allow RAM users to independently manage the binding and unbinding of personal DingTalk. Value:

Link copied to clipboard
val enableSaveMfaTicket: Output<Boolean>? = null

Whether to save the verification status of a RAM user after logging in using multi-factor authentication. The validity period is 7 days. Value:

Link copied to clipboard
val enforceMfaForLogin: Output<Boolean>? = null

Field enforce_mfa_for_login has been deprecated from provider version 1.248.0. New field mfa_operation_for_login instead. Specifies whether MFA is required for all RAM users when they log on to the Alibaba Cloud Management Console by using usernames and passwords. Valid values: true and false

Link copied to clipboard
val loginNetworkMasks: Output<String>? = null

The login mask. The logon mask determines which IP addresses are affected by the logon console, including password logon and single sign-on (SSO), but API calls made using the access key are not affected.

Link copied to clipboard
val loginSessionDuration: Output<Int>? = null

The validity period of the logon session of RAM users. Valid values: 1 to 24. Unit: hours. Default value: 6.

Link copied to clipboard
val mfaOperationForLogin: Output<String>? = null

MFA must be used during logon (replace the original EnforceMFAForLogin parameter, the original parameter is still valid, we recommend that you update it to a new parameter). Value:

Link copied to clipboard
val operationForRiskLogin: Output<String>? = null

Whether MFA is verified twice during abnormal logon. Value:

Link copied to clipboard
val verificationTypes: Output<List<String>>? = null

Means of multi-factor authentication. Value:

Functions

Link copied to clipboard
open override fun toJava(): SecurityPreferenceArgs