Skip to content

Commit 764d78c

Browse files
committed
[zh] sync /security/controlling-access.md
1 parent a631f1b commit 764d78c

File tree

2 files changed

+909
-16
lines changed

2 files changed

+909
-16
lines changed

content/zh-cn/docs/concepts/security/controlling-access.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ When a request reaches the API, it goes through several stages, illustrated in t
2929
following diagram:
3030
-->
3131
用户使用 `kubectl`、客户端库或构造 REST 请求来访问 [Kubernetes API](/zh-cn/docs/concepts/overview/kubernetes-api/)
32-
人类用户和 [Kubernetes 服务账户](/zh-cn/docs/tasks/configure-pod-container/configure-service-account/)都可以被鉴权访问 API。
32+
人类用户和 [Kubernetes 服务账号](/zh-cn/docs/tasks/configure-pod-container/configure-service-account/)都可以被鉴权访问 API。
3333
当请求到达 API 时,它会经历多个阶段,如下图所示:
3434

35-
![Kubernetes API 请求处理步骤示意图](/images/docs/admin/access-control-overview.svg)
35+
![Kubernetes API 请求处理步骤示意图](/zh-cn/docs/images/access-control-overview.svg)
3636

37-
<!-- ## Transport security -->
37+
<!--
38+
## Transport security
39+
-->
3840
## 传输安全 {#transport-security}
3941

4042
<!--
@@ -95,7 +97,7 @@ until one of them succeeds.
9597
-->
9698
认证步骤的输入整个 HTTP 请求;但是,通常组件只检查头部或/和客户端证书。
9799

98-
认证模块包含客户端证书、密码、普通令牌、引导令牌和 JSON Web 令牌(JWT,用于服务账户)。
100+
认证模块包含客户端证书、密码、普通令牌、引导令牌和 JSON Web 令牌(JWT,用于服务账号)。
99101

100102
可以指定多个认证模块,在这种情况下,服务器依次尝试每个验证模块,直到其中一个成功。
101103

@@ -167,6 +169,7 @@ allowed to read objects in the `projectCaribou` namespace:
167169
}
168170
}
169171
```
172+
170173
<!--
171174
If Bob makes a request to write (`create` or `update`) to the objects in the
172175
`projectCaribou` namespace, his authorization is denied. If Bob makes a request
@@ -253,7 +256,6 @@ The cluster audits the activities generated by users, by applications that use t
253256
254257
For more information, see [Auditing](/docs/tasks/debug/debug-cluster/audit/).
255258
-->
256-
257259
## 审计 {#auditing}
258260

259261
Kubernetes 审计提供了一套与安全相关的、按时间顺序排列的记录,其中记录了集群中的操作序列。
@@ -290,22 +292,22 @@ You can learn about:
290292
阅读更多有关身份认证、鉴权和 API 访问控制的文档:
291293

292294
- [认证](/zh-cn/docs/reference/access-authn-authz/authentication/)
293-
- [使用 Bootstrap 令牌进行身份认证](/zh-cn/docs/reference/access-authn-authz/bootstrap-tokens/)
295+
- [使用 Bootstrap 令牌进行身份认证](/zh-cn/docs/reference/access-authn-authz/bootstrap-tokens/)
294296
- [准入控制器](/zh-cn/docs/reference/access-authn-authz/admission-controllers/)
295-
- [动态准入控制](/zh-cn/docs/reference/access-authn-authz/extensible-admission-controllers/)
297+
- [动态准入控制](/zh-cn/docs/reference/access-authn-authz/extensible-admission-controllers/)
296298
- [鉴权](/zh-cn/docs/reference/access-authn-authz/authorization/)
297-
- [基于角色的访问控制](/zh-cn/docs/reference/access-authn-authz/rbac/)
298-
- [基于属性的访问控制](/zh-cn/docs/reference/access-authn-authz/abac/)
299-
- [节点鉴权](/zh-cn/docs/reference/access-authn-authz/node/)
300-
- [Webhook 鉴权](/zh-cn/docs/reference/access-authn-authz/webhook/)
299+
- [基于角色的访问控制](/zh-cn/docs/reference/access-authn-authz/rbac/)
300+
- [基于属性的访问控制](/zh-cn/docs/reference/access-authn-authz/abac/)
301+
- [节点鉴权](/zh-cn/docs/reference/access-authn-authz/node/)
302+
- [Webhook 鉴权](/zh-cn/docs/reference/access-authn-authz/webhook/)
301303
- [证书签名请求](/zh-cn/docs/reference/access-authn-authz/certificate-signing-requests/)
302-
- 包括 [CSR 认证](/zh-cn/docs/reference/access-authn-authz/certificate-signing-requests/#approval-rejection)
303-
[证书签名](/zh-cn/docs/reference/access-authn-authz/certificate-signing-requests/#signing)
304-
- 服务账户
304+
- 包括 [CSR 认证](/zh-cn/docs/reference/access-authn-authz/certificate-signing-requests/#approval-rejection)
305+
[证书签名](/zh-cn/docs/reference/access-authn-authz/certificate-signing-requests/#signing)
306+
- 服务账号
305307
- [开发者指导](/zh-cn/docs/tasks/configure-pod-container/configure-service-account/)
306308
- [管理](/zh-cn/docs/reference/access-authn-authz/service-accounts-admin/)
307309

308-
你可以了解
310+
你可以了解
309311
- Pod 如何使用
310312
[Secret](/zh-cn/docs/concepts/configuration/secret/#service-accounts-automatically-create-and-attach-secrets-with-api-credentials)
311-
获取 API 凭证
313+
获取 API 凭据

0 commit comments

Comments
 (0)