CmdID / aws / aws sso-admin
aws sso-admin create-account-assignment
Assigns access to a principal for a specified Amazon Web Services account using a specified permission set. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--instance-arnThe ARN of the IAM Identity Center instance under which the operation will be executed.--permission-set-arnThe ARN of the permission set that the admin wants to grant the principal access to.--principal-idAn identifier for an object in IAM Identity Center, such as a user or group.--principal-type, --target-typeThe entity type for which the assignment will be created.--target-idTargetID is an Amazon Web Services account identifier, (For example, 123456789012).