def decrypt(ciphertext): return kms.decrypt( CiphertextBlob=base64.b64decode(ciphertext))['Plaintext']