> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ravenna.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Access provisioning

> Map Ravenna access levels to AWS Identity Center groups so approved access requests are provisioned automatically and removed on revoke or expiry.

Connect AWS IAM Identity Center and map access levels on the **AWS** application to Identity Center groups. AWS supports group-based provisioning only, and only for the groups listed in the Ravenna stack's `ProvisioningGroupIds`.

**1. Connect the AWS integration**

Go to **Settings** > **Integrations**, open **AWS** and launch the Ravenna CloudFormation stack. See [AWS setup](https://docs.ravenna.ai/integrations/aws/setup.md).

**2. Map access levels**

When creating an access level on the **AWS** application, select one of the synced Identity Center groups.

**3. Set the provisioning method**

Choose **Group**. After approval, Ravenna adds the user to the group, and removes them on revoke or expiry. The group's permission sets decide which AWS accounts the user can reach. Ravenna never creates AWS users, so the requester needs an Identity Center user with a matching email. No workflow is required.

## Edge cases

> [accordion] A user has no matching Identity Center user
>
> Ravenna never creates AWS users. A grant fails with "`<email>` has no matching IAM Identity Center user" until sync matches the requester by email. Add the user in Identity Center or your identity provider, then sync AWS.

> [accordion] Groups your identity provider syncs over SCIM
>
> Groups your identity provider syncs to AWS over SCIM stay managed by your identity provider, so grant them there. Ravenna fails grants to these groups with `AWS_GROUP_MANAGED_BY_IDP`. Leave them out of `ProvisioningGroupIds`.

> [accordion] Ravenna's role can't change a group
>
> A grant fails with `AWS_GROUP_NOT_PROVISIONABLE` when the role can't change the group's members. Check that the group's ID is in `ProvisioningGroupIds`. If it is, check for a service control policy that denies Identity Store changes.

> [accordion] Already a member, or no longer a member
>
> If the user is already in the group, the entitlement is marked Skipped Provisioning, so a later revoke never removes membership Ravenna didn't add. On revoke, Ravenna removes every Identity Center user sync matched to the person, including people who have left your organization. If they're no longer in the group, the entitlement is marked Skipped Revocation.

> [accordion] Ravenna's copy of a group lags AWS
>
> Ravenna updates its own copy of the group after AWS confirms the change. If that update fails, the grant still stands in AWS, and the next sync brings Ravenna up to date.

Learn more about [provisioning methods](https://docs.ravenna.ai/documentation/access-management/provisioning.md)


## Related topics

- [Access provisioning](https://docs.ravenna.ai/integrations/cloudflare-access/access-provisioning.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.