devolv drift
is a CI/CD-first tool that automatically detects IAM policy drift between your local files and deployed AWS IAM policies. It is designed primarily for automated pipelines, with local CLI use as a secondary option.
👉 CI/CD is the primary use case — local CLI use is optional for manual checks.
pip install devolv
✅ Required if you want to run devolv drift
manually outside CI/CD.
⚠ Note: In CI/CD, installation is typically handled by your workflow or container image — you don't need to install it manually.
Download our onboarding script:
https://github.com/devolvdev/devolv-actions/blob/main/devolv_oidc_onboard.py
Download via terminal:
curl -O https://raw.githubusercontent.com/devolvdev/devolv-actions/main/devolv_oidc_onboard.py
Run in AWS CloudShell or any AWS CLI-authenticated machine:
python devolv_oidc_onboard.py --github-org YourOrgName
✅ This will:
Create a file at:
.github/workflows/devolv-drift.yml
Example contents:
permissions:
id-token: write
contents: write
pull-requests: write
issues: write
jobs:
drift-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::<account_id>:role/YourOrg-DevolvRole
aws-region: us-east-1
- name: Run Devolv Drift
uses: devolvdev/devolv-actions@v2
with:
tool: drift
policy-name: DevolvTestPolicy
path: ./test-devolv-policy.json
approvers: ""
github-token: ${{ secrets.GITHUB_TOKEN }}
approval-anyway: false
✅ ⚠ Mandatory repository setting:
In your GitHub repository settings under Actions → General → actions, ensure you enable:
☑ Allow GitHub Actions to create and approve pull requests
pip install devolv
) for local CLI usedevolv_oidc_onboard.py
permissions:
blockDevolv Drift is built for CI/CD. Automate IAM drift detection, protect your AWS environment, and ensure policy alignment — with zero manual effort.
➡ Get the onboarding script
➡ Install the CLI (for local use)
➡ Add the workflow file, enable PR permissions, and go!