[Feature request] Optional secrets
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
The issue names no files, tests, or entry points. Start by locating secret-reference parsing and resolution tests in this Go repository, then clarify how optional references should behave for missing secrets and declined authorization. Done means the proposed URI form is covered by tests and callers can continue when resolution fails.
由索引模型根据 Issue 内容生成。
描述
Engine fails closed if it can't resolve the secret, so it's up to a caller to provide a resolvable reference upfront.
Would be nice to be able to specify that the secret ref is optional to resolve - like se(+optional;empty)://some/ref which will be resolved by empty value if it can't be resolved for some reason - missing or auth declined.
The usecase:
We have a tool that lists infrastructure components and collects all info in a single dashboard. Sometimes token expires and have to be reauthorized manually and updated in the engine. However, when tool queries engine and the engine fails closed, we have to restart the flow excluding the secret completely, instead of just skipping it, as we can safely ignore part of the dashboard for some time.
- 主要语言
- Go
- 星标
- 95
- 派生
- 18
- 平均合并
- 7 小时 52 分钟
- 30 天内合并 PR
- 31
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker/secrets-engine 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
docker/secrets-engine#682 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
docker/secrets-engine#676 · 1 个 reaction ·
维护者通常 1 天内回复
-
Linux keychain dials a new D-Bus connection per operation, defeating per-entry access confirmation未关闭
难度 5/5 一周以上 新手友好度 42/100
docker/secrets-engine#648 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 65/100
docker/secrets-engine#584 · 1 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
docker/secrets-engine#551 · 3 条评论 · 3 个 reaction ·
维护者通常 1 天内回复
查看 docker/secrets-engine 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
chaitin/agent-compose#770 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
kind/bug
难度 1/5 1-3 小时 新手友好度 85/100
kubernetes-sigs/vsphere-csi-driver#4351 ·
维护者通常 1 天内回复
-
component/gpu-kubelet-plugin component/helm needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
kubernetes-sigs/dra-driver-nvidia-gpu#1559 ·
维护者通常 1 天内回复
-
workflow: redundant goroutine in scheduleRetry可能已有人在做 @moodbased 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复