# IAM Policy Version

1. `AWS > IAM > Policies > Create policy` 를 통해 새로운 IAM 정책 생성

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

2. 새 정책 권한 설정에서 JSON 형태로 권한 생성

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

3. `IAM > Users > Set permissions > Attach policies directly` 를 통해 생성한 권한을 IAM 사용자 계정과 연결

<figure><img src="/files/7ZJvvaawIzx66BNAHSrY" alt=""><figcaption></figcaption></figure>


---

# 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://www.pentestwiki.com/home-lab/aws/iam-policy-version.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.
