Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
PUP 5.5.2
-
None
Description
Description: When I use the sensitive data type I expect it to be treated as sensitive when used in templates. However it is not.
Steps to reproduce: I've created a small module / repro case here: https://github.com/suckatrash/sensitive Just apply the class "sensitive"
Actual Results:
If I declare the class "sensitive" it will create two test files /test1 and /test2.
If I make any changes in the files and run puppet again, I'll see:
+This string should be redacted: 'this is sensitive'
|
in the output of the puppet run and in the report.
If I don't unwrap the sensitive parameter and use the commented line in one of the templates I'll see this:
+This string should be redacted: 'Sensitive [value redacted]'
|
Which is great, but that text ends up in the file as well.
Expected Results: I expect Puppet to output the '[value redacted]' string in reports and stdout, but I expect the cleartext string to be in the file on the system.
Attachments
Issue Links
- relates to
-
PUP-10092 Support concatenating sensitive values
-
- Closed
-