返回主题:密钥与凭证管理

知识卡片

普通读书笔记卡 · 2437.r

加密文件仍需保管密钥

理解等级:中级

将秘密加密后提交版本库,能使参数可随代码分发,但解密密钥绝不能放在同一库中。人工输入密钥会阻断无人值守部署,因此必须另有安全提供密钥的机制。加密文件解决保存问题,并未自动解决密钥启动和访问控制问题。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 配置基础设施栈实例 · 查看原书依据

      The key used to decrypt the secrets file should never be in the repository itself; otherwise, it would be available to attackers who gain access to the code. The key could be typed in when running an infrastructure deployment, but that prevents infrastructure deployments from running unattended. One of the other methods described in this

    参考来源

    - 位置:《Infrastructure As Code》第8章《配置基础设施栈实例》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch08.html) - 结论依据:原文说明将秘密加密后提交版本库,能使参数可随代码分发,但解密密钥绝不能放在同一库中;本卡据此解释其用途及适用边界。 - 原始内容:The key used to decrypt the secrets file should never be in the repository itself; otherwise, it would be available to attackers who gain access to the code. The key could be typed in when running an infrastructure deployment, but that prevents infrastructure deployments from running unattended. One of the other methods described in this