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

Provide a way for programmatic account creation with a hashed password

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      I am looking into using the Jenkins Configuration as Code plugin (https://jenkins.io/projects/jcasc/) for managing accounts.

       

      However, in its current implementation, the only way to use it with a static list of usernames is by storing the passwords as plain text on disk. This is because it employs the createAccount API method:

       

      https://github.com/jenkinsci/jenkins/blob/3b8258fd0c653854e1708f6c492d6dd1f060ee42/core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java#L501

       

      I would like to augment this functionality so that you can create an account with a pre-hashed password such that plain text passwords do not get stored to disk.

            mikeglazer Mike Glazer
            mikeglazer Mike Glazer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: