-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
It would be really nice if we could use the Vault tokens not just during the build process but also to get authentication tokens for the SCM stage. That way we would only have to provide jenkins with the ability to get tokens from Vault and can store all our other tokens in Vault which provides the ability to have tokens expire etc. etc.
- is related to
-
JENKINS-60440 Invalid git username/password on Jenkins agent when using Vault Username-Password Credential with '@' in username
-
- Open
-
[JENKINS-39374] Add ability to get SCM authentication tokens from Vault
Assignee | Original: Peter Tierno [ ptierno ] | New: Richard Vodden [ rvodden ] |
I really like this idea. I think you would need to implement a custom CredentialsProvider that reads the credentials from vault. The interesting question is where this CredentialsProvider would get his Token / AppRole Credentials from - and how this could be scoped to different Folders / Jobs.