AWS IAM Identity Center Groups
This guide will walk you through integrating Common Fate with Amazon Web Services (AWS). By the end of this guide, you’ll have a functioning integration with Common Fate, allowing it to grant temporary access to IAM Identity Center groups.
Prerequisites
Support for managing IAM Identity Center group assignments requires the following minimum software versions:
- Common Fate deployment module v1.10.0
- Common Fate application version v1.2.0
- Common Fate Terraform Provider v2.8.0
You’ll also need to have installed our AWS integration beforehand. You can do so by following our guide here.
Finally, you’ll need to ensure that the idc_identity_store_id
variable is set in your provisioner config. This variable was added in module version v1.10.0
, so if your initial deployment of Common Fate was on an earlier version it may not be set.
AWS Setup
In order to grant access to IAM Identity Center groups, the Common Fate provisioner requires some additional AWS IAM permissions:
- identitystore:CreateGroupMembership
- identitystore:DeleteGroupMembership
- identitystore:ListGroupMembershipsForMember
- identitystore:IsMemberInGroups
- identitystore:ListGroupMemberships
Using our AWS integration Terraform module, you can enable these permissions by setting the permit_group_assignment
variable to true
:
Next, you’ll need to let Common Fate know that the provisioner is capable of assigning access to IAM Identity Center groups. You can do so by adding a capability to the provisioner in the application Terraform config:
You can now create an access workflow and availabilities:
IAM Identity Center group selectors
To make IAM Identity Center groups available for Just-In-Time (JIT) access you can add a commonfate_aws_idc_group_selector
Selector resource to your Common Fate application Terraform code. As shown below, the when
clause in the resource is a Cedar expression. You can use any Cedar operator in the when
clause, such as &&
and ||
to combine conditions.
You’ll need to use the commonfate_aws_idc_group_selector
in conjunction with a commonfate_aws_idc_group_availabilities
and commonfate_access_workflow
resources, as shown above.
We’ve included some examples below.
Select a group by ID
Select multiple groups by ID
Select a group based on a naming pattern
Select groups with a name ending in -prod
:
Select groups with a name beginning with Develop
: