assume-role — AWS CLI 2.36.8 Command Reference
Use the AWS CLI 2.36.8 to run the sts assume-role command.