Skip to content

Commit

Permalink
Updated readme to include assume role functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
rohang98 committed Nov 2, 2020
1 parent b933a6e commit 5efefaf
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 @@ -64,6 +64,15 @@ docker run --rm -ti \
aws-sigv4-proxy -v -s Authorization
```

Running the service with Assume Role to use temporary credentials
```sh
docker run --rm -ti \
-v ~/.aws:/root/.aws \
-p 8080:8080 \
-e 'AWS_PROFILE=<SOME PROFILE>' \
aws-sigv4-proxy -v --role-arn <ARN OF ROLE TO ASSUME>
```

## Reference

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

0 comments on commit 5efefaf

Please sign in to comment.