Hi, Rich. Any ideas why I'm getting this (fresh Kali 19.2)?
Of course, the credentials are correct, doublechecked, and permissions are "readonlyaccess" + "securityaudit".
Thanks in advance!
`Establishing AWS session using the profile- xxxxx
Current account ID: 11111
Counting resources across regions. This will take a few minutes...
Traceback (most recent call last):
File "count_resources.py", line 430, in
controller()
File "/usr/lib/python2.7/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "count_resources.py", line 59, in controller
ec2_counter(account_id)
File "count_resources.py", line 125, in ec2_counter
endpoints = ec2client.describe_vpc_endpoints()
File "/home/ec2-user/.local/lib/python2.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/ec2-user/.local/lib/python2.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AuthFailure) when calling the DescribeVpcEndpoints operation: AWS was not able to validate the provided access credentials
`
Hi, Rich. Any ideas why I'm getting this (fresh Kali 19.2)?
Of course, the credentials are correct, doublechecked, and permissions are "readonlyaccess" + "securityaudit".
Thanks in advance!
`Establishing AWS session using the profile- xxxxx
Current account ID: 11111
Counting resources across regions. This will take a few minutes...
Traceback (most recent call last):
File "count_resources.py", line 430, in
controller()
File "/usr/lib/python2.7/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "count_resources.py", line 59, in controller
ec2_counter(account_id)
File "count_resources.py", line 125, in ec2_counter
endpoints = ec2client.describe_vpc_endpoints()
File "/home/ec2-user/.local/lib/python2.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/ec2-user/.local/lib/python2.7/site-packages/botocore/client.py", line 661, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AuthFailure) when calling the DescribeVpcEndpoints operation: AWS was not able to validate the provided access credentials
`