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

  1. Log on to the Data Fabric UI.
  2. Select Fabric user from the dropdown on the Home page.
  3. 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.
  4. Click the bucket name seen under Resource Name.
  5. Navigate to the Settings tab.
  6. Under Properties, click the pencil icon for Policy.
  7. Click Switch to form.
  8. Enter the policy name.
  9. Select the Effect.
  10. Select the Actions that are allowed or denied to the resource.
  11. Enter the users or groups separated by commas in Principal(s).
  12. Enter one or more bucket names separated by commas in Resource(s).
  13. You can add multiple such statements by clicking the Add seen on the right of Statements.
  14. Once you are done adding the statements, you can Review policy to review the auto-generated JSON.
  15. Make changes to the JSON, if required. This is an optional step.
  16. Click Save Policy.

Results

The bucket policy is saved. See Sample Bucket Policy using Policy Builder for an example.

Related maprcli Commands
To 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.