> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/vn/vstorage/object-storage/vstorage-hcm03/quan-ly-truy-cap/quan-ly-tai-khoan-truy-cap-vstorage/tai-khoan-service-account.md).

# Tài khoản Service Account

#### Tổng quan <a href="#taikhoanserviceaccount-tongquan" id="taikhoanserviceaccount-tongquan"></a>

Service Account là một danh tính mà bạn có thể tạo trong tài khoản của mình có các quyền cụ thể. Service Account có một số điểm tương đồng với người dùng IAM. Service Account và IAM User Account đều là danh tính với các Policy cho phép xác định những gì danh tính có thể và không thể làm với tài nguyên Đám mây của VNG. Tuy nhiên, Service Account là danh tính được sử dụng bởi một ứng dụng hoặc một máy chứ không phải một người, để thực hiện các lệnh gọi API được ủy quyền và truy cập các tài nguyên được chỉ định. Để biết thêm thông tin về Service account, hãy xem tại [đây.](https://docs.vngcloud.vn/pages/viewpage.action?pageId=59805240)

Để truy cập và làm việc với các tài nguyên vStorage sử dụng tài khoản Service Account, bên cạnh tài khoản Service Account, bạn cần tạo thêm **vStorage Credentials** - chính là các cặp S3 keys và tài khoản người dùng Swift - được gắn vào tài khoản Service Account đó.

***

#### Chủ đề <a href="#taikhoanserviceaccount-chude" id="taikhoanserviceaccount-chude"></a>

* Khởi tạo tài khoản Service Account
* Khởi tạo policy cho Service Account
* Liên kết tài khoản Service Account với policy tương ứng
* Khởi tạo vStorage Credentials
  * Khởi tạo S3 key
  * Khởi tạo Swift user
  * Liên kết S3 key, Swift user với tài khoản Service Account tương ứng
  * Hủy S3 key, Swift user
* Hủy tài khoản Service Account

<br>


---

# 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.vngcloud.vn/vng-cloud-document/vn/vstorage/object-storage/vstorage-hcm03/quan-ly-truy-cap/quan-ly-tai-khoan-truy-cap-vstorage/tai-khoan-service-account.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.
