# Role Authorization through Dynamic Configuration

ConsoleMe administrators can provide users/groups with authorization to retrieve AWS credentials through ConsoleMe's "Dynamic configuration" endpoint. Visit <https://your.consoleme.url/config> to make updates. Here is an example configuration:

```yaml
group_mapping:
  groupa@example.com:
    roles:
      - arn:aws:iam::123456789012:role/roleA
      - arn:aws:iam::123456789012:role/roleB
  userb@example.com:
    roles:
      - arn:aws:iam::123456789012:role/roleA
```

Read more about ConsoleMe's dynamic configuration [here](/consoleme/configuration/dynamic-configuration.md).


---

# 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://hawkins.gitbook.io/consoleme/configuration/role-credential-authorization/dynamic-configuration-1.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.
