published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
An IAM sub-user is an identity for access control, created by an account or a user with permissions. After permissions are granted, the user can log in to the console or use the access key to call APIs to access cloud resources.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
userDemo:
type: volcenginecc:iam:User
name: UserDemo
properties:
userName: UserDemo
description: user description
groups:
- UserGroupDemo
policies:
- policy_name: TOSReadOnlyAccess
policy_type: System
tags:
- key: env
value: test
Create User Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new User(name: string, args: UserArgs, opts?: CustomResourceOptions);@overload
def User(resource_name: str,
args: UserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def User(resource_name: str,
opts: Optional[ResourceOptions] = None,
user_name: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
email: Optional[str] = None,
email_is_verify: Optional[bool] = None,
groups: Optional[Sequence[str]] = None,
login_profile: Optional[UserLoginProfileArgs] = None,
mobile_phone: Optional[str] = None,
policies: Optional[Sequence[UserPolicyArgs]] = None,
security_config: Optional[UserSecurityConfigArgs] = None,
tags: Optional[Sequence[UserTagArgs]] = None)func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)public User(string name, UserArgs args, CustomResourceOptions? opts = null)type: volcenginecc:iam:User
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
User Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The User resource accepts the following input properties:
- User
Name string - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- Description string
- Description for the sub-user, up to 255 characters.
- Display
Name string - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- Email string
- Sub-user's email address.
- Email
Is boolVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- Groups List<string>
- User group to which the sub-user belongs.
- Login
Profile Volcengine.User Login Profile - Login configuration for the sub-user.
- Mobile
Phone string - Sub-user's mobile number.
- Policies
List<Volcengine.
User Policy> - Security
Config Volcengine.User Security Config - Operation protection configuration for the sub-user.
-
List<Volcengine.
User Tag>
- User
Name string - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- Description string
- Description for the sub-user, up to 255 characters.
- Display
Name string - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- Email string
- Sub-user's email address.
- Email
Is boolVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- Groups []string
- User group to which the sub-user belongs.
- Login
Profile UserLogin Profile Args - Login configuration for the sub-user.
- Mobile
Phone string - Sub-user's mobile number.
- Policies
[]User
Policy Args - Security
Config UserSecurity Config Args - Operation protection configuration for the sub-user.
-
[]User
Tag Args
- user
Name String - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- description String
- Description for the sub-user, up to 255 characters.
- display
Name String - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- email String
- Sub-user's email address.
- email
Is BooleanVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- groups List<String>
- User group to which the sub-user belongs.
- login
Profile UserLogin Profile - Login configuration for the sub-user.
- mobile
Phone String - Sub-user's mobile number.
- policies
List<User
Policy> - security
Config UserSecurity Config - Operation protection configuration for the sub-user.
-
List<User
Tag>
- user
Name string - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- description string
- Description for the sub-user, up to 255 characters.
- display
Name string - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- email string
- Sub-user's email address.
- email
Is booleanVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- groups string[]
- User group to which the sub-user belongs.
- login
Profile UserLogin Profile - Login configuration for the sub-user.
- mobile
Phone string - Sub-user's mobile number.
- policies
User
Policy[] - security
Config UserSecurity Config - Operation protection configuration for the sub-user.
-
User
Tag[]
- user_
name str - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- description str
- Description for the sub-user, up to 255 characters.
- display_
name str - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- email str
- Sub-user's email address.
- email_
is_ boolverify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- groups Sequence[str]
- User group to which the sub-user belongs.
- login_
profile UserLogin Profile Args - Login configuration for the sub-user.
- mobile_
phone str - Sub-user's mobile number.
- policies
Sequence[User
Policy Args] - security_
config UserSecurity Config Args - Operation protection configuration for the sub-user.
-
Sequence[User
Tag Args]
- user
Name String - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- description String
- Description for the sub-user, up to 255 characters.
- display
Name String - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- email String
- Sub-user's email address.
- email
Is BooleanVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- groups List<String>
- User group to which the sub-user belongs.
- login
Profile Property Map - Login configuration for the sub-user.
- mobile
Phone String - Sub-user's mobile number.
- policies List<Property Map>
- security
Config Property Map - Operation protection configuration for the sub-user.
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:
- Access
Keys List<Volcengine.User Access Key> - Account
Id double - Main account to which the sub-user belongs.
- Create
Date string - Sub-user's creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mobile
Phone boolIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- Trn string
- TRN expression for the sub-user.
- Update
Date string - Update time for the sub-user.
- User
Id int - Sub-user's ID.
- Access
Keys []UserAccess Key - Account
Id float64 - Main account to which the sub-user belongs.
- Create
Date string - Sub-user's creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mobile
Phone boolIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- Trn string
- TRN expression for the sub-user.
- Update
Date string - Update time for the sub-user.
- User
Id int - Sub-user's ID.
- access
Keys List<UserAccess Key> - account
Id Double - Main account to which the sub-user belongs.
- create
Date String - Sub-user's creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- mobile
Phone BooleanIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- trn String
- TRN expression for the sub-user.
- update
Date String - Update time for the sub-user.
- user
Id Integer - Sub-user's ID.
- access
Keys UserAccess Key[] - account
Id number - Main account to which the sub-user belongs.
- create
Date string - Sub-user's creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- mobile
Phone booleanIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- trn string
- TRN expression for the sub-user.
- update
Date string - Update time for the sub-user.
- user
Id number - Sub-user's ID.
- access_
keys Sequence[UserAccess Key] - account_
id float - Main account to which the sub-user belongs.
- create_
date str - Sub-user's creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- mobile_
phone_ boolis_ verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- trn str
- TRN expression for the sub-user.
- update_
date str - Update time for the sub-user.
- user_
id int - Sub-user's ID.
- access
Keys List<Property Map> - account
Id Number - Main account to which the sub-user belongs.
- create
Date String - Sub-user's creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- mobile
Phone BooleanIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- trn String
- TRN expression for the sub-user.
- update
Date String - Update time for the sub-user.
- user
Id Number - Sub-user's ID.
Look up Existing User Resource
Get an existing User resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: UserState, opts?: CustomResourceOptions): User@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_keys: Optional[Sequence[UserAccessKeyArgs]] = None,
account_id: Optional[float] = None,
create_date: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
email: Optional[str] = None,
email_is_verify: Optional[bool] = None,
groups: Optional[Sequence[str]] = None,
login_profile: Optional[UserLoginProfileArgs] = None,
mobile_phone: Optional[str] = None,
mobile_phone_is_verify: Optional[bool] = None,
policies: Optional[Sequence[UserPolicyArgs]] = None,
security_config: Optional[UserSecurityConfigArgs] = None,
tags: Optional[Sequence[UserTagArgs]] = None,
trn: Optional[str] = None,
update_date: Optional[str] = None,
user_id: Optional[int] = None,
user_name: Optional[str] = None) -> Userfunc GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)public static User get(String name, Output<String> id, UserState state, CustomResourceOptions options)resources: _: type: volcenginecc:iam:User get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Keys List<Volcengine.User Access Key> - Account
Id double - Main account to which the sub-user belongs.
- Create
Date string - Sub-user's creation time.
- Description string
- Description for the sub-user, up to 255 characters.
- Display
Name string - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- Email string
- Sub-user's email address.
- Email
Is boolVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- Groups List<string>
- User group to which the sub-user belongs.
- Login
Profile Volcengine.User Login Profile - Login configuration for the sub-user.
- Mobile
Phone string - Sub-user's mobile number.
- Mobile
Phone boolIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- Policies
List<Volcengine.
User Policy> - Security
Config Volcengine.User Security Config - Operation protection configuration for the sub-user.
-
List<Volcengine.
User Tag> - Trn string
- TRN expression for the sub-user.
- Update
Date string - Update time for the sub-user.
- User
Id int - Sub-user's ID.
- User
Name string - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- Access
Keys []UserAccess Key Args - Account
Id float64 - Main account to which the sub-user belongs.
- Create
Date string - Sub-user's creation time.
- Description string
- Description for the sub-user, up to 255 characters.
- Display
Name string - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- Email string
- Sub-user's email address.
- Email
Is boolVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- Groups []string
- User group to which the sub-user belongs.
- Login
Profile UserLogin Profile Args - Login configuration for the sub-user.
- Mobile
Phone string - Sub-user's mobile number.
- Mobile
Phone boolIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- Policies
[]User
Policy Args - Security
Config UserSecurity Config Args - Operation protection configuration for the sub-user.
-
[]User
Tag Args - Trn string
- TRN expression for the sub-user.
- Update
Date string - Update time for the sub-user.
- User
Id int - Sub-user's ID.
- User
Name string - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- access
Keys List<UserAccess Key> - account
Id Double - Main account to which the sub-user belongs.
- create
Date String - Sub-user's creation time.
- description String
- Description for the sub-user, up to 255 characters.
- display
Name String - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- email String
- Sub-user's email address.
- email
Is BooleanVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- groups List<String>
- User group to which the sub-user belongs.
- login
Profile UserLogin Profile - Login configuration for the sub-user.
- mobile
Phone String - Sub-user's mobile number.
- mobile
Phone BooleanIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- policies
List<User
Policy> - security
Config UserSecurity Config - Operation protection configuration for the sub-user.
-
List<User
Tag> - trn String
- TRN expression for the sub-user.
- update
Date String - Update time for the sub-user.
- user
Id Integer - Sub-user's ID.
- user
Name String - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- access
Keys UserAccess Key[] - account
Id number - Main account to which the sub-user belongs.
- create
Date string - Sub-user's creation time.
- description string
- Description for the sub-user, up to 255 characters.
- display
Name string - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- email string
- Sub-user's email address.
- email
Is booleanVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- groups string[]
- User group to which the sub-user belongs.
- login
Profile UserLogin Profile - Login configuration for the sub-user.
- mobile
Phone string - Sub-user's mobile number.
- mobile
Phone booleanIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- policies
User
Policy[] - security
Config UserSecurity Config - Operation protection configuration for the sub-user.
-
User
Tag[] - trn string
- TRN expression for the sub-user.
- update
Date string - Update time for the sub-user.
- user
Id number - Sub-user's ID.
- user
Name string - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- access_
keys Sequence[UserAccess Key Args] - account_
id float - Main account to which the sub-user belongs.
- create_
date str - Sub-user's creation time.
- description str
- Description for the sub-user, up to 255 characters.
- display_
name str - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- email str
- Sub-user's email address.
- email_
is_ boolverify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- groups Sequence[str]
- User group to which the sub-user belongs.
- login_
profile UserLogin Profile Args - Login configuration for the sub-user.
- mobile_
phone str - Sub-user's mobile number.
- mobile_
phone_ boolis_ verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- policies
Sequence[User
Policy Args] - security_
config UserSecurity Config Args - Operation protection configuration for the sub-user.
-
Sequence[User
Tag Args] - trn str
- TRN expression for the sub-user.
- update_
date str - Update time for the sub-user.
- user_
id int - Sub-user's ID.
- user_
name str - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
- access
Keys List<Property Map> - account
Id Number - Main account to which the sub-user belongs.
- create
Date String - Sub-user's creation time.
- description String
- Description for the sub-user, up to 255 characters.
- display
Name String - Display name for the sub-user, user display name. Length 1–128. Supports Chinese, English, numbers, spaces, and .-_@ characters only.
- email String
- Sub-user's email address.
- email
Is BooleanVerify - Whether the sub-user's email address is verified. 'true' means verified, 'false' means not verified.
- groups List<String>
- User group to which the sub-user belongs.
- login
Profile Property Map - Login configuration for the sub-user.
- mobile
Phone String - Sub-user's mobile number.
- mobile
Phone BooleanIs Verify - Whether the sub-user's phone number is verified. 'true' means verified, 'false' means not verified.
- policies List<Property Map>
- security
Config Property Map - Operation protection configuration for the sub-user.
- List<Property Map>
- trn String
- TRN expression for the sub-user.
- update
Date String - Update time for the sub-user.
- user
Id Number - Sub-user's ID.
- user
Name String - Sub-user name, username. Length 1–64. Supports English, numbers, underscores, and .-@ characters.
Supporting Types
UserAccessKey, UserAccessKeyArgs
- Access
Key stringId - Access key ID.
- Create
Date string - Access key creation time.
- Region string
- Most recently used service region.
- Request
Time string - Last used time of the access key.
- Service string
- Name of the most recently used service.
- Status string
- Access key status. 'Active' means enabled, 'Inactive' means disabled.
- Update
Date string - Access key update time.
- User
Name string - Access key Secret.
- Access
Key stringId - Access key ID.
- Create
Date string - Access key creation time.
- Region string
- Most recently used service region.
- Request
Time string - Last used time of the access key.
- Service string
- Name of the most recently used service.
- Status string
- Access key status. 'Active' means enabled, 'Inactive' means disabled.
- Update
Date string - Access key update time.
- User
Name string - Access key Secret.
- access
Key StringId - Access key ID.
- create
Date String - Access key creation time.
- region String
- Most recently used service region.
- request
Time String - Last used time of the access key.
- service String
- Name of the most recently used service.
- status String
- Access key status. 'Active' means enabled, 'Inactive' means disabled.
- update
Date String - Access key update time.
- user
Name String - Access key Secret.
- access
Key stringId - Access key ID.
- create
Date string - Access key creation time.
- region string
- Most recently used service region.
- request
Time string - Last used time of the access key.
- service string
- Name of the most recently used service.
- status string
- Access key status. 'Active' means enabled, 'Inactive' means disabled.
- update
Date string - Access key update time.
- user
Name string - Access key Secret.
- access_
key_ strid - Access key ID.
- create_
date str - Access key creation time.
- region str
- Most recently used service region.
- request_
time str - Last used time of the access key.
- service str
- Name of the most recently used service.
- status str
- Access key status. 'Active' means enabled, 'Inactive' means disabled.
- update_
date str - Access key update time.
- user_
name str - Access key Secret.
- access
Key StringId - Access key ID.
- create
Date String - Access key creation time.
- region String
- Most recently used service region.
- request
Time String - Last used time of the access key.
- service String
- Name of the most recently used service.
- status String
- Access key status. 'Active' means enabled, 'Inactive' means disabled.
- update
Date String - Access key update time.
- user
Name String - Access key Secret.
UserLoginProfile, UserLoginProfileArgs
- Create
Date string - Login configuration creation time.
- Last
Login stringDate - Last login time.
- Last
Login stringIp - Last login IP.
- Last
Reset intPassword Time - Last password reset time. Last password reset time. 0 means no password has been set; a non-zero value means the timestamp when the password expires.
- Login
Allowed bool - Whether login is allowed. 'true' means allowed, 'false' means not allowed. Default is 'false'.
- Login
Locked bool - Whether login is locked. 'true' means locked, 'false' means not locked. After the administrator sets a limit for incorrect password retry attempts, login will be locked if the user exceeds the limit.
- Password string
- Login password.
- Password
Expire intAt - Password expiration time. '0' means never expires; non-zero means the expiration timestamp.
- Password
Reset boolRequired - Whether password reset is required on next login. Whether password reset is required on next login. 'true' means password reset is required, 'false' means not required. Default is 'false'.
- Safe
Auth doubleExempt Duration - Login protection exemption duration. Supports setting 1 to 7 (days), 1 to 168 (hours), or 5 to 1440 (minutes). For unit settings, refer to the SafeAuthExemptUnit parameter.
- Safe
Auth doubleExempt Required - Whether login protection exemption is enabled. Whether login protection exemption is enabled. 0 means disabled, 1 means enabled. When login protection exemption is enabled, after verification is completed, login will not require verification again within a certain period.
- Safe
Auth doubleExempt Unit - Login protection exemption time unit. Login protection exemption time unit. 0 represents minutes, 1 represents hours, 2 represents days.
- Safe
Auth boolFlag - Whether login protection is enabled. 'true' means enabled, 'false' means disabled. Default is 'false'.
- Safe
Auth stringType - Login protection type. Login protection type. 'phone' represents mobile verification, 'email' represents email verification, 'vmfa' represents MFA device verification. Multiple login protection types can be set, separated by commas. Options: vmfa, phone, email, separated by commas.
- Update
Date string - Login configuration update time.
- Create
Date string - Login configuration creation time.
- Last
Login stringDate - Last login time.
- Last
Login stringIp - Last login IP.
- Last
Reset intPassword Time - Last password reset time. Last password reset time. 0 means no password has been set; a non-zero value means the timestamp when the password expires.
- Login
Allowed bool - Whether login is allowed. 'true' means allowed, 'false' means not allowed. Default is 'false'.
- Login
Locked bool - Whether login is locked. 'true' means locked, 'false' means not locked. After the administrator sets a limit for incorrect password retry attempts, login will be locked if the user exceeds the limit.
- Password string
- Login password.
- Password
Expire intAt - Password expiration time. '0' means never expires; non-zero means the expiration timestamp.
- Password
Reset boolRequired - Whether password reset is required on next login. Whether password reset is required on next login. 'true' means password reset is required, 'false' means not required. Default is 'false'.
- Safe
Auth float64Exempt Duration - Login protection exemption duration. Supports setting 1 to 7 (days), 1 to 168 (hours), or 5 to 1440 (minutes). For unit settings, refer to the SafeAuthExemptUnit parameter.
- Safe
Auth float64Exempt Required - Whether login protection exemption is enabled. Whether login protection exemption is enabled. 0 means disabled, 1 means enabled. When login protection exemption is enabled, after verification is completed, login will not require verification again within a certain period.
- Safe
Auth float64Exempt Unit - Login protection exemption time unit. Login protection exemption time unit. 0 represents minutes, 1 represents hours, 2 represents days.
- Safe
Auth boolFlag - Whether login protection is enabled. 'true' means enabled, 'false' means disabled. Default is 'false'.
- Safe
Auth stringType - Login protection type. Login protection type. 'phone' represents mobile verification, 'email' represents email verification, 'vmfa' represents MFA device verification. Multiple login protection types can be set, separated by commas. Options: vmfa, phone, email, separated by commas.
- Update
Date string - Login configuration update time.
- create
Date String - Login configuration creation time.
- last
Login StringDate - Last login time.
- last
Login StringIp - Last login IP.
- last
Reset IntegerPassword Time - Last password reset time. Last password reset time. 0 means no password has been set; a non-zero value means the timestamp when the password expires.
- login
Allowed Boolean - Whether login is allowed. 'true' means allowed, 'false' means not allowed. Default is 'false'.
- login
Locked Boolean - Whether login is locked. 'true' means locked, 'false' means not locked. After the administrator sets a limit for incorrect password retry attempts, login will be locked if the user exceeds the limit.
- password String
- Login password.
- password
Expire IntegerAt - Password expiration time. '0' means never expires; non-zero means the expiration timestamp.
- password
Reset BooleanRequired - Whether password reset is required on next login. Whether password reset is required on next login. 'true' means password reset is required, 'false' means not required. Default is 'false'.
- safe
Auth DoubleExempt Duration - Login protection exemption duration. Supports setting 1 to 7 (days), 1 to 168 (hours), or 5 to 1440 (minutes). For unit settings, refer to the SafeAuthExemptUnit parameter.
- safe
Auth DoubleExempt Required - Whether login protection exemption is enabled. Whether login protection exemption is enabled. 0 means disabled, 1 means enabled. When login protection exemption is enabled, after verification is completed, login will not require verification again within a certain period.
- safe
Auth DoubleExempt Unit - Login protection exemption time unit. Login protection exemption time unit. 0 represents minutes, 1 represents hours, 2 represents days.
- safe
Auth BooleanFlag - Whether login protection is enabled. 'true' means enabled, 'false' means disabled. Default is 'false'.
- safe
Auth StringType - Login protection type. Login protection type. 'phone' represents mobile verification, 'email' represents email verification, 'vmfa' represents MFA device verification. Multiple login protection types can be set, separated by commas. Options: vmfa, phone, email, separated by commas.
- update
Date String - Login configuration update time.
- create
Date string - Login configuration creation time.
- last
Login stringDate - Last login time.
- last
Login stringIp - Last login IP.
- last
Reset numberPassword Time - Last password reset time. Last password reset time. 0 means no password has been set; a non-zero value means the timestamp when the password expires.
- login
Allowed boolean - Whether login is allowed. 'true' means allowed, 'false' means not allowed. Default is 'false'.
- login
Locked boolean - Whether login is locked. 'true' means locked, 'false' means not locked. After the administrator sets a limit for incorrect password retry attempts, login will be locked if the user exceeds the limit.
- password string
- Login password.
- password
Expire numberAt - Password expiration time. '0' means never expires; non-zero means the expiration timestamp.
- password
Reset booleanRequired - Whether password reset is required on next login. Whether password reset is required on next login. 'true' means password reset is required, 'false' means not required. Default is 'false'.
- safe
Auth numberExempt Duration - Login protection exemption duration. Supports setting 1 to 7 (days), 1 to 168 (hours), or 5 to 1440 (minutes). For unit settings, refer to the SafeAuthExemptUnit parameter.
- safe
Auth numberExempt Required - Whether login protection exemption is enabled. Whether login protection exemption is enabled. 0 means disabled, 1 means enabled. When login protection exemption is enabled, after verification is completed, login will not require verification again within a certain period.
- safe
Auth numberExempt Unit - Login protection exemption time unit. Login protection exemption time unit. 0 represents minutes, 1 represents hours, 2 represents days.
- safe
Auth booleanFlag - Whether login protection is enabled. 'true' means enabled, 'false' means disabled. Default is 'false'.
- safe
Auth stringType - Login protection type. Login protection type. 'phone' represents mobile verification, 'email' represents email verification, 'vmfa' represents MFA device verification. Multiple login protection types can be set, separated by commas. Options: vmfa, phone, email, separated by commas.
- update
Date string - Login configuration update time.
- create_
date str - Login configuration creation time.
- last_
login_ strdate - Last login time.
- last_
login_ strip - Last login IP.
- last_
reset_ intpassword_ time - Last password reset time. Last password reset time. 0 means no password has been set; a non-zero value means the timestamp when the password expires.
- login_
allowed bool - Whether login is allowed. 'true' means allowed, 'false' means not allowed. Default is 'false'.
- login_
locked bool - Whether login is locked. 'true' means locked, 'false' means not locked. After the administrator sets a limit for incorrect password retry attempts, login will be locked if the user exceeds the limit.
- password str
- Login password.
- password_
expire_ intat - Password expiration time. '0' means never expires; non-zero means the expiration timestamp.
- password_
reset_ boolrequired - Whether password reset is required on next login. Whether password reset is required on next login. 'true' means password reset is required, 'false' means not required. Default is 'false'.
- safe_
auth_ floatexempt_ duration - Login protection exemption duration. Supports setting 1 to 7 (days), 1 to 168 (hours), or 5 to 1440 (minutes). For unit settings, refer to the SafeAuthExemptUnit parameter.
- safe_
auth_ floatexempt_ required - Whether login protection exemption is enabled. Whether login protection exemption is enabled. 0 means disabled, 1 means enabled. When login protection exemption is enabled, after verification is completed, login will not require verification again within a certain period.
- safe_
auth_ floatexempt_ unit - Login protection exemption time unit. Login protection exemption time unit. 0 represents minutes, 1 represents hours, 2 represents days.
- safe_
auth_ boolflag - Whether login protection is enabled. 'true' means enabled, 'false' means disabled. Default is 'false'.
- safe_
auth_ strtype - Login protection type. Login protection type. 'phone' represents mobile verification, 'email' represents email verification, 'vmfa' represents MFA device verification. Multiple login protection types can be set, separated by commas. Options: vmfa, phone, email, separated by commas.
- update_
date str - Login configuration update time.
- create
Date String - Login configuration creation time.
- last
Login StringDate - Last login time.
- last
Login StringIp - Last login IP.
- last
Reset NumberPassword Time - Last password reset time. Last password reset time. 0 means no password has been set; a non-zero value means the timestamp when the password expires.
- login
Allowed Boolean - Whether login is allowed. 'true' means allowed, 'false' means not allowed. Default is 'false'.
- login
Locked Boolean - Whether login is locked. 'true' means locked, 'false' means not locked. After the administrator sets a limit for incorrect password retry attempts, login will be locked if the user exceeds the limit.
- password String
- Login password.
- password
Expire NumberAt - Password expiration time. '0' means never expires; non-zero means the expiration timestamp.
- password
Reset BooleanRequired - Whether password reset is required on next login. Whether password reset is required on next login. 'true' means password reset is required, 'false' means not required. Default is 'false'.
- safe
Auth NumberExempt Duration - Login protection exemption duration. Supports setting 1 to 7 (days), 1 to 168 (hours), or 5 to 1440 (minutes). For unit settings, refer to the SafeAuthExemptUnit parameter.
- safe
Auth NumberExempt Required - Whether login protection exemption is enabled. Whether login protection exemption is enabled. 0 means disabled, 1 means enabled. When login protection exemption is enabled, after verification is completed, login will not require verification again within a certain period.
- safe
Auth NumberExempt Unit - Login protection exemption time unit. Login protection exemption time unit. 0 represents minutes, 1 represents hours, 2 represents days.
- safe
Auth BooleanFlag - Whether login protection is enabled. 'true' means enabled, 'false' means disabled. Default is 'false'.
- safe
Auth StringType - Login protection type. Login protection type. 'phone' represents mobile verification, 'email' represents email verification, 'vmfa' represents MFA device verification. Multiple login protection types can be set, separated by commas. Options: vmfa, phone, email, separated by commas.
- update
Date String - Login configuration update time.
UserPolicy, UserPolicyArgs
- Policy
Name string - Permission policy name. Length: 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- Policy
Type string - Permission policy type. 'System' indicates system preset policy, 'Custom' indicates custom policy.
- Policy
Name string - Permission policy name. Length: 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- Policy
Type string - Permission policy type. 'System' indicates system preset policy, 'Custom' indicates custom policy.
- policy
Name String - Permission policy name. Length: 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- policy
Type String - Permission policy type. 'System' indicates system preset policy, 'Custom' indicates custom policy.
- policy
Name string - Permission policy name. Length: 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- policy
Type string - Permission policy type. 'System' indicates system preset policy, 'Custom' indicates custom policy.
- policy_
name str - Permission policy name. Length: 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- policy_
type str - Permission policy type. 'System' indicates system preset policy, 'Custom' indicates custom policy.
- policy
Name String - Permission policy name. Length: 1–64 characters. Supports English letters, numbers, and +=,.@-_ symbols.
- policy
Type String - Permission policy type. 'System' indicates system preset policy, 'Custom' indicates custom policy.
UserSecurityConfig, UserSecurityConfigArgs
- Safe
Auth doubleClose - Whether operation protection is enabled. 0 means enabled, 1 means disabled.
- Safe
Auth doubleExempt Duration - Operation protection exemption time. After verification is completed, no further verification is required within the exemption period. Supports values from 5 to 30; the default value is 10. Unit: minutes.
- Safe
Auth stringType - Operation protection type. 'phone' indicates phone verification, 'email' indicates email verification, 'vmfa' indicates MFA device verification. Multiple operation protection types can be set, separated by commas.
- Safe
Auth float64Close - Whether operation protection is enabled. 0 means enabled, 1 means disabled.
- Safe
Auth float64Exempt Duration - Operation protection exemption time. After verification is completed, no further verification is required within the exemption period. Supports values from 5 to 30; the default value is 10. Unit: minutes.
- Safe
Auth stringType - Operation protection type. 'phone' indicates phone verification, 'email' indicates email verification, 'vmfa' indicates MFA device verification. Multiple operation protection types can be set, separated by commas.
- safe
Auth DoubleClose - Whether operation protection is enabled. 0 means enabled, 1 means disabled.
- safe
Auth DoubleExempt Duration - Operation protection exemption time. After verification is completed, no further verification is required within the exemption period. Supports values from 5 to 30; the default value is 10. Unit: minutes.
- safe
Auth StringType - Operation protection type. 'phone' indicates phone verification, 'email' indicates email verification, 'vmfa' indicates MFA device verification. Multiple operation protection types can be set, separated by commas.
- safe
Auth numberClose - Whether operation protection is enabled. 0 means enabled, 1 means disabled.
- safe
Auth numberExempt Duration - Operation protection exemption time. After verification is completed, no further verification is required within the exemption period. Supports values from 5 to 30; the default value is 10. Unit: minutes.
- safe
Auth stringType - Operation protection type. 'phone' indicates phone verification, 'email' indicates email verification, 'vmfa' indicates MFA device verification. Multiple operation protection types can be set, separated by commas.
- safe_
auth_ floatclose - Whether operation protection is enabled. 0 means enabled, 1 means disabled.
- safe_
auth_ floatexempt_ duration - Operation protection exemption time. After verification is completed, no further verification is required within the exemption period. Supports values from 5 to 30; the default value is 10. Unit: minutes.
- safe_
auth_ strtype - Operation protection type. 'phone' indicates phone verification, 'email' indicates email verification, 'vmfa' indicates MFA device verification. Multiple operation protection types can be set, separated by commas.
- safe
Auth NumberClose - Whether operation protection is enabled. 0 means enabled, 1 means disabled.
- safe
Auth NumberExempt Duration - Operation protection exemption time. After verification is completed, no further verification is required within the exemption period. Supports values from 5 to 30; the default value is 10. Unit: minutes.
- safe
Auth StringType - Operation protection type. 'phone' indicates phone verification, 'email' indicates email verification, 'vmfa' indicates MFA device verification. Multiple operation protection types can be set, separated by commas.
UserTag, UserTagArgs
Import
$ pulumi import volcenginecc:iam/user:User example "user_name"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
