Comments (5)
Hmm, weird. Ran your exact line (with my creds) and no issue. Take a look at your credentials
file and make sure you have:
[ra3-dev]
aws_access_key_id=<your key>
aws_secret_access_key=<secret>
listed as an option.
from docker-scout2.
Hi
For sure I don't have this line, since I have to assume a role to get int ra3-dev.
So my credentials file looks like:
[test]
aws_access_key_id = KKKK
aws_secret_access_key = YYY
mfa_serial = XXXX
[ra3-dev]
role_arn = arn:aws:iam::XYZ:role/UR-BOUBOU
mfa_serial = XXXX
source_profile = test
region = eu-west-1
Is that not supported?
Thanks
from docker-scout2.
Looks like it is not. This is based on the Scout 2 repo and info here - https://github.com/nccgroup/Scout2#aws-credentials - says that an AWS Key and ID is required. Now the role those keys are for can be narrowed down so you could create a unique user and assign it the roles you have for ra3-dev
but you would still need the Key and ID.
from docker-scout2.
OK, so trying like this, does not work either?
$ cat /home/miamore/.aws/credentials
[gcreds-ra3-dev]
aws_access_key_id = XXX
aws_secret_access_key = 1kjhYYYYmA2a
aws_security_token = FQoBOUBOU.....dGdEXNyi/rpvXBQ==
$ docker run --rm -v /home/miamore/.aws/:/home/scout2/.aws:rw -v report:/reports:rw valien/docker-scout2 -e AWS_PROFILE=gcreds-ra3-dev
Error: could not find AWS credentials. Use the --help option for more information.
Any idea? thanks in advance.
from docker-scout2.
Permissions.
Try chmod 777 ~.aws/* && chmod 777 ~/report
from docker-scout2.
Related Issues (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 docker-scout2.