Skip to content

Commit 5b51d2d

Browse files
authoredMar 20, 2025··
Develop astro nacos 3.0 beta (#885)
* Update 3.0 beta document. * Update 3.0 beta document. * update download for 3.0.0-BETA
1 parent cd8cb5d commit 5b51d2d

31 files changed

+3012
-2282
lines changed
 

‎src/components/common/Header/DocsMenu.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const ifactive = (link) => {
107107
class="inline-block w-full p-2 no-underline text-inherit text-gray-02"
108108
>
109109
{ifzh ? label : item.translations?.en}
110-
{ label === "3.0"? <span class="inline-block px-2 py-1 rounded-full h-[18px] leading-3 bg-gradient-to-r from-[#262CF4] via-[#262CF4] to-[#7140FF] opacity-100 text-white text-sm">Alpha</span> :null}
110+
{ label === "3.0"? <span class="inline-block px-2 py-1 rounded-full h-[18px] leading-3 bg-gradient-to-r from-[#262CF4] via-[#262CF4] to-[#7140FF] opacity-100 text-white text-sm">Beta</span> :null}
111111
</a>
112112
</li>
113113
)

‎src/content/docs/v3.0/en/manual/admin/admin-api.md

+1,918-1,624
Large diffs are not rendered by default.

‎src/content/docs/v3.0/en/manual/admin/auth.mdx

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 权限校验
33
keywords: [Authorization]
44
description: 本文介绍了如何开启Nacos的鉴权(访问控制)功能,及一些示例。
55
sidebar:
6-
order: 6
6+
order: 8
77
---
88

99
import { Tabs, TabItem } from '@astrojs/starlight/components';
@@ -20,6 +20,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
2020
|参数名|默认值|对应docker镜像环境变量|说明|
2121
|-----|------|------|----|
2222
|nacos.core.auth.enabled|false|NACOS_AUTH_ENABLE|是否开启Nacos客户端访问鉴权功能|
23+
|nacos.core.auth.admin.enabled|true|(TODO,将在3.0.0正式发布时添加)|是否开启Nacos Admin API访问鉴权功能|
2324
|nacos.core.auth.console.enabled|true|(TODO,将在3.0.0正式发布时添加)|是否开启Nacos控制台访问鉴权功能|
2425
|nacos.core.auth.system.type|nacos|NACOS_AUTH_SYSTEM_TYPE|鉴权类型|
2526
|nacos.core.auth.plugin.nacos.token.secret.key|无默认值|NACOS_AUTH_TOKEN|默认鉴权插件用于生成用户登陆临时accessToken所使用的密钥,**使用老版本默认值有安全风险**|
@@ -73,6 +74,8 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
7374
nacos.core.auth.system.type=nacos
7475
### 开启Nacos客户端访问鉴权
7576
nacos.core.auth.enabled=true
77+
### 开启Nacos Admin API访问鉴权,默认为开启
78+
nacos.core.auth.admin.enabled=true
7679
### 开启Nacos控制台访问鉴权,默认为开启
7780
nacos.core.auth.console.enabled=true
7881
```

0 commit comments

Comments
 (0)
Please sign in to comment.