CredentialRole

Updated at:

Parameter

Type

Description

Example

object

The credential role configuration.

RoleArn

string

The ARN of the RAM role.

acs:ram::1872xxxxxxxxx:role/account-pai-prod

RoleType

string

The role type. Valid values: service, user.

service

AssumeRoleFor

string

The account on whose behalf the role is assumed.

123456

Policy

string

The access policy attached during role assumption.

{"Version":"1","Statement":[{"Effect":"Allow","Action":["oss:GetObject"],"Resource":["acs:oss:*:*:example-bucket/data/*"]}]}

AssumeUserInfo AssumeUserInfo

The user identity information used for role assumption.