You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running aws-recon for multiple accounts. The instance where aws-recon resides is part of an account with a role attached to it and an aws config file with assume role profiles to multiple accounts.
We do not have plans to support different profiles within the tool itself, we will just use what is currently exposed in the environment. See here for details on how the Ruby SDK uses credentials.
The exception to that is that setting AWS_REGION only affects global service calls, since we pin the client to a specific region for all regional service calls.
I tried running aws-recon for multiple accounts. The instance where aws-recon resides is part of an account with a role attached to it and an aws config file with assume role profiles to multiple accounts.
The format of my
~/.aws/config
looks like this :-This is the command I used
The output remains the same across each run and I found that its been scanning the current account and has not been honoring the
AWS_PROFILE
.I have followed the same method as suggested in the README. I am not quite sure if this is a bug or I am doing some mistake.
Also I would suggest to have
--profile
as an argument to the tool which would resemble aws-cli like syntax and would be easier to use and adopt.The text was updated successfully, but these errors were encountered: