Jean-Christophe, I would say using the Plain Credential Plugin if you only need a "secured" field for the vault. What is the issue with it? Maybe it is possible to improvement it?
Best regards. Le lun. 14 déc. 2015 à 15:13, jcsirot <[email protected]> a écrit : > Hello, > > I am working on the integration of the ansible vault feature (i.e. > password protected configuration files) in the ansible plugin. I want to > give the possibility to select the password from the credential plugin > dropdown box. So I see 3 possibilities to do that : > > 1. Use the SSHUserPassword from the SSH Credential plugin. The username is > then ignored. It works but I find this solution ugly. > > 2. Depend on a plugin which provides a password-only credential provider. > For instance the Plain Credential plugin. But I think this provides a poor > user experience. > > 3. Implement a dedicated credential provider in the Ansible plugin. This > is probably the best solution regarding the user experience but it > duplicates some code. > > Is there any solution I missed or is there some good practices to follow > here. > > Thanks in advance for your feedback. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/524089f5-4005-4720-af20-9c7b0580e61f%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/524089f5-4005-4720-af20-9c7b0580e61f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAKwJSvzzhsTJRJz0SNt0gz0bHy_xamkdSsLLxYKaSHLVOiHhsA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
