-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support on instance role #17
Comments
@calvin-kargo Could you provide more information on what feature it is you are asking for? |
hi @jfacorro , i am asking regarding support of instance role / task role for API request on aws-elixir library, using instance role is alternative of providing AWS credential for API request (compared to using aws_access_key_id and aws_secret_access_key ) which has the advantage of has lower risk of leakage and no need to do key rotation. Supporting instance role on aws-elixir would help developer use aws-elixir on higher security requirement. AWS has a page for documenting instance role: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html ex_aws (another elixir client module for AWS) has support of instance role: https://hexdocs.pm/ex_aws/ExAws.html#module-aws-key-configuration |
@calvin-kargo Have you looked at https://github.com/aws-beam/aws-erlang-metadata? I believe this will do what you need, if I understand your request correctly. |
@jkakar What was the reasoning behind having the functionality in |
Also, it seems like the |
@jfacorro I don't actually remember why we chose to create a separate repo/library for that functionality, but it does seem like it'd be valuable to roll it into the |
Thanks @jkakar @robertoaloi @jfacorro https://github.com/aws-beam/aws_credentials seems like the correct way,
after aws_credentials installation okay, is this usage correct?
|
@calvin-kargo AFAIK there shouldn't be any issues when compiling the project. Could you please share the result from running
That looks correct. |
@jfacorro Here is rebar version and crash dump (from
|
also
|
It might be an issue with the |
@jfacorro have updated rebar3, but still getting same error
|
It looks like It would be useful to have a project where we can reproduce the error, since this looks like a problem with the interaction of |
Is there any thought on how to integrate instance role with the rest of the module?
how about adding additional attribute on %AWS.Client struct and handle it at AWS.Request module?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
The text was updated successfully, but these errors were encountered: