> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.higiocloud.vn/hi-gio-s3-storage/bucket-management/bucket-policy.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
