Skip to content

Revise Examples  #156

Closed
Closed
@ttjsu-aws

Description

@ttjsu-aws

The AWS Encryption SDK Examples in Python is not intuitive/simple to understand. The API usage is not immediately apparent and is buried in a lot of details.

It would be useful to have examples that are a combination of the commonly used APIs, algorithm suites and the type of data (string/stream) to be encrypted/decrypted.

A. Commonly used APIs :

  1. Encrypt/Decrypt using one KMS CMK
  2. Encrypt/Decrypt using multiple KMS CMKs in Multiple Regions
  3. Decrypt using KMS CMK with the client provider
  4. Decrypt using KMS Discovery with region limits/filters
  5. Decrypt using KMS generic discovery
  6. Encrypt/Decrypt using Multi-KR/Multi-MKP
  7. Caching 1:1 local cache: caching cmm
  8. Caching 1:n local cache: caching cmm

Once we have the Keyring Implementation: #146

  1. Encrypt/ Decrypt using Raw AES Keyring
  2. Encrypt using Raw RSA Keyring (public-key)
  3. Decrypt using Raw RSA Keyring (public and private)
  4. Encrypt/Decrypt using KMS Keyring
  5. Encrypt/Decrypt using Multi-Keyring

B. Types of data for encryption/decryption:

  1. One shot/ string
  2. Streaming data

C. Commonly used Algorithm Suite:

  1. Default Algorithm Suite AES_256_GCM_IV12_TAG16_HKDF_SHA384_ECDSA_P384 with P-384 and SHA-384
  2. Default w/o signing AES256_GCM_IV12_TAG16_HKDF_SHA256

Examples:

Also, be sure to include/update the README to help navigate through the examples.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions