vault-plugin-secrets-gitlab
vault-plugin-secrets-gitlab copied to clipboard
support for group level access token
14.7 added support for group level access token https://about.gitlab.com/releases/2022/01/22/gitlab-14-7-released/#group-access-tokens
we want to support this in this plugin.
depending on https://github.com/xanzy/go-gitlab/issues/1347
I'm making this as minor version update (feature addition) for this change. I'm adding a new parameter token_type
in BaseTokenStorage with project
or group
and it'll change API call based on type field even though id
field is unique amongst project and groups (confirmed with GitLab support).
there's no other significant changes. To note, group type will work with instance level (and/or group level) token which can create group access token
hello grettings colleagues, can I do something to help here? I really wanna use this feature
@M0roSan anything i can do to help mate?
@EvertonSA I currently don't have time to refine or don't have access to any gitlab instances with right license. You are more than welcome to test the existing MRs and add if needed
hi @M0roSan I have tested and I confirm it works. There might be many errors handling to be implemented but unfortunately, I don't have golang experience to help on this feature.
Also, we will find a different approach to our problem at the moment. Thanks a lot for this feature, it helped us to brainstorm possible solutions to our problem.
You can try this one https://github.com/ilijamt/vault-plugin-secrets-gitlab it supports all 3 access tokens. Personal, Project and Group tokens.