Open jeremyciak opened 4 years ago
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
Nowadays is still now possible.
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.