in resources/code/my-first-enclave/cryptographic-attestation/server.py [0:0]
def get_plaintext(credentials):
"""
prepare inputs and invoke decrypt function
"""
# take all data from client
access = credentials['access_key_id']
secret = credentials['secret_access_key']
token = credentials['token']
ciphertext= credentials['ciphertext']
region = credentials['region']
creds = decrypt_cipher(access, secret, token, ciphertext, region)
return creds