From 6e2cc1706fef6da8581e34e7253b07d8eb3bdad0 Mon Sep 17 00:00:00 2001 From: AdamDang Date: Wed, 28 Nov 2018 14:43:42 +0800 Subject: [PATCH] zh-trans: add secret.md (#11359) * zh-trans: add secret.md zh-trans: add secret.md * Update secret.md --- content/zh/docs/reference/glossary/secret.md | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/content/zh/docs/reference/glossary/secret.md b/content/zh/docs/reference/glossary/secret.md index e1290f8d7e..4b69aa58f4 100755 --- a/content/zh/docs/reference/glossary/secret.md +++ b/content/zh/docs/reference/glossary/secret.md @@ -3,6 +3,21 @@ title: Secret id: secret date: 2018-04-12 full_link: /docs/concepts/configuration/secret/ +short_description: > + Secret 用于存储敏感信息,如密码、OAuth 令牌和 SSH 密钥。 + +aka: +tags: +- core-object +- security +--- + + + + + + Secret 用于存储敏感信息,如密码、OAuth 令牌和 SSH 密钥。 + +Secret 允许用户对如何使用敏感信息进行更多的控制,并减少信息意外暴露的风险,包括静态[加密](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/#ensure-all-secrets-are-encrypted)。 +{{< glossary_tooltip text="Pod" term_id="pod" >}} 通过挂载卷中的文件的方式引用 Secret,或者通过 kubelet 为 pod 拉取镜像时引用。 +Secret 非常适合机密数据使用,而 [ConfigMaps](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/) 适用于非机密数据。