benchling_sdk.apps.config.decryption_provider module¶

class BaseDecryptionProvider¶

Bases: abc.ABC

Provides a way to decrypt encrypted messages.

Various implementations might use AWS KMS, Azure, etc.

abstract decrypt(ciphertext: str) → str¶

Decrypt secrets.

Receives encrypted cipher text and returns the decrypted plain text.