9 releases

0.11.1-preview.4 Jan 10, 2023
0.11.1-preview.3 Oct 24, 2022
0.10.4 Aug 24, 2022
0.10.2 May 2, 2021

#10 in #signature-verification

37 downloads per month
Used in 2 crates

MIT license

260KB
5K SLoC

Rust 4K SLoC // 0.0% comments Python 1K SLoC // 0.1% comments

AWS signature verification routines for Rust

Crate: scratchstack-aws-signature

GitHub Actions Coverage Status

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 already has a library, 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.

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.

Dependencies

~22MB
~476K SLoC