Creating a Bucket Policy with a Template
OBS Console provides bucket policy templates for six typical scenarios. You can use these templates to quickly configure bucket policies.
Procedure
- In the navigation pane of OBS Console, choose Object Storage.
- In the bucket list, click the bucket you want to operate to go to the Objects page.
- In the navigation pane, choose Permissions > Bucket Policy.
- Click Create Bucket Policy.
- 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.
Some bucket policy templates require a configuration of principals or resources. You can also change the settings of a pre-defined template, including the policy name, principal, resources, actions, and conditions. For details, see Bucket Policy Parameters.
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.