# IAM Role Support

{% hint style="info" %}
**Points to Note:**

1. This article is applicable for enterprise users (dedicated/on-premises) only.
2. Not applicable for shared instance users.
   {% endhint %}

## Introduction <a href="#introduction" id="introduction"></a>

Vault supports AWS S3 as a storage environment to back up your metadata and data objects. Traditionally, users had to provide:

* AWS S3 Bucket Name
* Access Key
* Secret Key
* AWS Region

However, Vault now supports **IAM Roles**, allowing users to connect to S3 buckets **without manually entering access or secret keys**.

***

## About IAM Role <a href="#about-iam-role" id="about-iam-role"></a>

An **IAM Role** in AWS is an identity with specific permissions policies. Unlike IAM users, roles do not require long-term credentials and are used to delegate access securely.

IAM Roles are ideal for:

* Temporary credentials
* Access control delegation
* Enhanced security practices

For more information, refer to [AWS IAM Roles documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create.html).

***

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

To configure IAM Role support in Vault:

* An active AWS account with access to S3 buckets
* An IAM user with permissions to assume roles and access S3

***

## Configuring in Vault <a href="#configuring-in-vault" id="configuring-in-vault"></a>

1. Log in to your **Vault** account.
2. Navigate to **Settings > Backup Environment**.
3. Set **Storage Type** to **AWS S3**.
4. Enter a **Label Name** (this is a user-defined reference name).
5. Enable the checkbox:\
   \&#xNAN;**"Role-based control for dedicated/On-Prem Instance"**

<figure><img src="/files/hFCO0d6AKmAEeFWxjpPe" alt="IAM Role configuration in Vault settings" width="377"><figcaption><p>Selecting IAM role option for S3 access</p></figcaption></figure>

6. Enter the **S3 Bucket Name** in the corresponding field.
7. Select an **encryption method**: either **AES-256** or **AWS-KMS**.
8. Click **Save Settings** to complete the configuration.


---

# 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://knowledgebase.autorabit.com/product-guides/vault/configuring-vault/configure-backup-environment/amazon-aws-s3-storage-environment/iam-role-support.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.
