From c5478ea17b247dd7abf50486dfd22a7ed410c15e Mon Sep 17 00:00:00 2001 From: Ainsley Rutterford Date: Sun, 23 Mar 2025 01:40:43 +0000 Subject: [PATCH] Update docker instructions in amazon-bedrock.md The docker command shown was missing the `AWS_SESSION_TOKEN` environment variable so the Bedrock Access Gateway server was complaining about the security token being invalid. --- docs/tutorials/integrations/amazon-bedrock.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/integrations/amazon-bedrock.md b/docs/tutorials/integrations/amazon-bedrock.md index 5a9c486..70ca127 100644 --- a/docs/tutorials/integrations/amazon-bedrock.md +++ b/docs/tutorials/integrations/amazon-bedrock.md @@ -69,7 +69,7 @@ We're now ready to build and launch the docker container using: ```bash docker build . -f Dockerfile -t bedrock-gateway -docker run -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY="$AWS_SECRET_ACCESS_KEY" -e AWS_REGION=us-east-1 -d -p 8000:80 bedrock-gateway +docker run -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN -e AWS_REGION=us-east-1 -d -p 8000:80 bedrock-gateway ``` You should now be able to access the BAG's swagger page at: http://localhost:8000/docs