I want to log into a IAM user through AWS and my EC2 through systems manager. Then I want to log into different IAM user and access same EC2 except with a different SSM so home dir isn't the same and they don't have access to each others files. How can I do this?
I am able to log into systems manager from different IAM accounts but it still uses the same SSM.