95 releases (50 stable)

new 1.50.0 Dec 4, 2024
1.49.0 Nov 6, 2024
1.48.0 Oct 31, 2024
1.36.0 Jul 22, 2024
0.0.0 May 7, 2021

#2604 in Network programming

Download history 47/week @ 2024-08-18 134/week @ 2024-08-25 159/week @ 2024-09-01 145/week @ 2024-09-08 208/week @ 2024-09-15 336/week @ 2024-09-22 211/week @ 2024-09-29 235/week @ 2024-10-06 52/week @ 2024-10-13 102/week @ 2024-10-20 156/week @ 2024-10-27 216/week @ 2024-11-03 25/week @ 2024-11-10 10/week @ 2024-11-17 1/week @ 2024-11-24 128/week @ 2024-12-01

169 downloads per month

Apache-2.0

1.5MB
25K SLoC

aws-sdk-signer

AWS Signer is a fully managed code-signing service to help you ensure the trust and integrity of your code.

Signer supports the following applications:

With code signing for AWS Lambda, you can sign AWS Lambda deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3.

With code signing for IoT, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS and AWS IoT Device Management, and is integrated with AWS Certificate Manager (ACM). In order to sign code, you import a third-party code-signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS IoT Device Management.

With Signer and the Notation CLI from the Notary
 Project, you can sign container images stored in a container registry such as Amazon Elastic Container Registry (ECR). The signatures are stored in the registry alongside the images, where they are available for verifying image authenticity and integrity.

For more information about Signer, see the AWS Signer Developer Guide.

Getting Started

Examples are available for many services and operations, check out the examples folder in GitHub.

The SDK provides one crate per AWS service. You must add Tokio as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-signer to your project, add the following to your Cargo.toml file:

[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-signer = "1.50.0"
tokio = { version = "1", features = ["full"] }

Then in code, a client can be created with the following:

use aws_sdk_signer as signer;

#[::tokio::main]
async fn main() -> Result<(), signer::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_signer::Client::new(&config);

    // ... make some calls with the client

    Ok(())
}

See the client documentation for information on what calls can be made, and the inputs and outputs for each of those calls.

Using the SDK

Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.

Getting Help

License

This project is licensed under the Apache-2.0 License.

Dependencies

~8–20MB
~286K SLoC