d2a4u / sqs4s Goto Github PK
View Code? Open in Web Editor NEWStreaming client for AWS SQS using fs2
License: MIT License
Streaming client for AWS SQS using fs2
License: MIT License
Need to write some tutorial/examples/document using https://github.com/tpolecat/tut to explain Encoding/Decoding and Serialization
Need to performance tests the library to compare with AWS Java SDK performance
When running on EC2 / ECS / EKS you can attach roles directly to your application, instead of passing them explicit credentials.
The Java SDK is capable of automatically finding the ACCESS KEY, SECRET KEY and SESION_TOKEN for authorizing your requests.
It would be great if this library would be able to do the same.
Similar to #126, when searching for credentials inside a container running in a AWS kubernetes cluster (EKS) with an assigned service account and matching IAM role, the credentials are provided via the following env vars:
AWS_DEFAULT_REGION: eu-central-1
AWS_REGION: eu-central-1
AWS_ROLE_ARN: arn:aws:iam::<ACCOUNT_ID>role/<ROLE>
AWS_WEB_IDENTITY_TOKEN_FILE: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
Currently sqs4s
does not support this method of authentication.
The AWS Java SDK implementation can be found here: https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-sts/src/main/java/com/amazonaws/auth/STSAssumeRoleWithWebIdentitySessionCredentialsProvider.java
Without this support, the credentials chain resolve to the EKS (EC2) node credentials, which in my case are not correct.
I may be able to provide a "starting PR" with a naive implementation using the temporaryCredentials
method and a call to the web identity token service.
Docs:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.