def METHOD_NAME(path: str):
    paths = path.split("/", 1)
    id = paths[0]
    creds_key = paths[1]
    if creds_key in visualizer.get_link_creds(id).creds_keys:
        creds = visualizer.get_link_creds(id).get_creds(creds_key)
        if len(creds) == 0:
            p = S3Provider("")
            creds = {
                "aws_access_key_id": p.aws_access_key_id,
                "aws_secret_access_key": p.aws_secret_access_key,
                "aws_session_token": p.aws_session_token,
                "aws_region": p.aws_region,
            }
        return creds
    return Response("", 404)