Vault Workshop 06: Github Auth method
如果你希望追蹤最新的草稿,請見鐵人賽2023 本 workshop 也接受網友的許願清單,如果有興趣的題目可於第一篇底下留言,筆者會盡力實現,但不做任何保證 整篇 Workshop 會使用的範例與原始碼,放在 Github Repository: vault-playground Day 06:Github auth method 不需要使用 root token 的 auth method: github Vault 支援用於人員使用者的身份驗證方法。GitHub 身份驗證,使用戶可以通過提供他們的 GitHub 憑證來驗證 Vault,並收到一個 Vault token。 簡單來說,github organization chechia-net,可以設定適當的權限給成員 chechiachang,讓 chechiachang 可以透過 github 取得有權限的 token。 注意 在練習中所描述的這種身份驗證方法,需要你擁有 GitHub、屬於 GitHub org 中的一個 team ,並生成了具有 read:org scope 的 GitHub personal access token。你可以於 github 創建一個 free plan 的 org,並設定一個 team,然後透過個人 Settings / Developer Settings 來產生一把具有 read:org 權限的 personal access token 啟用 github auth method 你可以使用下列指令,在 path=github/ 下啟用 GitHub 身份驗證方法。 ...