I am not aware of anyone working to allow credentials to be limited to an agent. I believe the same capabilities are available by assigning the credentials to folders and then limiting user access to specific folders. Choose a credential name that should be the same in several different folders, then define the credential with the value specific to the folder that is using it.
The test jobs would reside in a "Test-Folder" and refer to a credential named 'credential-2019-10-10'. In that folder, the value of the credential should be chosen so that it only allows access to things related to test. The development jobs would reside in a "Development-Folder" and refer to a credential named 'credential-2019-10-10'. In that folder, the value of the credential should be chosen so that it only allows access to things related to development. The jobs reference the same credential but since the credentials are defined inside the folder, they are only accessible to jobs in that folder (and below). On Wed, Oct 9, 2019 at 12:55 AM Pietro Giannini <panci...@gmail.com> wrote: > Hi! > > I just came across this post and realized this is exactly what we need. We > are heavily using pipelines at our agency and being able to restrict > credentials to a specific node would enable us to give total freedom the > developers while keeping control of the passwords at infra level. > > Is there any chance we could get this feature onboard? > > Br, > Pietro > > > > On Friday, September 20, 2019 at 3:07:27 PM UTC+2, Jhonny Oliveira wrote: >> >> Dear Mark, >> >> I understand your suggestion, however in such case you would have to >> create multiple jobs, whereas, as it is right now, I only need one. No >> parameters, no additional settings just the minimal configuration to pick >> up the changes, build, test and deploy. I even get for free all the >> statistics together. >> >> Nevertheless, I will try to come with an alternative solution. I believe >> your input may be valuable in there. >> >> Thank you very much, >> J Oliveira >> >> -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/25d0de20-d7c4-4336-8645-d6302768d2db%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/25d0de20-d7c4-4336-8645-d6302768d2db%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFkgNGtp5KeMTC5aKtSBcDB8QmHkypF1DzfeFj39Vg_Qw%40mail.gmail.com.