Crates.io | aws-db-esdk |
lib.rs | aws-db-esdk |
version | |
source | src |
created_at | 2024-12-04 16:16:57.949934 |
updated_at | 2024-12-06 19:08:31.626604 |
description | aws-db-esdk is a library for implementing client side encryption with DynamoDB. |
homepage | https://github.com/aws/aws-database-encryption-sdk-dynamodb/tree/main/releases/rust/db_esdk |
repository | https://github.com/aws/aws-database-encryption-sdk-dynamodb/tree/main/releases/rust/db_esdk |
max_upload_size | |
id | 1472265 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
AWS Database Encryption SDK for DynamoDB
The AWS Database Encryption SDK for DynamoDB is available on Crates.io.
To build, the AWS Database Encryption SDK for DynamoDB requires the most up to date version of Dafny on your PATH.
You will also need to ensure that you fetch all submodules using either git clone --recursive ...
when cloning the repository or git submodule update --init
on an existing clone.
To setup your project to use the AWS Database Encryption SDK for DynamoDB in Rust, run:
cd DynamoDbEncryption
# Polymorph smithy to Rust
make polymorph_rust
# Transpile Dafny to Rust
make transpile_rust
# Build Project
cd runtimes/rust
cargo build
If you set up the AWS Database Encryption SDK for DynamoDB to use the AWS KMS Keyring, the AWS Database Encryption SDK for DynamoDB will make calls to AWS KMS on your behalf, using the appropriate AWS SDK.
However, you must first set up AWS credentials for use with the AWS SDK.
To run the test suite you must first set up AWS credentials for use with the AWS SDK. This is required in order to run the integration tests, which use a KMS Keyring against a publicly accessible KMS CMK.
Run the test suite with:
cd AwsEncryptionSDK
make test_rust
Run tests on examples, to ensure they are up to date:
cd AwsEncryptionSDK/runtimes/rust/
cargo test --examples
Please look at the Examples on how to use the Encryption SDK in Rust here.
Please note that tests and test vectors require internet access and valid AWS credentials, since calls to KMS are made as part of the test workflow.
This library is licensed under the Apache 2.0 License.