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

new lines in secret is substituted by spaces when reading via Vault plugin

XMLWordPrintable

      When I read secrets using Vault Plugin from both Freestyle and Pipeline jobs, if secrets contains new lines e.g. '\n'. it gets substituted to space characters.

       

      In actual contents in the secret:

      multi lines contents

      second lines

      In vault JSON:

      Unknown macro: {"key1"}

      when it's been read from Vault plugin to a job,

      "multi lines contents second lines"

       Please let me know if you need further detail.

       

      Thanks in advanced.

            jetersen Joseph Petersen
            saillinux Hee Won Kim
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: