Registry / cloud / aws-sdk-kms

aws-sdk-kms

JSON →
library1.111.0rscratesunverified

AWS SDK for AWS Key Management Service (KMS).

# Cargo.toml [dependencies] aws-sdk-kms = "1.111.0"
INSTALL
IMPORT
SIG · AWS-SDK-KMS
A
aws-sdk-kms
cloudrustv1.111.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use aws_sdk_kms::Client;

Lists KMS keys using the AWS SDK for Rust with default credentials.

use aws_sdk_kms::Client; use aws_config::from_env; async fn list_keys() { let config = from_env().load().await; let client = Client::new(&config); let resp = client.list_keys().send().await.unwrap(); println!("Keys: {:?}", resp.keys()); }
Debug
Known issues
gotchaRequires async runtime (e.g., Tokio) and AWS credentials configured via environment variables or IAM role.
fix
Add tokio as a dependency and use #[tokio::main] on your async main function. Ensure AWS credentials are set.
affects: all
Upgrade
Version history
1.111.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
30
Resources
aws-sdk-kms — cargo add aws-sdk-kms · libregistry