Git Product home page Git Product logo

aws-user-report's People

Contributors

lloesche avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aws-user-report's Issues

Error question

First, thank you very much for this contribution. I am attempting to execute your script and get an error: "Unable to locate credentials". I attempted to follow the code (I am a Python novice) and could not find a solution. Is this looking for my AWS login credentials, or the credentials for the account it is gathering info for?

Here is my traceback:

2019-06-21 09:47:13,811 - INFO - Generating Report "AWS Account"
Traceback (most recent call last):

File "", line 1, in
runfile('C:/Users/xxxxxxxx/Documents/Python Code/AWS_IAM_User_Report.py', wdir='C:/Users/xxxxxxxx/Documents/Python Code')

File "C:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile
execfile(filename, namespace)

File "C:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/Users/xxxxxxxx/Documents/Python Code/AWS_IAM_User_Report.py", line 488, in
main(sys.argv[1:])

File "C:/Users/xxxxxxxx/Documents/Python Code/AWS_IAM_User_Report.py", line 45, in main
reports = get_reports()

File "C:/Users/xxxxxxxx/Documents/Python Code/AWS_IAM_User_Report.py", line 121, in get_reports
reports.append(ur.report())

File "C:/Users/xxxxxxxx/Documents/Python Code/AWS_IAM_User_Report.py", line 366, in report
resp = iam.generate_credential_report()

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 648, in _make_api_call
operation_model, request_dict, request_context)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\client.py", line 667, in _make_request
return self._endpoint.make_request(operation_model, request_dict)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 102, in make_request
return self._send_request(request_dict, operation_model)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 132, in _send_request
request = self.create_request(request_dict, operation_model)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\endpoint.py", line 116, in create_request
operation_name=operation_model.name)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 356, in emit
return self._emitter.emit(aliased_event_name, **kwargs)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 228, in emit
return self._emit(event_name, kwargs)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\hooks.py", line 211, in _emit
response = handler(**kwargs)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\signers.py", line 90, in handler
return self.sign(operation_name, request)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\signers.py", line 157, in sign
auth.add_auth(request)

File "C:\ProgramData\Anaconda3\lib\site-packages\botocore\auth.py", line 357, in add_auth
raise NoCredentialsError

NoCredentialsError: Unable to locate credentials

MFA?

Hi, do you have plans to add a column with MFA/2factor authentication information?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.