知识卡片
服务账号关联云端权限
Pod 的 Kubernetes 服务账号可经 OIDC 与云端 IAM 角色关联,从而获取访问 AWS API 的临时凭据。应为具体工作负载绑定所需角色及最小权限,避免把长期密钥写进镜像或给整个集群共用高权限身份。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Microservice APIs》第 14 章《Deploying microservice APIs with Kubernetes》(源文件:_epub-src/OEBPS/Text/14.htm)
- 结论依据:原文说明服务账号通过 OIDC 关联 IAM 角色,使 Pod 获取临时凭据访问云端资源。
- 原始内容:to link a Kubernetes service account to an IAM role, we use OpenID Connect (OIDC ). By using OIDC, our pods can obtain temporary credentials to access the AWS API. Figure 14.4 Pods can authenticate with an OIDC provider to