Crate aws_kms_crypt [] [src]

A Rust implementation of aws-kms-crypt – a cross-language utility for encrypting and decrypting secrets with the AWS KMS service.

Features

  • Simple APIs for encrypting and decrypting secrets
  • Interoperable implementations for multiple languages (Shell, Node, Python and Rust)
  • Envelope Encryption with AES-128-CBC and KMS generated data keys

See https://github.com/sjakthol/aws-kms-crypt for general information about the library.

Modules

errors

Error constructs powered by error_chain crate.

Structs

DecryptOptions

Options for decryption

EncryptOptions

Options for encryption

EncryptedSecret

A struct that holds an encrypted secret.

Functions

decrypt

Decrypt a previously encrypted secret.

encrypt

Encrypt a secret with KMS.