# Bucket Policy

## <mark style="color:green;">**Overview**</mark> <a href="#overview" id="overview"></a>

An **HI GIO S3 Bucket Policy** is a JSON-based resource policy that manages access permissions to S3 buckets. It specifies who can access the bucket, the actions allowed, and the conditions for access.

You can prefer the example S3 bucket policy in “[**HERE**](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html)**.**”

## <mark style="color:green;">**Procedure**</mark>  <a href="#procedure" id="procedure"></a>

{% stepper %}
{% step %}
**Step 1:** Right-click on the Bucket and select 'Bucket Policy.' Customize the Bucket Policy by Amazon S3 standards. For additional examples and further guidance, refer to the official documentation.

<figure><img src="/files/VyHZ7IzyjGyNvlmSTSxA" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}
Step 2: You can modify the Bucket Policy as needed in this popup. Once you have made the necessary changes, click **"Update Policy"** to apply the updates.

<figure><img src="/files/FDRQArqR4ePVC2eLlJNY" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.higiocloud.vn/hi-gio-s3-storage/bucket-management/bucket-policy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
