libopenstorage / secrets

Openstorage support for Key Management Systems
Apache License 2.0
16 stars 16 forks source link

Revamp the AWS KMS implementation of the Secrets interface. #7

Closed adityadani closed 6 years ago

adityadani commented 6 years ago

AWS KMS cannot act as a secret store where we can store user data. It provides a mechanism to generate DataKeys that could be used for encrypting user data. In KMS when you generate a DataKey it returns

  1. [Private Key]: PlainText which should be used for encrypting data.
  2. [Public Key]: CipherText which should be used for subsequent calls to KMS to fetch the private key.