Using your account from the AWS CLI
User Guide
Sandbox Studio gives you access to your sandbox account through an IAM role that it creates for you inside the account. Because there is no IAM Identity Center assignment, aws sso login does not work for sandbox accounts. It fails with:
An error occurred (Forb...