Skip to content

LoginProfileProps

Properties for defining a LoginProfile.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkram"
&alicloudroscdkram.LoginProfileProps {
    UserPrincipalName: interface{},
    GenerateRandomPassword: interface{},
    MfaBindRequired: interface{},
    Password: interface{},
    PasswordResetRequired: interface{},
    Status: interface{},
}

Properties

Name Type Description
UserPrincipalName interface{} Property userPrincipalName: The login name of the RAM user.
GenerateRandomPassword interface{} Property generateRandomPassword: Whether to generate a random password for the RAM user.
MfaBindRequired interface{} Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication.
Password interface{} Property password: The password of the RAM user.
PasswordResetRequired interface{} Property passwordResetRequired: Whether RAM users must reset their password the next time they log in.
Status interface{} Property status: Enable or disable console password login.

UserPrincipalNameRequired

UserPrincipalName interface{}
  • Type: interface{}

Property userPrincipalName: The login name of the RAM user.


GenerateRandomPasswordOptional

GenerateRandomPassword interface{}
  • Type: interface{}

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


MfaBindRequiredOptional

MfaBindRequired interface{}
  • Type: interface{}

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

Password interface{}
  • Type: interface{}

Property password: The password of the RAM user.


PasswordResetRequiredOptional

PasswordResetRequired interface{}
  • Type: interface{}

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


StatusOptional

Status interface{}
  • Type: interface{}

Property status: Enable or disable console password login.

Valid values:

  • Activate (default): Enable.
  • Inactivate: Disable.