Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: respect SSMSessionRunAs tag when connecting #4

Open
eskp opened this issue Sep 7, 2020 · 1 comment
Open

Feature request: respect SSMSessionRunAs tag when connecting #4

eskp opened this issue Sep 7, 2020 · 1 comment

Comments

@eskp
Copy link

eskp commented Sep 7, 2020

This would be nice to have. When connecting via SSH over SSM:

$ gossm ssh
? Choose a target in AWS: target-instance    (i-0000)
? Type your connect user (default: root): eskp

Instead of having to type username every time, we can look at the value of IAM user tag SSMSessionRunAs as per the docs - https://docs.aws.amazon.com/systems-manager/latest/userguide/session-preferences-run-as.html

@andymac4182
Copy link
Contributor

Do you know what API you can use to get this information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants