def listSecrets(region='us-east-1', table='credential-store'):
    '\n    do a full-table scan of the credential-store,\n    and return the names and versions of every credential\n    '
    dynamodb = boto3.resource('dynamodb', region_name=region)
    secrets = dynamodb.Table(table)
    response = secrets.scan(ProjectionExpression='#N, version', ExpressionAttributeNames={'#N': 'name'})
    return response['Items']
do a full-table scan of the credential-store,
and return the names and versions of every credential
def listSecrets(region='us-east-1', table='credential-store'):
    '\n    do a full-table scan of the credential-store,\n    and return the names and versions of every credential\n    '
    dynamodb = boto3.resource('dynamodb', region_name=region)
    secrets = dynamodb.Table(table)
    response = secrets.scan(ProjectionExpression='#N, version', ExpressionAttributeNames={'#N': 'name'})
    return response['Items']