expires_at is required by gitlab ~16.3
还没有人认领这个 Issue。
评估
调研方向
Start with the README example for vault write gitlab/token and trace the implementation of the GitLab project access-token request at POST /projects/1/access_tokens. Confirm how the request handles GitLab's required expires_at field, then reproduce the command against a GitLab 16.3-or-newer instance; done means token creation no longer fails because expires_at is missing.
由索引模型根据 Issue 内容生成。
描述
Hi, I'm testing this plugin which would be very useful for an instance-scoped external CI pipeline. But when I tried the examples in the README this error appears:
vault write gitlab/token id=1 name=ci-token scopes=api,write_repository
Error writing data to gitlab/token: Error making API request.
URL: PUT https://<vault host>/v1/gitlab/token
Code: 400. Errors:
* Failed to create a token - POST https://<gitlab host>/api/v4/projects/1/access_tokens: 400 {error: expires_at is missing}
Apparently Gitlab is changing the policy wrt expires_at, and now it's being required.
https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/issues/4133
Could you please include this in the requests?
- 主要语言
- Go
- 星标
- 63
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
splunk/vault-plugin-secrets-gitlab 的其他 Issue
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 42/100
splunk/vault-plugin-secrets-gitlab#117 · 1 个 reaction ·
-
support for group level access token可能已有人在做 @M0roSan 于 1701 天前认领。 未关闭enhancement
难度 3/5 1-2 天 新手友好度 35/100
splunk/vault-plugin-secrets-gitlab#36 · 6 条评论 · 1 个 reaction ·
-
documentation help wanted
难度 4/5 3-5 天 新手友好度 45/100
查看 splunk/vault-plugin-secrets-gitlab 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Applications at the repository root are not triggered by new commits可能已有人在做 @Daksha1611 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 2 天内回复
-
docker-compose: postgres healthcheck should probe TCP (pg_isready -h localhost)可能已有人在做 @zezo-mohamed22 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
OneBusAway/watchdog#305 · 1 条评论 ·
维护者通常 1 天内回复
-
self-care self-care:agent-discoverability
难度 2/5 1-3 小时 新手友好度 62/100
githubnext/gh-cao#20928 ·
维护者通常 1 天内回复
-
automation documentation
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 1 天内回复