def METHOD_NAME(request):
    # type: (Request) -> HTTPException
    """
    Get authorized vault file details without downloading it.
    """
    file_id, auth = get_vault_auth(request)
    vault_file = get_authorized_file(file_id, auth, request)
    path = get_vault_path(vault_file, request)
    tmp_file = None
    try:
        tmp_file = decrypt_from_vault(vault_file, path, delete_encrypted=False)
        headers = get_href_headers(
            tmp_file,
            download_headers=True,
            location_headers=False,
            content_headers=True,
            content_type=vault_file.format,
        )
        headers["Content-Location"] = get_vault_url(vault_file, request)
    finally:
        if os.path.isfile(tmp_file):
            os.remove(tmp_file)
    return HTTPHeadFileResponse(code=200, headers=headers)