Auto Login to AWS Console

In my Django project I want a user to automatically login to a master Amazon a/c (for which the aws username & password would be stored in the MySQL database) and let him access to his AWS IAM Identity Center as usual on a new browser tab.

We basically don’t want our users to know the master AWS a/c credentials.

How do I go about doing this ?

(We tried using Selenium to login to the system and get the cookie details. But the value of cookies with SameSite:strict is None when automated while it has the token ID when using a browser manually)