# AWS signature verification routines for Rust
## Crate: [scratchstack-aws-signature](https://crates.io/crates/scratchstack-aws-signature)

[](https://coveralls.io/github/dacut/scratchstack-aws-signature?branch=main)
The `scratchstack-aws-signature` crate (formerly known as `aws_sig_verify`) provides
AWS SigV4 _verification_ routines.
This *is not* the library you want if you just want to call AWS services
or other services that use AWS SigV4 signatures.
[Rusoto](https://github.com/rusoto/rusoto) already has a library,
[rusoto_signature](https://docs.rs/rusoto_signature/), that provides this
functionality.
If you are attempting to perform AWS SigV4 verification using AWS-vended
credentials, this library also ___will not work for you___. You need the
caller's secret key (or a derivative), and AWS does not allow this for
obvious reasons. Instead, you should be using [API Gateway with IAM
authentication](https://docs.aws.amazon.com/apigateway/latest/developerguide/permissions.html).
On the other hand, if you have your own ecosystem of AWS-like credentials
and are developing mock-AWS services or just really like AWS SigV4 but
can't run within AWS, this library _might_ be for you.
Documentation for this package is published automatically to [docs.rs](https://docs.rs/scratchstack-aws-signature/).