Git Product home page Git Product logo

Comments (2)

0xdabbad00 avatar 0xdabbad00 commented on May 21, 2024

I had a similar problem of wanting to run awspx ingest from an EC2 that has an IAM role associated with it. My expectation was that the IAM role of the EC2 would be used for the ingestion, but instead it responded with:

# awspx ingest
[-] The profile 'default' was not found. Would you like to create it? (y/n) y
AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]:
Default output format [None]:
[+] Profile 'default' created.
[-] Request to establish identity (sts:GetCallerIdentity) failed.
[+] Region set to: eu-west-1
[+] Database set to: default.db

I believe AWS tools should just let boto do it's magic in figuring what credentials to use, which in my case would mean hitting the metadata service to get a session of the IAM role.

from awspx.

beatro0t avatar beatro0t commented on May 21, 2024

@0xdabbad00 Great suggestion - I absolutely agree with you, I'll update the cli to include looking for creds by default.

from awspx.

Related Issues (20)

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.