Creating a Bucket Policy using Policy Generator
Describes how to create bucket policy using policy generator.
About this task
You can add multiple statements to the policy. On saving the policy, a JSON is constructed by the policy generator.
Follow the steps given below to create a bucket policy by using the policy generator.
Procedure
- Log on to the Data Fabric UI.
- Select Fabric user from the dropdown on the Home page.
- Click the Table view icon on the Resources card. In the tabular list of fabrics, click the down arrow for the fabric that contains the bucket to which you wish to upload objects.
- Click the bucket name seen under Resource Name.
- Navigate to the Settings tab.
- Under Properties, click the pencil icon for Policy.
- Click Switch to form.
- Enter the policy name.
- Select the Effect.
- Select the Actions that are allowed or denied to the resource.
- Enter the users or groups separated by commas in Principal(s).
- Enter one or more bucket names separated by commas in Resource(s).
- You can add multiple such statements by clicking the Add seen on the right of Statements.
- Once you are done adding the statements, you can Review policy to review the auto-generated JSON.
- Make changes to the JSON, if required. This is an optional step.
- Click Save Policy.
Results
The bucket policy is saved. See Sample Bucket Policy using Policy Builder for an example.
Related maprcli CommandsTo
implement the features described on this page, the Data Fabric UI relies on the
following
maprcli
command. The command is provided for general
reference. For more information, see maprcli Commands in This Guide.