Comments (2)
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.
@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)
- IndexError: List index out of range HOT 3
- Tried to install, it says /usr/local/bin isnt in path HOT 3
- IndexError: list index out of range error every time its run with additional flags of --services or --skip-types HOT 4
- Issues when using podman on fedora 33 HOT 1
- Attack paths not reflecting deny statements in IAM HOT 3
- Does AWSPX false negative on multi policy privesc paths? HOT 2
- Ingestion fails on bucket objects with acl set to `public-read-write` HOT 5
- Error when calling STS assume role HOT 9
- EDITED
- awspx ingest --env not working HOT 4
- Take forever to ingest large S3 environment or implement thread module HOT 1
- Helper text for createPolicyVersion is missing the iam service command
- AssumeRole Check leads to "KeyError: ARN" HOT 2
- fails to save ingest data HOT 2
- Provide Docker image for Apple M1 chips
- ingest get-account-authorization-details data
- Region Flag required to work with AWS GovCloud
- AssumeRole Check leads to "Could not connect to the endpoint URL: https://sts.amazonaws.com/" HOT 2
- Source credentials from the environment HOT 2
- Neo4j Out of Memory Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awspx.