rustv1/examples/tls/README.md
These examples demonstrate how to adjust TLS settings to custom values. This can help you enforce custom levels of security. For example, you might require a minimum version of TLS 1.3 for outgoing calls.
You must have an AWS account with your default credentials and AWS Region properly configured. For more information, see the Getting Started section of the SDK for Rust README. The minimum version of Rust that's needed to run the SDK is listed here. Instructions for installing Rust and Cargo can be found in the official Rust documentation.
Shows how to use rustls to build a custom connector and pass it to the client to make calls. This example uses AWS Key Management Service (AWS KMS) for demonstration purposes, but you can extrapolate this for use with any service that supports TLS 1.3. To start, run the following at a command prompt from the Rust root of the project:
cargo run --bin tls
Or, to run the test suite, run the following command from the Rust root of the project:
cargo test -p tls --test test-tls -- --include-ignored
=======
To propose a new code example, see CONTRIBUTING.md. We prefer to create code examples that show broad scenarios rather than individual API calls.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0