# tigris iam policies edit

Update an existing policy's document. Document can be provided via file, inline JSON, or stdin. If no ARN is provided, shows interactive selection.

**Alias:** `e`

## Usage[​](#usage "Direct link to Usage")

```
tigris iam policies edit [resource] [flags]

t3 iam p e [resource] [flags]
```

## Flags[​](#flags "Direct link to Flags")

| Name               | Required | Default | Description                                                                       |
| ------------------ | -------- | ------- | --------------------------------------------------------------------------------- |
| `--document`, `-d` | No       | —       | New policy document (JSON file path or inline JSON). If omitted, reads from stdin |
| `--description`    | No       | —       | Update policy description                                                         |

## Examples[​](#examples "Direct link to Examples")

```
# Interactive selection with file

tigris iam policies edit --document policy.json



# Edit specific policy by ARN

tigris iam policies edit arn:aws:iam::org_id:policy/my-policy --document policy.json



# Edit from stdin

cat policy.json | tigris iam policies edit arn:aws:iam::org_id:policy/my-policy
```
