Writing own Credential Store - Need help

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Writing own Credential Store - Need help

Dinesh Reddy
Hi Forum,

I have been working on the following use case from last few days. But I don't see any help on the net about creating Credential Store.

1. Define a new credential Store.
2. Create and Store the secured credentials in this store.
3. Give the use only (no view from UI) access to this credential store. Rest of the permissions should not be given anyone, except the Jenkins admin.

I have tried creating my own credentials provider class with the credential store, usefacing actions, just like the SystemCredentialProvider, but I don't see the new class gets loaded into jenkins at all.

Can any one give me some pointers to move forward with this?

Thank you in advance.

Regards
Dinesh

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/59fa2352-8730-4468-b50e-249a2b37dc49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Writing own Credential Store - Need help

Jesse Glick-4
On Mon, Feb 4, 2019 at 9:52 AM Dinesh Reddy <[hidden email]> wrote:
> I don't see any help on the net about creating Credential Store.

Probably because, other than the implementations built in to the
`credentials` plugin, there is only one known general OSS example: for
Kubernetes┬╣. It is not a common enough task for there to be routine
guidelines, and your particular use case (to the extent I understand
it) may be the first of its kind, and might not even be possible given
the current APIs, depending on the details.

┬╣See: https://github.com/jenkinsci/kubernetes-credentials-provider-plugin/blob/64411b06ab2db9f3fc768eaaa76a515d16dde081/src/main/java/com/cloudbees/jenkins/plugins/kubernetes_credentials_provider/KubernetesCredentialProvider.java#L60

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3jFS5gaVyLxVN9AkPcY%3DpAaO1BbAH2GM4mN%3D64Tajgxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.