docs(plugin-api-keys): add warning for API_KEY env (#2847)
This commit is contained in:
parent
73b168ac25
commit
0c99c81c93
@ -14,6 +14,8 @@ Here's an example using cURL:
|
|||||||
curl '{domain}/api/roles:check' -H 'Authorization: Bearer {API key}'
|
curl '{domain}/api/roles:check' -H 'Authorization: Bearer {API key}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Warning: When using the `Docker` image to use `NocoBase`, make sure you have configured the [APP_KEY](https://docs.nocobase.com/api/env#app_key) environment variable, otherwise the API key will be invalid after each restart.
|
||||||
|
|
||||||
## Deleting an API key
|
## Deleting an API key
|
||||||
|
|
||||||
After deleting the API key, it will no longer be usable.
|
After deleting the API key, it will no longer be usable.
|
||||||
|
@ -14,6 +14,8 @@ cURL 的例子如下
|
|||||||
curl '{domain}/api/roles:check' -H 'Authorization: Bearer {API key}'
|
curl '{domain}/api/roles:check' -H 'Authorization: Bearer {API key}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Warning: 当你使用 `Docker` 镜像来使用 `NocoBase` 时,请确保你配置了 [APP_KEY](https://docs-cn.nocobase.com/api/env#app_key) 环境变量,否则 API key 将在每次重启后失效。
|
||||||
|
|
||||||
## 删除 API key
|
## 删除 API key
|
||||||
|
|
||||||
删除 API key 后,该 Key 将无法继续使用。
|
删除 API key 后,该 Key 将无法继续使用。
|
||||||
|
Loading…
Reference in New Issue
Block a user