onelogin / onelogin-aws-cli-assume-role

MIT License
29 stars 38 forks source link

List of Roles, accounts and their Aliases #22

Open crou opened 5 years ago

crou commented 5 years ago

We are managing lot of AWS accounts that have identical IAM role names. In the onelogin portal for the AWS app, the listing of AWS roles we have access include the Account Number, but also the ALIAS that was set to each AWS Account. Typically we use the alias to have a friendly way to identify the account with the client or project name, and the environment (dev, qa, uat, prod, etc).

Using the onelogin CLI, we just see the role name and the account id. Quite tough and error prone. Could you display the aws alias name too?

Thanks

pitbulk commented 5 years ago

I will need to figure out if Onelogin AWS Connector is retrieving the AWS Role Alias, and in case, handle it in the Onelogin CLI.

yukiex commented 5 years ago

👍

mveitas commented 4 years ago

@pitbulk Is there any update on your findings?

pitbulk commented 3 years ago

The AWS Role Alias not exposed right now to the CLI.

ClaytonOlleyNutrien commented 3 years ago

the python folks seem to have cracked this pretty well... https://github.com/onelogin/onelogin-python-aws-assume-role/pull/35/files

patricksan commented 2 years ago

Is there any update on this ticket?