---
url: /reference/manifest/endpoints.md
---

# Endpoints

`endpoints` 用于定义端点的属性，如其授权方式、承载该端点的远程后端，以及相对于远程后端基础 URL 的路由。

## 结构

结构定义如下：

```yaml
endpoints []
├─ key (string) [Mandatory]
├─ remote (string) [Mandatory]
├─ route (string) [Mandatory]
└─ auth {} [Optional]
   ├─ userToken (boolean) [Mandatory]
   └─ appToken (boolean) [Mandatory]
```

## 示例

简单配置示例：

```yaml
endpoints:
  - key: remote-trigger-boot
    remote: remote-backend
    route: /nexus-trigger
    auth:
      userToken: true
      appToken: false
```

## 属性

属性定义如下：
