Quick way to get AWS Account number from the AWS CLI tools?

You can use the AWS CLI command for STS service to get your AWS account id details as shown below –

You can use the below links to install and configure AWS CLI
https://cloudaffaire.com/how-to-install-aws-cli/
https://cloudaffaire.com/how-to-configure-aws-cli/

Leave a Reply