All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Bucket policy

Last updated:2020-11-26 15:53:15

Authorize KMCT to access your KS3 bucket

KMCT needs to read files in your Kingsoft Standard Storage Service (KS3) bucket and store transcoded files to your bucket. By default, KMCT is not authorized to read data from or write data to your bucket. To authorize KMCT to access your bucket, perform the following steps:

  1. Log in to the KS3 console, go to the details page of a bucket, and click the Bucket Settings tab.
    1.png

  2. Click the Bucket Policy tab, and click Add Policy.
    2.png

  3. In the Policy Statement dialog box, set Effect to Allow.
    3.png

  4. Select all actions.
    4.png

Note: KMCT does not delete files in your bucket. When you call the transcoding API to create a transcoding task, you need to specify a path for the output file. If a file already exists in this path, the output file of the transcoding task will overwrite the existing file.

  1. Set Resource to the name of the current bucket in the format of bucket_name/ or bucket_name/key_name. Set Principal to 73402340, which is the ID of the KMCT service. Do not enter your user ID here. In this way, the KMCT service is granted the permission to access your bucket and can execute the 14 actions specified in Action**.
    5.png
  1. After you set the parameters, click OK to complete the configuration.
    6.png
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback