Giter VIP home page Giter VIP logo

Comments (5)

Valien avatar Valien commented on June 27, 2024

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.

strus38 avatar strus38 commented on June 27, 2024

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.

Valien avatar Valien commented on June 27, 2024

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.

strus38 avatar strus38 commented on June 27, 2024

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.

kempy007 avatar kempy007 commented on June 27, 2024

Permissions.
Try chmod 777 ~.aws/* && chmod 777 ~/report

from docker-scout2.

Related Issues (1)

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.