BUT FF only seems to remember the login/password for 1 of these at a time. I had hoped that putting them all in different containers would fix this but it appears that FF only matches based on the base domain name, and not the full sub-domain.
If AWS had the domains structured as:
I have the same issue, but I don't see the same thing.
I have bookmarks set up with URLs like your first set:
company1.sigin.aws.amazon.com
...
But as soon as I click one, it gets redirected to:
signin.aws.amazon.com/oauth?<War and Peace>
Which is interpreted as the same URL for all accounts.
One solution would be to have FF containers tie into the bookmark editing code so we can set the container by bookmark. That is, when I click a bookmark with a container set, that container should be used to open the site regardless of the URL.
Have you considered using a password manager? With 1Password I'm able to save all logins for my AWS accounts and then just select the appropriate one when logging in.
I use pass (password-store). I haven't added any firefox plugin to manage that for me. So I always go back to the terminal for copy/pasting the details.
I use different profiles for that...
basically, I have multiple Firefox shortcuts, each using a different profile. You can also use containers with the profile to segregate things even more.
While Firefox doesn't have WebExtension APIs for browser profiles, the Profile Switcher for Firefox extension uses a separately installed connector binary to add a profile switcher (similar to Chrome's) in Firefox. See my other comment: https://news.ycombinator.com/item?id=28356472
Because of the way AWS handles the URL's for logging in I get:
BUT FF only seems to remember the login/password for 1 of these at a time. I had hoped that putting them all in different containers would fix this but it appears that FF only matches based on the base domain name, and not the full sub-domain. If AWS had the domains structured as: It might behave differently.