def getAllSecrets(version='', region='us-east-1', table='credential-store', context=None):
    '\n    fetch and decrypt all secrets\n    '
    output = {}
    secrets = listSecrets(region, table)
    for credential in set([x['name'] for x in secrets]):
        try:
            output[credential] = getSecret(credential, version, region, table, context)
        except:
            pass
    return output
fetch and decrypt all secrets
def getAllSecrets(version=, region='us-east-1', table='credential-store', context=None):
    '\n    \n    '
    output = {}
    secrets = listSecrets(region, table)
    for credential in set([x['name'] for x in secrets]):
        try:
            output[credential] = getSecret(credential, version, region, table, context)
        except:
            pass
    return output