Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64096

To automatically update the credentials in credentials manager in jenkins from windows

      Whenever I store the credentials in global credential in manage Jenkins, some of my credentials get updated every 2 months. So automatic update of the credentials could be much easier so that we don't have to again and again add the credentials.

          [JENKINS-64096] To automatically update the credentials in credentials manager in jenkins from windows

          Ramesh Reddy added a comment -

          Hi You got solution for above requirement?

          Ramesh Reddy added a comment - Hi You got solution for above requirement?

          Do you mean "Control Panel\User Accounts\Credential Manager"?

          Windows provides functions like CredFindBestCredentialW APIs for loading credentials from there, so if you run the Jenkins controller on the same computer and using the same user account that defined the credentials, then a plugin could be implemented to let Jenkins use the credentials stored by Windows.

          However, I expect that typical setups run the Jenkins controller on a separate server and with a separate user account. In that case, the Jenkins controller would not be able to directly access the credentials that you stored in your Windows user account. Instead, you'd need a client-side program that reads the credentials from Windows and then sends them to the Jenkins controller.

          Kalle Niemitalo added a comment - Do you mean "Control Panel\User Accounts\Credential Manager"? Windows provides functions like CredFindBestCredentialW APIs for loading credentials from there, so if you run the Jenkins controller on the same computer and using the same user account that defined the credentials, then a plugin could be implemented to let Jenkins use the credentials stored by Windows. However, I expect that typical setups run the Jenkins controller on a separate server and with a separate user account. In that case, the Jenkins controller would not be able to directly access the credentials that you stored in your Windows user account. Instead, you'd need a client-side program that reads the credentials from Windows and then sends them to the Jenkins controller.

            Unassigned Unassigned
            monika_mohanraj MONIKA MOHANRAJ
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: