CredentialConfig

Updated at:

Parameter

Type

Description

Example

object

The credential configuration.

AliyunEnvRoleKey

string

The environment variable role key.

0

Configs

array

The configuration list.

object

Key

string

The key that identifies the configuration.

0

Roles

array

The list of configured roles.

object

AssumeRoleFor

string

The principal for role assumption.

123******

Policy

string

The access policy that further restricts the permissions of the role.

{}

RoleArn

string

The ARN of the RAM role.

acs:ram::123******:role/****

RoleType

string

The type of the role to assume. Valid values:

  • service: Assumed by a service.

  • user: Assumed by a regular user account.

service

UserInfo

object

The proxy user information.

AccessKeyId

string

The AccessKey ID.

LT********

Id

string

The user ID.

456******

SecurityToken

string

The security token.

********

Type

string

The user type. Valid values:

  • customer: Alibaba Cloud account.

  • sub: RAM user.

  • AssumedRoleUser: RAM role.

S

Type

string

The configuration type. Valid values:

  • Role: Role assumption.

  • RoleChain: Role chain assumption.

Role

Enable

boolean

Specifies whether to enable credential injection.

true