jetstack / jetstack/jetstack-secure

Print a better error when attempting to use token based authentication and service account credentials at the same time

未關閉
#186 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Go
星號
262
分支
27
平均合併
2 天 7 小時
30 天內合併 PR
19

描述

The agent support both basic token authentication and a service account credentials file.

Right now the token can be specified in either the config file or the `--auth-token` flag.

The execution should fail with a clear message if a service account credentials file is provided but there is a basic authentication token specified as well.

貢獻指南

開啟貢獻指南

研究方向

追蹤設定檔和 --auth-token 旗標的載入方式,然後找出接受服務帳戶憑證的位置。使用憑證檔案和權杖重現一次執行,並確認執行會因一個清楚說明兩種驗證方法不能同時使用的錯誤而停止。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
go
領域
authentication, cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。