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
  1. Click the Bucket Policy tab, and click Add Policy.
    2.png
  1. In the Policy Statement dialog box, set Effect to Allow.
    3.png
  1. 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

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈