Giter Site home page Giter Site logo

Comments (5)

d2a4u avatar d2a4u commented on August 16, 2024 1

This would be great. Easy win would be using the Java lib but only the auth module or something. However, I think it should be fairly easy to stay purely Scala without using AWS SDK. I might be able to work on this feature this weekend, will post a branch here for visibility.

from sqs4s.

d2a4u avatar d2a4u commented on August 16, 2024 1

I have opened a draft PR. I need to write more tests but I think the current logic should work, however, there is a piece of logic that I'm still not happy with but can't think of a better way to do it atm: https://github.com/d2a4u/sqs4s/pull/128/files#r453246432

from sqs4s.

d2a4u avatar d2a4u commented on August 16, 2024 1

@BalmungSan I have released 1.1.0. Cheers

from sqs4s.

d2a4u avatar d2a4u commented on August 16, 2024

From the AWS doc that you sent, this command gets the cred but requires a role (s3access in their example). However, in the AWS SDK source code, looks like what they do is just getting the 1st one from a list of creds without specifying any role. I find this a bit weird because from their code, it is potentially a security risk since it might not getting one for the right role, what do you think?

from sqs4s.

BalmungSan avatar BalmungSan commented on August 16, 2024

For what I understand @d2a4u in the link I passed one requires to know beforehand the role name, this is impractical.
Also, AFAIK, you can only assign one role to each service / image / container / etc, so probably they know that the list can be either empty or be a single element list, so that is why they just access the first position (+100 points to Option 😆).

from sqs4s.

Related Issues (4)

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.