Skip to content

Commit

Permalink
Add support for AWS_SESSION_TOKEN temporary credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
hayd committed Dec 2, 2019
1 parent f6d0a95 commit 782f64c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/create_headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export function createHeaders(
"Content-Type": POST_CONTENT_TYPE,
"X-Amz-Date": amzDate,
"X-Amz-Target": amzTarget,
"X-Amz-Security-Token": Deno.env("AWS_SESSION_TOKEN"),
Authorization: authorizationHeader
});
}

0 comments on commit 782f64c

Please sign in to comment.