Comments (5)
@dynnamitt Interesting. I didn't know about this config file. Please go ahead if you to submit a PR :)
from aws-elixir.
That's literally why this library exists.
from aws-elixir.
I've run into the need to parse ~/.aws/credentials files as well, including assuming roles via the source_profile
property, and usually end up writing a helper function like in https://gist.github.com/pranavraja/f3585456d02216eba40dfc2605570935
from aws-elixir.
@dynnamitt I'll open a PR based on your project (dynnamitt/ex_aws_cconf#1) to aws_credentials
, which already support multiple profiles, but only via application env/erlang env. This is debatable on how this application should handle these configurations, but we should be able to read the sabe profile for both files.
The code is here: https://github.com/aleDsz/aws_credentials/tree/ale-support-aws-config-file
I'm probably missing something from ~/.aws/config
file, but I'll be reading more about and updating my code. Some feedback would be awesome ❤️
from aws-elixir.
That's literally why this library exists.
"aws_credentials" would solve some parts of it yes, but (there is always a but):
- no ~/.aws/config provider
profiles here can trigger new sts "credential request" via either:
- mfa_serial (tricky interactive stuff)
- assume-role (role_arn)
- sso - no hex.pm publishing
I'm just learning Elixir ... writing a config
provider in Erlang isn't an option for me
I'll see what I can cook up (in elixir) , on a path of reading other SDKs currently
from aws-elixir.
Related Issues (20)
- Loading issue with modules that shouldn't be generated: AWS.Cloudsearchdomain and AWS.Importexport (Instead of CamelCase counterparts) HOT 2
- AWS.ApiGatewayManagementApi, URL and headers with stage HOT 1
- S3 put_object returns {:error, :timeout} but uploads file correctly HOT 5
- `AWS.S3.delete_objects` content md5 header HOT 5
- SelectObjectContent response HOT 1
- `AWS.STS.assume_role_with_web_identity` should not rely on access_key_id and secret_access_key
- Error calling textractor HOT 3
- Setting endpoint to `amazonaws.com` results in different behaviour as not setting an endpoint HOT 1
- AWS.S3.get_object always returns {:error, :timeout} with hackney > 1.18.1 HOT 5
- Streaming response handling HOT 10
- `put_bucket_cors` request is incorrect HOT 5
- Setup pipeline to automatically roll out new releases upon tagging
- S3 ListParts returns wrong types HOT 7
- QLDB Commit Transaction HOT 2
- NXDOMAIN when calling CostExplorer.get_cost_and_usage HOT 5
- Cannot get AWS Polly synthesize_speech to work HOT 3
- :nxdomain when calling AWS.CloudFront.list_distributions HOT 5
- Wrong region for Route53 requests HOT 12
- AWS.TimestreamWrite does not work. HOT 5
- Support array member names
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 aws-elixir.