From 431d1c13901d68b3c9253550f63e056eb3347363 Mon Sep 17 00:00:00 2001 From: Valerij Petrulevich Date: Fri, 8 Oct 2021 11:16:08 -0500 Subject: [PATCH 1/2] Updated Doc for invokeing API Gateway with temp creds --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e3c2ff4..7a53588 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,12 @@ To do that just fill the configuration in the appsettings.json file and debug or "json": "{...}" } ``` +# Calling API Gateway with temporary credentials +When calling API Gateway (i.e. service `execute-api`) with temporary credentials, please also include AWS Session Token in request header: +``` +request.Headers.TryAddWithoutValidation("X-Amz-Security-Token", "sessionToken"); +``` + # Nuget Package [Aws4RequestSigner](https://www.nuget.org/packages/Aws4RequestSigner/) is on NuGet. From 8c0ba6c5899d70dfbef612cdb17dc7fa51620ede Mon Sep 17 00:00:00 2001 From: Michael Tsibelman <172522+tsibelman@users.noreply.github.com> Date: Wed, 30 Aug 2023 11:30:34 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index bea40ee..85b92a0 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,5 @@ In case you can't use async calls in your method, you can use this example inste ``` -# Nuget Package -======= +### Nuget Package Aws4RequestSigner is on NuGet: [Aws4RequestSigner](https://www.nuget.org/packages/Aws4RequestSigner/)