I am trying to execute cat …/.aws/aws_console_url but the AWS console is not appearing for me. How to resolve this?
- Ensure you’re using federated login or STS correctly to get the
SigninToken
. - If you are using a
.aws/aws_console_url
file, it might not be configured correctly to generate the Console URL. You should instead follow the steps above to ensure you’re generating the correct URL with temporary credentials.
How do I know if im using “federated login” or STS ?
Run the following command to check how you’re authenticated:
aws sts get-caller-identity
- Federated Login: If the output shows an IAM Role ARN that includes
assumed-role/
, you’re likely using federated login. - STS Credentials: If it shows a temporary role assumed from STS (often used for short-lived sessions), you’re using STS.
Thanks, it worked :))