I'm looking to a way to generate urls/links to specific resources of a given account in the AWS console website.
For instance I want to link to the summary view of a given user in IAM. The resource URL is the following:
https://console.aws.amazon.com/iam/home?#/users/user.name
All good, but how do I force the browser to authenticate in the correct AWS account?
As as hypothetical example:
https://account-name.console.aws.amazon.com/iam/home?#/users/user.name
On the other hand, knowing that sending the user to:
https://account-name.signin.aws.amazon.com/console/
Will trigger the login process for the "account-name" account, how can I send the user to a specific part of the AWS console afterwords?
Thanks
Some examples that worked for me, if I use real account number (or account alias) for the S3 and CloudFormation services. I didn't find the official documentation that it works for every service but try it.
https://0123456789.signin.aws.amazon.com/console/s3/?bucket=fake-bucket-0123456789
This redirects me to the S3 bucket named "fake-bucket-0123456789"
https://0123456789.signin.aws.amazon.com/console/cloudformation
This redirects me to Cloudformation