docs/documentation/platform/pam/accounts/aws-iam.mdx
AWS IAM accounts let you manage access to AWS through IAM role assumption. Users can open the AWS console directly or use the CLI to get temporary credentials, and every access is logged.
<Note> AWS IAM accounts do not require a Gateway — Infisical connects directly to AWS. </Note>When a user accesses an AWS IAM account:
This lets you centralize access control through Infisical while using standard AWS IAM roles.
```bash
infisical pam access my-folder/prod-admin-access
```
This creates a profile named `infisical-pam/my-folder/prod-admin-access` in `~/.aws/credentials`. Use it with the AWS CLI:
```bash
aws s3 ls --profile "infisical-pam/my-folder/prod-admin-access"
```
Or set the `AWS_PROFILE` environment variable:
```bash
export AWS_PROFILE="infisical-pam/my-folder/prod-admin-access"
aws sts get-caller-identity
```
Press **Ctrl+C** to stop and remove the credentials profile.
**Flags:**
- `--reason <reason>` — provide an access reason (if required by template)