Help & DocumentationCloud Access ManagementBusiness Use CaseVOD-related CasesAuthorizing a Sub-account with Full Permissions to Manage VOD Services

Authorizing a Sub-account with Full Permissions to Manage VOD Services

Last updated: 2019-08-12 20:38:53

PDF

Grant a sub-account full permissions to manage Tencent Cloud VOD services

A sub-account Developer under the enterprise account CompanyExample (ownerUin: 12345678) requires full permissions to manage Tencent Cloud VOD services in the enterprise account.

Solution A:

The enterprise account CompanyExample directly authorizes the preset policy QcloudVODFullAccess to the sub-account Developer.

Solution B:

Step 1: Create the following policy using policy syntax

{
    "version": "2.0",
    "statement": [
        {
            "action": [
                "vod:*"
            ],
            "resource": "*",
            "effect": "allow"
        },
        {
            "action": "cos:*",
            "resource": "qcs::cos::uid/10022853:*",
            "effect": "allow"
        }
    ]
}

Step 2: Authorize the policy to the sub-account.