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

Display Account Alias with AWS Account ID #55

Open
jeremyciak opened this issue Oct 23, 2020 · 2 comments
Open

Display Account Alias with AWS Account ID #55

jeremyciak opened this issue Oct 23, 2020 · 2 comments

Comments

@jeremyciak
Copy link

The SAML assertion in the OneLogin GUI for the AWS Multi Account app displays the AWS account alias with the account ID in parenthesis next to it. For this CLI utility only the account ID is returned. Is there a way to surface the AWS account alias from the SAML assertion to display in the utility? I would gladly help contribute a PR but I think that the issue is actually with the OneLogin assertion API not yielding that data since I have dug around in that myself separately.

@pitbulk
Copy link
Contributor

pitbulk commented Jan 6, 2021

Right now is not possible to retrieve the Alias from OneLogin.

But that why we added the accounts.yaml, where you can define the relation between the account_id and its name/alias.
See https://github.com/onelogin/onelogin-python-aws-assume-role/blob/master/accounts.yaml.template

@pitbulk
Copy link
Contributor

pitbulk commented Jan 25, 2022

Nowadays is still now possible.

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