Comments (5)
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.
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.
@BalmungSan I have released 1.1.0. Cheers
from sqs4s.
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.
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
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 sqs4s.