Skip to content

Commit

Permalink
Update README for service name & region overrides
Browse files Browse the repository at this point in the history
Adding an example for overriding service name & region values when API gateway calls return unable to determine service from host error. 

Issue: awslabs#29
  • Loading branch information
Denish-M authored Dec 15, 2020
1 parent 82420a6 commit a6e152e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ docker run --rm -ti \
aws-sigv4-proxy -v --role-arn <ARN OF ROLE TO ASSUME>
```

Include service name & region overrides when you notice errors like `unable to determine service from host` for API gateway, for example.
```sh
docker run --rm -ti \
-v ~/.aws:/root/.aws \
-p 8080:8080 \
-e 'AWS_PROFILE=<SOME PROFILE>' \
aws-sigv4-proxy -v --name execute-api --region us-east-1
```

## Reference

- [AWS SigV4 Signing Docs ](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html)
Expand Down

0 comments on commit a6e152e

Please sign in to comment.