onelogin-aws-cli icon indicating copy to clipboard operation
onelogin-aws-cli copied to clipboard

Feature Request: Use accounts.yaml to output accounts name next to role arn

Open thedannywilcox opened this issue 5 years ago • 0 comments

Recreating as a new ticket, as I commented on a closed ticket.

Following up on https://github.com/physera/onelogin-aws-cli/issues/104

I too have been looking for the ability to see the account names next to role selection, as doing it through the above listed way (hard-coding arns) is not ideal.

What about doing something like the OneLogin Assume Role library?

https://github.com/onelogin/onelogin-python-aws-assume-role/blob/master/accounts.yaml.template

Ultimately have a hard coded list of accounts in the accounts.yml and print the names next to it, if they are available.

If this is something that would be accepted through a PR, I would be happy to help.

thedannywilcox avatar Oct 12 '20 19:10 thedannywilcox