Status: Resolved (View Workflow)
Rather than configuring each build with an API key and secret, we should be able to globally configure a key and secret as a credential in Jenkins. This should be used by default for every build, with the option to override under an 'Advanced' button.
In Access Control Security Realm, you choose Active Directory and input values with subdomain.domain1.com,subdomain.domain2.com. In this case, API token is not working, but cleartext password seems to be working.
Hi sagay_d sorry but I'm testing the plugin with a clean jenkins installation and I can't find any section in the jenkins configuration or credentials where appears something like "Access Control Security Realm" or "Active Directory". I guess that is because you have some additional plugins installed.
I will set this issue as resolved as the basic credential management is supported and already merged to be released in the next plugin version. So I'd wait until the next release, test it again with the new plugin version and in case the problem is still persisting please create a new issue and provide more information about your setup like jenkins version, plugins involved...
Thank you very much for your colaboration
Yes we had to install Active Directory plugin. Enable Security. In the security database, we have different options to choose from including Jenkins Own Database and Active Directory. When we have choosen Active Directory and the value is single domain lik domainname.com, the API calls via scripted clients like wget http://jenkins.domain.com/api/xml. it is working good. However when we two+ domains in the domain field of Active Directory, the API token is not recognized in the scripted client calls. Reponds with authentication failure
If this belongs to different section, can you please create a ticket and track it
Global OAuth credentials are working great for me. Thank you for a great easy to use plugin!
Code changed in jenkins
User: Antonio Mansilla
Merge pull request #12 from Flagbit/add-credentials-management
JENKINS-32574Add credentials management