title: Need to Mask the sensitive information in jenkins
body: <p>I have a scenario where when we run Jenkins build we download the sensitive data from the s3 bucket and the information we download is being set as environment variables. But downloaded information is being spat out and I need to mask the whole stage! is there any way to mask the whole stage?</p>
  
  <p>I tried looking into mask passwords plugin(<a href="https://wiki.jenkins.io/display/JENKINS/Mask+Passwords+Plugin" rel="nofollow noreferrer">https://wiki.jenkins.io/display/JENKINS/Mask+Passwords+Plugin</a>) of Jenkins but was not able to get a point. </p>
  
  <pre><code>stage('create secrets') {
      steps {
          script {
              def propMap = readProperties file: "environments/test/envs"
              def properties = propMap.collect { key, value -&gt; return key + '=' + value }
  
              if (testenv()) {
                  withAWS([role: "${propMap['ASSUME_ROLE_ARN']}", region: "${propMap['REGION']}"]) {
                      withEnv(properties) {
                          sh '''
                             aws s3 cp s3://${test-BUCKET}/ssl-certs/ . --recursive
                             export SSL_KEY="$(cat ./server.key | base64 -w 0) "
                             export SSL_CERT="$(cat ./server.cert | base64 -w 0)"
                             export SQL_ALCH="$(echo -n $SQL_ALCH | base64 -w 0)"
                             export SUPER_USER_GROUP="$(echo -n $SUPER_USER_GROUP | base64 -w 0)"
  
                          '''
                      }
                  }
              }
  </code></pre>
  
  <p>When I run Jenkins with the above stage it will show the sensitive information of the user group and everything else in the console output need to mask the whole information.</p>