Connection
Setup
1
Create an IAM user
Create an IAM user in the
account your
Identity Center instance
runs in, and give it an access key.
2
Allow the actions
Attach a policy allowing the actions under Permissions.
Permissions
Allow these actions for the IAM user, or for the role Klef assumes when the connection names one.sso:ListInstances,sso:ListPermissionSets,sso:DescribePermissionSetandsso:ListAccountsForProvisionedPermissionSet, to read the instance and its permission sets.sso:ListAccountAssignmentsandsso:ListAccountAssignmentsForPrincipal, to read account assignments.sso:CreateAccountAssignment,sso:DeleteAccountAssignment,sso:DescribeAccountAssignmentCreationStatusandsso:DescribeAccountAssignmentDeletionStatus, to assign and remove permission sets.identitystore:ListUsersandidentitystore:DescribeUser, to read users.identitystore:GetUserId,identitystore:CreateUserandidentitystore:DeleteUser, to create and delete users.iam:SimulatePrincipalPolicy, which the connection test uses to check the others.
organizations:ListAccounts is optional. It lets Klef offer and name every account in the organization. Without it, Klef offers only the accounts that already hold a permission set.