tencent cloud

Feedback

Authorizing CSS to Store Screenshots in a COS Bucket

Last updated: 2024-10-23 15:25:24
    This document describes how to store screenshots or porn detection data in a COS bucket. You need to create a COS bucket, authorize CSS to store data in it, and then configure live screencapture and porn detection settings in the CSS console. After that, screenshots and porn detection data can be stored in the bucket. This feature is available in the new console.

    Creating a COS Bucket

    1. Log in to the COS console and select Bucket List on the left sidebar.
    2. Click Create Bucket. In the pop-up window, enter the basic information, select a permission for the bucket, and click Next.
    
    
    
    3. Complete the advanced configuration (optional) and click Next.
    
    
    
    4. Confirm the configuration information and click Create.
    
    
    
    Note:
    In the example above, the bucket name is test02 (-130****051 is not part of the name).
    Complete the above settings based on your actual needs.
    5. To enable CDN acceleration.
    5.1 Click the name of your bucket or click Configure.
    
    
    
    5.2 In the bucket list, and select Domains and Transfer > Custom CDN Acceleration Domain on the left sidebar. Click Edit in the Global Acceleration configuration item.
    
    
    
    5.3 Toggle on status, and compete the settings. For detailed directions, see Enabling Custom CDN Acceleration Domain Name. After the configuration, click Save.
    
    
    

    Authorizing CSS to store screenshots in COS

    1. Grant the root account 3508645126write access and read access to the COS bucket.
    1.1 In the Bucket List, find the bucket you created, and click Configure.
    
    
    
    1.2 On the bucket configuration page, select Permission Management > Bucket ACL (Access Control List). Then, click Add User,
    
    
    
    1.3 Select Root account as the user type, enter the root account ID 3508645126.
    
    
    
    1.4 Click save.
    
    
    
    Alternatively, in the bucket list, click Manage Permissions.
    
    
    
    Select the bucket you created, Then, click Add User, select Root account as the user type, enter the root account ID 3508645126, click Save to save the configuration, and then click OK.
    
    
    
    Note:
    3508645126 is the APPID of CSS. You need to enter this ID for the authorization to succeed.
    1.5 For information about how to use an API to set bucket access, see PUT Bucket acl.
    2. Get the information of the COS bucket to which CSS is granted access.
    2.1 Select the authorized bucket in the Bucket list and click the Bucket Name on the left to enter the Overview.
    
    
    
    2.2 All COS information can be viewed in the Overview of the bucket.You can find in the endpoint the bucket name, COS APPID, and bucket region.
    
    
    
    Bucket name: test02
    COS appid: 130****051
    Bucket region: ap-guangzhou
    2.3 Provide the above information to CSS and the system will store live screenshots in the COS bucket you created.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support