Authorization chains allow you to obtain the Security Token Service (STS) token of a Resource Access Management (RAM) role by assuming RAM roles in a chain manner. When you use Intelligent Media Management (IMM), your IMM project can obtain the permissions to access the resources of other accounts by using authorization chains.
This feature is used in special scenarios. In most cases, you do not need to specify the parameter for this feature.
Role assumption is a method for entities to obtain the STS tokens of RAM roles. An entity calls the AssumeRole operation to obtain an STS token. Then, the entity uses the STS token to call Alibaba Cloud API operations. For more information, see RAM role overview.
Some IMM API operations support the CredentialConfig parameter. When you call relevant API operations, you can use the CredentialConfig parameter to configure an authorization chain. This way, you can obtain the STS token of a RAM role in a chain manner.
The following table describes the IMM API operations that support the CredentialConfig parameter.
Operation | Description |
CreateDetectVideoLabelsTask | Creates a video content detection task. |
CreateImageModerationTask | Creates an image violation detection task. |
CreateVideoModerationTask | Creates a video violation detection task. |
CreateMediaConvertTask | Creates a video transcoding task. |
CreateOfficeConversionTask | Creates a document conversion task. |
DetectImageCropping | Detects the area of the cropping frame with the best visual effect. |
DetectImageFaces | Detects faces and facial information from an image. |
DetectImageLabels | Detects label information from an image. |
DetectImageScore | Scores an image. |
DetectMediaMeta | Obtains multimedia information from a video. |
GenerateWebofficeToken | Obtains the access credential of WebOffice. |
DetectImageCars | Detects vehicle information from an image. |
ExtractDocumentText | Obtains the content of a document. |