1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. cloudidentity
  6. User
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Cloud Identity Center users are mapped one-to-one with enterprise employee identities. A Cloud Identity Center user is an identity type that can be uniquely linked to an IAM user under an account for single sign-on. Cloud Identity Center provides full lifecycle management and permission management for enterprise employee identities. We recommend that you centrally manage employee identities within this product.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const cloudIdentityUserDemo = new volcenginecc.cloudidentity.User("CloudIdentityUserDemo", {
        userName: "CloudIdentityUserDemo",
        displayName: "CloudIdentityUserDemo",
        description: "CloudIdentityUserDemo description",
        email: "xxx@163.com",
        phone: "***********",
        password: "********",
        passwordResetRequired: true,
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    cloud_identity_user_demo = volcenginecc.cloudidentity.User("CloudIdentityUserDemo",
        user_name="CloudIdentityUserDemo",
        display_name="CloudIdentityUserDemo",
        description="CloudIdentityUserDemo description",
        email="xxx@163.com",
        phone="***********",
        password="********",
        password_reset_required=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/cloudidentity"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudidentity.NewUser(ctx, "CloudIdentityUserDemo", &cloudidentity.UserArgs{
    			UserName:              pulumi.String("CloudIdentityUserDemo"),
    			DisplayName:           pulumi.String("CloudIdentityUserDemo"),
    			Description:           pulumi.String("CloudIdentityUserDemo description"),
    			Email:                 pulumi.String("xxx@163.com"),
    			Phone:                 pulumi.String("***********"),
    			Password:              pulumi.String("********"),
    			PasswordResetRequired: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudIdentityUserDemo = new Volcenginecc.Cloudidentity.User("CloudIdentityUserDemo", new()
        {
            UserName = "CloudIdentityUserDemo",
            DisplayName = "CloudIdentityUserDemo",
            Description = "CloudIdentityUserDemo description",
            Email = "xxx@163.com",
            Phone = "***********",
            Password = "********",
            PasswordResetRequired = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.cloudidentity.User;
    import com.volcengine.volcenginecc.cloudidentity.UserArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var cloudIdentityUserDemo = new User("cloudIdentityUserDemo", UserArgs.builder()
                .userName("CloudIdentityUserDemo")
                .displayName("CloudIdentityUserDemo")
                .description("CloudIdentityUserDemo description")
                .email("xxx@163.com")
                .phone("***********")
                .password("********")
                .passwordResetRequired(true)
                .build());
    
        }
    }
    
    resources:
      cloudIdentityUserDemo:
        type: volcenginecc:cloudidentity:User
        name: CloudIdentityUserDemo
        properties:
          userName: CloudIdentityUserDemo
          displayName: CloudIdentityUserDemo
          description: CloudIdentityUserDemo description
          email: xxx@163.com
          phone: '***********'
          password: '********'
          passwordResetRequired: true
    

    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: Optional[UserArgs] = None,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def User(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             description: Optional[str] = None,
             display_name: Optional[str] = None,
             email: Optional[str] = None,
             password: Optional[str] = None,
             password_reset_required: Optional[bool] = None,
             phone: Optional[str] = None,
             user_name: Optional[str] = None)
    func NewUser(ctx *Context, name string, args *UserArgs, opts ...ResourceOption) (*User, error)
    public User(string name, UserArgs? args = null, CustomResourceOptions? opts = null)
    public User(String name, UserArgs args)
    public User(String name, UserArgs args, CustomResourceOptions options)
    
    type: volcenginecc:cloudidentity: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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var userResource = new Volcenginecc.Cloudidentity.User("userResource", new()
    {
        Description = "string",
        DisplayName = "string",
        Email = "string",
        Password = "string",
        PasswordResetRequired = false,
        Phone = "string",
        UserName = "string",
    });
    
    example, err := cloudidentity.NewUser(ctx, "userResource", &cloudidentity.UserArgs{
    	Description:           pulumi.String("string"),
    	DisplayName:           pulumi.String("string"),
    	Email:                 pulumi.String("string"),
    	Password:              pulumi.String("string"),
    	PasswordResetRequired: pulumi.Bool(false),
    	Phone:                 pulumi.String("string"),
    	UserName:              pulumi.String("string"),
    })
    
    var userResource = new com.volcengine.volcenginecc.cloudidentity.User("userResource", com.volcengine.volcenginecc.cloudidentity.UserArgs.builder()
        .description("string")
        .displayName("string")
        .email("string")
        .password("string")
        .passwordResetRequired(false)
        .phone("string")
        .userName("string")
        .build());
    
    user_resource = volcenginecc.cloudidentity.User("userResource",
        description="string",
        display_name="string",
        email="string",
        password="string",
        password_reset_required=False,
        phone="string",
        user_name="string")
    
    const userResource = new volcenginecc.cloudidentity.User("userResource", {
        description: "string",
        displayName: "string",
        email: "string",
        password: "string",
        passwordResetRequired: false,
        phone: "string",
        userName: "string",
    });
    
    type: volcenginecc:cloudidentity:User
    properties:
        description: string
        displayName: string
        email: string
        password: string
        passwordResetRequired: false
        phone: string
        userName: string
    

    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:

    Description string
    User Description.
    DisplayName string
    User Display Name.
    Email string
    Email.
    Password string
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    PasswordResetRequired bool
    Is password reset required on first login?
    Phone string
    Mobile Number.
    UserName string
    Username.
    Description string
    User Description.
    DisplayName string
    User Display Name.
    Email string
    Email.
    Password string
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    PasswordResetRequired bool
    Is password reset required on first login?
    Phone string
    Mobile Number.
    UserName string
    Username.
    description String
    User Description.
    displayName String
    User Display Name.
    email String
    Email.
    password String
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    passwordResetRequired Boolean
    Is password reset required on first login?
    phone String
    Mobile Number.
    userName String
    Username.
    description string
    User Description.
    displayName string
    User Display Name.
    email string
    Email.
    password string
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    passwordResetRequired boolean
    Is password reset required on first login?
    phone string
    Mobile Number.
    userName string
    Username.
    description str
    User Description.
    display_name str
    User Display Name.
    email str
    Email.
    password str
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    password_reset_required bool
    Is password reset required on first login?
    phone str
    Mobile Number.
    user_name str
    Username.
    description String
    User Description.
    displayName String
    User Display Name.
    email String
    Email.
    password String
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    passwordResetRequired Boolean
    Is password reset required on first login?
    phone String
    Mobile Number.
    userName String
    Username.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:

    CreatedTime string
    Creation Time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdentityType string
    Identity Type.
    Source string
    User Source.
    UpdatedTime string
    Update Time.
    UserId string
    User ID.
    CreatedTime string
    Creation Time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdentityType string
    Identity Type.
    Source string
    User Source.
    UpdatedTime string
    Update Time.
    UserId string
    User ID.
    createdTime String
    Creation Time.
    id String
    The provider-assigned unique ID for this managed resource.
    identityType String
    Identity Type.
    source String
    User Source.
    updatedTime String
    Update Time.
    userId String
    User ID.
    createdTime string
    Creation Time.
    id string
    The provider-assigned unique ID for this managed resource.
    identityType string
    Identity Type.
    source string
    User Source.
    updatedTime string
    Update Time.
    userId string
    User ID.
    created_time str
    Creation Time.
    id str
    The provider-assigned unique ID for this managed resource.
    identity_type str
    Identity Type.
    source str
    User Source.
    updated_time str
    Update Time.
    user_id str
    User ID.
    createdTime String
    Creation Time.
    id String
    The provider-assigned unique ID for this managed resource.
    identityType String
    Identity Type.
    source String
    User Source.
    updatedTime String
    Update Time.
    userId String
    User 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,
            created_time: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            email: Optional[str] = None,
            identity_type: Optional[str] = None,
            password: Optional[str] = None,
            password_reset_required: Optional[bool] = None,
            phone: Optional[str] = None,
            source: Optional[str] = None,
            updated_time: Optional[str] = None,
            user_id: Optional[str] = None,
            user_name: Optional[str] = None) -> User
    func 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:cloudidentity: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.
    The following state arguments are supported:
    CreatedTime string
    Creation Time.
    Description string
    User Description.
    DisplayName string
    User Display Name.
    Email string
    Email.
    IdentityType string
    Identity Type.
    Password string
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    PasswordResetRequired bool
    Is password reset required on first login?
    Phone string
    Mobile Number.
    Source string
    User Source.
    UpdatedTime string
    Update Time.
    UserId string
    User ID.
    UserName string
    Username.
    CreatedTime string
    Creation Time.
    Description string
    User Description.
    DisplayName string
    User Display Name.
    Email string
    Email.
    IdentityType string
    Identity Type.
    Password string
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    PasswordResetRequired bool
    Is password reset required on first login?
    Phone string
    Mobile Number.
    Source string
    User Source.
    UpdatedTime string
    Update Time.
    UserId string
    User ID.
    UserName string
    Username.
    createdTime String
    Creation Time.
    description String
    User Description.
    displayName String
    User Display Name.
    email String
    Email.
    identityType String
    Identity Type.
    password String
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    passwordResetRequired Boolean
    Is password reset required on first login?
    phone String
    Mobile Number.
    source String
    User Source.
    updatedTime String
    Update Time.
    userId String
    User ID.
    userName String
    Username.
    createdTime string
    Creation Time.
    description string
    User Description.
    displayName string
    User Display Name.
    email string
    Email.
    identityType string
    Identity Type.
    password string
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    passwordResetRequired boolean
    Is password reset required on first login?
    phone string
    Mobile Number.
    source string
    User Source.
    updatedTime string
    Update Time.
    userId string
    User ID.
    userName string
    Username.
    created_time str
    Creation Time.
    description str
    User Description.
    display_name str
    User Display Name.
    email str
    Email.
    identity_type str
    Identity Type.
    password str
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    password_reset_required bool
    Is password reset required on first login?
    phone str
    Mobile Number.
    source str
    User Source.
    updated_time str
    Update Time.
    user_id str
    User ID.
    user_name str
    Username.
    createdTime String
    Creation Time.
    description String
    User Description.
    displayName String
    User Display Name.
    email String
    Email.
    identityType String
    Identity Type.
    password String
    Password. Password must be 8–32 characters long and include at least three of the following: uppercase letters, lowercase letters, numbers, and special symbols.
    passwordResetRequired Boolean
    Is password reset required on first login?
    phone String
    Mobile Number.
    source String
    User Source.
    updatedTime String
    Update Time.
    userId String
    User ID.
    userName String
    Username.

    Import

    $ pulumi import volcenginecc:cloudidentity/user:User example "user_id"
    

    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 volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.