Creating a Bucket Policy with a Template
OBS Console provides bucket policy templates for six typical scenarios. You can use the templates to quickly configure bucket policies.
Procedure
- In the navigation pane on the left of OBS Console, choose Object Storage.
- In the bucket list, click a bucket name, and then the Overview page of the bucket is displayed.
- In the navigation pane on the left, choose Permissions > Bucket Policy.
- Click Create.
- In the template list, select a template and click Use Policy Template on the right.
For details about each template, see Bucket Policy.
Figure 1 Creating a bucket policy using a template
- Input required information.
For some bucket policy templates, you need to configure the principal and resources as prompted. On a policy template, you can change the pre-defined settings, including the policy name, principal, resources, actions and conditions. For details, see Policy Format.
Figure 2 Configuring a bucket policy
- Click Next to confirm the policy configuration. Figure 3 Confirming a bucket policy configuration
- Click Create in the lower right corner of the page to create the bucket policy.
Last Article: Configuring a Bucket Policy
Next Article: Creating a Custom Bucket Policy (Visual Editor)
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.