Coder Social home page Coder Social logo

deno-aws-sign-v4's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deno-aws-sign-v4's Issues

X-Amz-Security-Token

The X-Amz-Security-Token gets set whenever AWS_SESSION_TOKEN is present in the environment.

const sessionToken = Deno.env.get("AWS_SESSION_TOKEN");
if (sessionToken) {
headers["X-Amz-Security-Token"] = sessionToken;
}

This was an issue for me when using Lambda with my own (not Lambda provided) AWS credentials. That is because Lambda will generate its own temporary credentials and session token.

Some API requests will be rejected by AWS when this header is present and it does not match the credentials used.

I wonder if this should be changed so setting the header is optional. Or maybe it does not get automatically added when you manually pass in credentials to the AWSSignerV4 class.

Also, this is an extremely useful package. Thank you!

Package Import URL

denoland/dotland#954 should reintroduce this package into Deno's third party modules database. Once that happens, this repository's README should be updated to use that URL. It would be helpful if a tagged released is made for this package, such as v1.0.0.

Example:

https://deno.land/x/[email protected]/src/mod.ts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.