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

Mask Passwords Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have to run several jobs with the same password. of course I can add for each job the masked password but I would like to better have it centrally defined once.

      for me this would be Manage -> Configure System -> Global properties

      there I would like to define the password, masked, and use it thorough all jobs.

      is this somehow possible?

      (this is my first Issue, sorry if I am making mistakes, please give me advice)

        Attachments

          Activity

          Hide
          robsimon robsimon added a comment -

          If you could set it globally then everybody can use it for their own jobs without knowing it. Isn't it a bigger risk?

          Show
          robsimon robsimon added a comment - If you could set it globally then everybody can use it for their own jobs without knowing it. Isn't it a bigger risk?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: rseguy
          Path:
          LICENSE.txt
          README.md
          pom.xml
          src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper.java
          src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsConfig.java
          src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/global.jelly
          src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/global.properties
          src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/help-globalVarPasswordPairs.html
          src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/help.html
          http://jenkins-ci.org/commit/mask-passwords-plugin/f58d49c3554f647499da105b9ee2cb28ad98340a
          Log:
          [FIXED JENKINS-11399]

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rseguy Path: LICENSE.txt README.md pom.xml src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper.java src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsConfig.java src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/global.jelly src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/global.properties src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/help-globalVarPasswordPairs.html src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/help.html http://jenkins-ci.org/commit/mask-passwords-plugin/f58d49c3554f647499da105b9ee2cb28ad98340a Log: [FIXED JENKINS-11399]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: rseguy
          Path:
          LICENSE.txt
          README.md
          pom.xml
          src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper.java
          src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsConfig.java
          src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/global.jelly
          src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/global.properties
          src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/help-globalVarPasswordPairs.html
          src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/help.html
          http://jenkins-ci.org/commit/mask-passwords-plugin/f58d49c3554f647499da105b9ee2cb28ad98340a
          Log:
          [FIXED JENKINS-11399]

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rseguy Path: LICENSE.txt README.md pom.xml src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper.java src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsConfig.java src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/global.jelly src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/global.properties src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/help-globalVarPasswordPairs.html src/main/resources/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper/help.html http://jenkins-ci.org/commit/mask-passwords-plugin/f58d49c3554f647499da105b9ee2cb28ad98340a Log: [FIXED JENKINS-11399]
          Hide
          ekeko P Y added a comment -

          Thanks Romain for the fast update.
          About the security question from Robsimon: I think it is up to anyone to use it or not and b< using it only people with enough rights to create jobs could use it, if they now the alias. For me this enhancement is much easier and safier to use than storing the password in some file, non encrypted, at the robot.

          Show
          ekeko P Y added a comment - Thanks Romain for the fast update. About the security question from Robsimon: I think it is up to anyone to use it or not and b< using it only people with enough rights to create jobs could use it, if they now the alias. For me this enhancement is much easier and safier to use than storing the password in some file, non encrypted, at the robot.

            People

            • Assignee:
              rseguy Romain Seguy
              Reporter:
              ekeko P Y
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: