Skip to content

LoginProfileProps

Properties for defining a LoginProfile.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-loginprofile

Initializer

import { LoginProfileProps } from '@alicloud/ros-cdk-ram'
const loginProfileProps: LoginProfileProps = { ... }

Properties

Name Type Description
userPrincipalName string | @alicloud/ros-cdk-core.IResolvable Property userPrincipalName: The login name of the RAM user.
generateRandomPassword boolean | @alicloud/ros-cdk-core.IResolvable Property generateRandomPassword: Whether to generate a random password for the RAM user.
mfaBindRequired boolean | @alicloud/ros-cdk-core.IResolvable Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication.
password string | @alicloud/ros-cdk-core.IResolvable Property password: The password of the RAM user.
passwordResetRequired boolean | @alicloud/ros-cdk-core.IResolvable Property passwordResetRequired: Whether RAM users must reset their password the next time they log in.
status string | @alicloud/ros-cdk-core.IResolvable Property status: Enable or disable console password login.

userPrincipalNameRequired

public readonly userPrincipalName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property userPrincipalName: The login name of the RAM user.


generateRandomPasswordOptional

public readonly generateRandomPassword: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property generateRandomPassword: Whether to generate a random password for the RAM user.


mfaBindRequiredOptional

public readonly mfaBindRequired: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication.

Valid values: - true: This is required. RAM users must bind the multifactor authentication device the next time they log in. - false (default) : This is not required.


passwordOptional

public readonly password: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property password: The password of the RAM user.


passwordResetRequiredOptional

public readonly passwordResetRequired: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property passwordResetRequired: Whether RAM users must reset their password the next time they log in.


statusOptional

public readonly status: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property status: Enable or disable console password login.

Valid values: - Activate (default): Enable. - Inactivate: Disable.