sso:CreateAccountAssignment

Write

sso:CreateAccountAssignment is a Write access-level action in the sso service. Grants permission to assign access to a Principal for a specified AWS account using a specified permission set

Resource types

ARNs that sso:CreateAccountAssignment can be scoped to in an IAM policy.

arn:${Partition}:sso:::account/${AccountId}
Account
arn:${Partition}:sso:::instance/${InstanceId}
Instance
arn:${Partition}:sso:::permissionSet/${InstanceId}/${PermissionSetId}
PermissionSet

Condition keys

Keys you can use in the Condition block of a policy that grants sso:CreateAccountAssignment.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

sso:PrimaryRegion String

Filters access by the primary region of the IAM Identity Center instance

Dependent actions

To use sso:CreateAccountAssignment you may also need to grant:

Example IAM policy

A minimal policy that allows sso:CreateAccountAssignment. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSsoCreateAccountAssignment",
      "Effect": "Allow",
      "Action": "sso:CreateAccountAssignment",
      "Resource": "*"
    }
  ]
}

Related actions in sso

View all sso actions →