l0-setup list
is unusable for any multiple-account configuration
#628
Labels
l0-setup list
is unusable for any multiple-account configuration
#628
Troublesome Behavior
If a user happens to be managing Layer0 instances across different AWS accounts with different credentials,
l0-setup list
will always return anAccessDenied
error.Given AWS accounts ACCT1 and ACCT2 and a separate set of credentials (access key and secret access key) for each account,
l0-setup list
will never return anything helpful to the user. If authenticated for ACCT1,l0-setup
returnsAccessDenied
because CREDS1 can't authenticate against ACCT2, and vice versa. No matter which credentials the user supplies, thelist
command will never not fail.Possible Solutions
Given this sample representation of the world:
Silent failure?
Notification in output?
Integration with
~/.aws/credentials
?A solution like this one would benefit from #627.
See also #211.
The text was updated successfully, but these errors were encountered: