From 9c0f836038d8c4f45c0acffdfbcbd6382e2bde51 Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Sun, 20 Mar 2022 11:52:33 +0800 Subject: [PATCH] [zh] Update secret.md Signed-off-by: xin.li --- content/zh/docs/reference/glossary/secret.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/reference/glossary/secret.md b/content/zh/docs/reference/glossary/secret.md index ef1c8e9516..9eb093ac6a 100644 --- a/content/zh/docs/reference/glossary/secret.md +++ b/content/zh/docs/reference/glossary/secret.md @@ -37,9 +37,11 @@ tags: -Secret 允许用户对如何使用敏感信息进行更多的控制,并减少信息意外暴露的风险,包括静态[encryption(加密)](/zh/docs/tasks/administer-cluster/encrypt-data/#ensure-all-secrets-are-encrypted)。 +Secret 允许用户对如何使用敏感信息进行更多的控制,并减少信息意外暴露的风险。 +默认情况下,Secret 值被编码为 base64 字符串并以非加密的形式存储,但可以配置为 +[静态加密(Encrypt at rest)](/zh/docs/tasks/administer-cluster/encrypt-data/#ensure-all-secrets-are-encrypted)。 {{< glossary_tooltip text="Pod" term_id="pod" >}} 通过挂载卷中的文件的方式引用 Secret,或者通过 kubelet 为 pod 拉取镜像时引用。 Secret 非常适合机密数据使用,而 [ConfigMaps](/zh/docs/tasks/configure-pod-container/configure-pod-configmap/) 适用于非机密数据。