IdentifyCredential

Updated at:

Parameter

Type

Description

Example

object

The identity credential object.

UserId

string

The DataWorks user ID (baseId) of the target user. This parameter is required when you create an identity credential. To configure a credential for a workspace member, call the ListProjectMembers operation and obtain the ID of the target member from PagingInfo.ProjectMembers[].UserId. If UserType is set to Role, prefix the role ID with ROLE_.

1234567890123456

UserType

string

The user type. Valid values:

  • PrimaryAccount: Alibaba Cloud account.

  • SubAccount: RAM user.

  • Role: Role.

SubAccount

ProjectId

string

The ID of the workspace. This parameter is optional.

10000

DataSource

object

The data source.

Type

string

The data source type. Valid values:

  • hive

  • lindorm_for_engine

  • starrocks

starrocks

Role

string

The data source user type. Valid values:

  • Admin

  • RegularUser

RegularUser

UserName

string

The username of the data source.

tom

Password

string

The password of the data source.

ExamplePass***2026

InstanceId

string

The ID of the data source instance.

710007423244

InstanceName

string

The name of the data source instance.

rm-2zez82ho69yex7s7g