Help Center/ Media Processing Center/ User Guide/ Authorizing Access to Cloud Resources
Updated on 2022-03-17 GMT+08:00

Authorizing Access to Cloud Resources

After an input video file is uploaded to an OBS bucket, you need to authorize MPC to access the input bucket and output bucket.

Authorization Methods

MPC provides two authorization methods. You can select either of them. The difference between two authorization methods lies in the roles that access OBS. As a result, transcoded files belong to different roles.

Authorization Method

Description

Bucket authorization

  • MPC only has the read and write permissions on authorized buckets.
  • MPC accesses your OBS resources as an MPC role. The transcoded file is stored in an output bucket. You can download or delete the file. The file belongs to the MPC service and does not inherit the bucket policy of the output bucket.
  • If you need to change the permissions on the transcoded file, set the ACL for the file separately. For details, see Configuring an Object ACL.

OBS authorization

  • MPC has the read and write permissions on all your buckets. OBS authorization is unavailable for IAM users.
  • MPC accesses OBS resources as your role. The transcoded file belongs to you and inherits the bucket policy of the output bucket by default.

Procedure

  1. Log in to the MPC console.
  2. In the navigation pane, choose Cloud Resource Authorization.
  3. Select an authorization method.

    • OBS authorization

      Turn on the switch.

    • Bucket authorization

      In the row containing the input and output buckets, click Authorize.