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