> For the complete documentation index, see [llms.txt](https://terraform201.devart.tv/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://terraform201.devart.tv/2.-aws-iam-role/4.-assume-role.md).

# 4. Assume Role 세팅

### AWS Console 세팅

* ID 계정에서 다른 계정으로 Assume하는 방법에 관한 가이드입니다.
* 실습을 위해서 id 계정으로 로그인 하시기 바랍니다.

오른쪽 위 Account 이름을 선택 > `Switch Role` 클릭&#x20;

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

`Switch Role`을 클릭하고, 아래와 같이 정보를 입력합니다.

* `Account`: Assume할 대상 계정의 alias
* `Role` : 자신이 Assume할 수 있는 대상 계정의 역할 이름
  * 관리자가 부여해준 권한에 따라 역할이 다를 수 있습니다.
  * 예시
    * Admin 권한 : `assume-art-prod-admin`
    * Readonly 권한 : `assume-art-prod-readonly`
* `Display Name` : 계정 구분을 위한 이름 (마음대로 정하시면 됩니다.)

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

`Switch Role` 을 클릭하시면 해당 계정으로 로그인을 하실 수 있습니다.

**앞으로는 모든 계정에 접근할 때 위와 같은 방식으로 접근하시면 됩니다.**

* 참고로,  Assume 기능을 편리하게 사용하기 위해 [Chrome extension](https://chrome.google.com/webstore/detail/aws-extend-switch-roles/jpmkfafbacpgapdghgdpembnojdlgkdl)을 사용하실 수 있습니다.


---

# 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:

```
GET https://terraform201.devart.tv/2.-aws-iam-role/4.-assume-role.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.
