# IAM policies that fit the managed-policy size limit | Changelog

Source: https://wraps.dev/changelog/permissions-policy-dir-writes-iam-policies-that-fit

![Wraps Logo](https://wraps.dev/wraps-light-logo.png)![Wraps Logo](https://wraps.dev/wraps-dark-logo.png)

](https://wraps.dev/)

[](https://github.com/wraps-team/wraps)[Log in](https://app.wraps.dev/auth?mode=signin)[Sign up](https://app.wraps.dev/auth?mode=signup)

Toggle menu

[← All changes](https://wraps.dev/changelog)

CLINovember 2026

### IAM policies that fit the managed-policy size limit

wraps permissions --policy-dir writes the deployer policy as files that each fit an IAM managed policy, ready to paste.

-   Run `wraps permissions --policy-dir ./wraps-policy` to get `wraps-deployer-1.json`, `-2.json` and so on, each under IAM's 6,144-character limit. Create one managed policy per file and attach them all; detach an older single `WrapsDeploymentPolicy` once they are attached
-   Re-run it after upgrading and paste each file over its policy. The deployer policy now covers event-tracking webhooks (EventBridge connections and API destinations) and `wraps email reply init`
-   Use `--json` for agents: `data.policies` holds the split, and `data.policy` is the merged document, which only fits an inline role policy

CLI v3.21.0

[Read the docs →](https://wraps.dev/docs/guides/aws-setup/permissions)
