Permissions Management
If you need to assign different permissions to different employees in your enterprise to access your VOD resources, IAM is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your Huawei Cloud resources.
With IAM, you can use your Huawei Cloud account to create IAM users, and assign permissions to the users to control their access to specific resources. For example, some software developers in your enterprise need to use VOD but are not allowed to delete VOD resources or perform any high-risk operations. To this end, you can create IAM users for the software developers and assign them only the permissions for using VOD.
If your Huawei Cloud account does not require individual IAM users for permissions management, skip this section.
IAM is a free service. You pay only for the resources in your account. For more information about IAM, see IAM Service Overview.
VOD Permissions
New IAM users do not have any permissions assigned by default. You need to first add them to one or more groups and then attach policies or roles to these groups. The users then inherit permissions from the groups and can perform specified operations on cloud services based on the permissions they have been assigned.
VOD is a project-level service deployed and accessed in specific physical regions. To assign permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing VOD, the users need to switch to a region where they have been authorized to use VOD.
You can grant users permissions by using roles and policies. You can configure roles and polices for user groups to assign them permissions.
- Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. If one role has a dependency role required for accessing VOD, assign both roles to the users. However, roles are not an ideal choice for fine-grained authorization and secure access control.
- Policies: A fine-grained authorization strategy that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant IAM users only the permissions for managing a certain type of VOD resources.
Table 1 lists all the system-defined roles and policies supported by VOD.
You can configure roles and policies for user groups to assign them permissions. For details, see Creating a User and Assigning VOD Permissions.
|
Role Name |
Description |
Type |
Dependency |
|---|---|---|---|
|
VOD Administrator |
Administrator permissions on all media files in your Huawei Cloud account |
System-defined role |
None |
|
VOD Operator |
Permissions for operations (except media file review, watermark management, security settings, category settings, and domain name management) on all media files in your account |
System-defined role |
None |
|
VOD Guest |
Read-only permissions for all media files in your account |
System-defined role |
None |
|
VOD Group Administrator |
Permissions for operations (except global settings and domain name management) on media files created by users in the current group. This role isolates media files. |
System-defined role |
None |
|
VOD Group Operator |
Permissions for operations (except media review, media deletion, watermark management, security settings, category settings, and domain name management) on media files created by users in the current group. This role isolates media files. |
System-defined role |
None |
|
VOD Group Guest |
Read-only permissions for media files created by all users in the current group. This role isolates media files. |
System-defined role |
None |
|
VOD FullAccess |
Full permissions for VOD. |
System-defined policy |
None |
|
VOD ReadOnlyAccess |
Read-only permissions for VOD. |
System-defined policy |
None |
|
VOD CommonOperations |
Permissions for basic operations (except global settings, domain name management, permissions management, and review setting) on VOD resources |
System-defined policy |
None |
Table 2 lists the common operations supported by each system-defined policy of VOD. Select the policies as required.
|
Operation |
VOD FullAccess |
VOD ReadOnlyAccess |
VOD CommonOperations |
|---|---|---|---|
|
Adding a domain name |
√ |
x |
x |
|
Modifying a domain name |
√ |
x |
x |
|
Deleting a domain name |
√ |
x |
x |
|
Viewing the domain name list |
√ |
√ |
x |
|
Enabling a domain name |
√ |
x |
x |
|
Disabling a domain name |
√ |
x |
x |
|
Modifying the HTTPS acceleration configuration of a domain name |
√ |
x |
x |
|
Querying the HTTPS acceleration configuration of a domain name |
√ |
√ |
x |
|
Modifying the URL validation configuration of a domain name |
√ |
x |
x |
|
Querying the URL validation configuration of a domain name |
√ |
√ |
x |
|
Modifying the referer validation configuration of a domain name |
√ |
x |
x |
|
Querying the referer validation configuration of a domain name |
√ |
√ |
x |
|
Querying media files |
√ |
√ |
√ |
|
Querying media asset information |
√ |
√ |
√ |
|
Modifying media asset attributes |
√ |
x |
√ |
|
Querying media asset details |
√ |
√ |
√ |
|
Uploading media files |
√ |
x |
√ |
|
Updating a video |
√ |
x |
√ |
|
Deleting media files |
√ |
x |
√ |
|
Publishing media files |
√ |
x |
√ |
|
Canceling media file publish |
√ |
x |
√ |
|
Creating a URL pull task |
√ |
x |
√ |
|
Querying a URL pull task |
√ |
√ |
√ |
|
Deleting a URL pull task |
√ |
x |
√ |
|
Canceling a URL pull task |
√ |
x |
√ |
|
Resuming a URL pull task |
√ |
x |
√ |
|
Creating a pre-loading task |
√ |
x |
√ |
|
Querying a pre-loading task |
√ |
√ |
√ |
|
Creating a media file processing task |
√ |
x |
√ |
|
Canceling a media file processing task |
√ |
x |
√ |
|
Creating an audio extraction task |
√ |
x |
√ |
|
Canceling an audio extraction task |
√ |
x |
√ |
|
Reviewing media files |
√ |
x |
√ |
|
Blocking media files |
√ |
x |
√ |
|
Querying information about blocked media files |
√ |
√ |
√ |
|
Creating a custom template group |
√ |
x |
x |
|
Querying custom template groups |
√ |
√ |
x |
|
Modifying a custom template group |
√ |
x |
x |
|
Deleting a custom template group |
√ |
x |
x |
|
Creating a watermark template |
√ |
x |
x |
|
Querying watermark templates |
√ |
x |
x |
|
Modifying a watermark template |
√ |
x |
x |
|
Deleting a watermark template |
√ |
x |
x |
|
Creating a media category |
√ |
x |
x |
|
Modifying a media category |
√ |
x |
x |
|
Deleting a media category |
√ |
x |
x |
|
Querying media categories |
√ |
√ |
x |
|
Configuring event notifications |
√ |
x |
x |
|
Querying event notifications |
√ |
√ |
x |
|
Creating a workflow template |
√ |
x |
x |
|
Modifying a workflow template |
√ |
x |
x |
|
Deleting a workflow template |
√ |
x |
x |
|
Querying workflow templates |
√ |
√ |
x |
|
Viewing a workflow template |
√ |
√ |
x |
|
Creating a review template |
√ |
x |
x |
|
Querying review templates |
√ |
x |
x |
|
Modifying a review template |
√ |
x |
x |
|
Deleting a review template |
√ |
x |
x |
|
Querying buckets |
√ |
√ |
x |
|
Authorizing access to a bucket |
√ |
x |
x |
|
Querying users |
√ |
√ |
x |
|
Updating roles associated with a user |
√ |
x |
x |
|
Querying roles |
√ |
√ |
x |
|
Querying role details |
√ |
√ |
x |
|
Creating a role |
√ |
x |
x |
|
Modifying a role |
√ |
x |
x |
|
Deleting roles |
√ |
x |
x |
|
Updating users associated with a role |
√ |
x |
x |
|
Updating the permission template associated with a role |
√ |
x |
x |
|
Querying the permission template list |
√ |
√ |
x |
|
Creating a permission template |
√ |
x |
x |
|
Modifying a permission template |
√ |
x |
x |
|
Deleting a permission template |
√ |
x |
x |
Content of the VOD FullAccess Policy
{
"Version": "1.1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"vod:*:*"
]
}
]
}
Content of the VOD ReadOnlyAccess Policy
{
"Version": "1.1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"vod:*:get*",
"vod:*:list*"
]
}
]
}
Content of the VOD CommonOperations Policy
{
"Version": "1.1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"vod:asset:*"
]
}
]
}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot