Files
kuboard-press/learning/k8s-intermediate/config/secrets/index.md
huanqing.shao 31709a0b5c seo
2019-09-21 18:56:06 +08:00

17 lines
637 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
layout: LearningLayout
description: Kubernetes教程_在Kubernetes中_配置和使用_Secrets
---
# Secrets概述
参考文档: Kubernetes 官网文档 [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/)
## 概述
Kubernetes `Secret` 对象可以用来储存敏感信息例如密码、OAuth token、ssh 密钥等。如果不使用 `Secret`,此类信息可能被放置在 Pod 定义中或者容器镜像中。将此类敏感信息存储到 `Secret` 中,可以更好地:
* 控制其使用
* 降低信息泄露的风险
用户可以直接创建 SecretKubernetes 系统也会创建一些 Secret。