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.
This commit is contained in:
Ainsley Rutterford 2025-03-23 01:40:43 +00:00 committed by GitHub
parent 05e3c8bddb
commit c5478ea17b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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