Skip to content
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 for temporary credentials #76

Open
senior opened this issue Mar 30, 2020 · 2 comments
Open

Support for temporary credentials #76

senior opened this issue Mar 30, 2020 · 2 comments

Comments

@senior
Copy link

senior commented Mar 30, 2020

When trying to use the ocaml-aws library, I couldn't figure out a way to supply temporary credentials using the API as it is. What I needed to support temporary credentials, was to add a "x-amz-security-token" header with a supplied token. I think it might be as easy as adding an optional parameter to sign_request that will add the appropriate header, but I think that would then need to be surfaced in places that is being called, like Aws_async.Runtime.run_request.

More info on temporary credentials:
-Making Requests
-REST authentication

@tmcgilchrist
Copy link
Collaborator

tmcgilchrist commented Apr 2, 2020

I haven't looked into supporting the temporary credentials functionality yet. I'll put it into the backlog of feature request. My focus with this library right now is shaking the bugs out of the currently supported bindings, like #75

If you feel strongly about it please submit a PR. Cheers 👍

@jrochel
Copy link

jrochel commented Mar 4, 2021

#99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants