Skip to content

Do not reveal sensitive Data - #1597

Open
cocker-cc wants to merge 1 commit into
puppetlabs:mainfrom
cocker-cc:Sensitive_Data
Open

Do not reveal sensitive Data#1597
cocker-cc wants to merge 1 commit into
puppetlabs:mainfrom
cocker-cc:Sensitive_Data

Conversation

@cocker-cc

@cocker-cc cocker-cc commented May 10, 2024

Copy link
Copy Markdown
Contributor

Summary

auth_option may contain sensitive Data, f.e. LDAP-Password. So let auth_option accept Puppet-Type Sensitive. The consuming EPP is able to handle sensitive Data natively, and will return the rendered Template as Sensitive[String] then, which the Resource file also is able to handle.

Checklist

  • 🟢 pdk validate
  • 🟢 pdk test unit

bastelfreak
bastelfreak previously approved these changes May 10, 2024
deric
deric previously approved these changes May 13, 2024
smortex
smortex previously approved these changes May 13, 2024
@jst-cyr

jst-cyr commented Jul 27, 2026

Copy link
Copy Markdown
Member

@cocker-cc : I've added this PR to the list for engineering to review when they have capacity, but I'm noticing that the branch has conflicts that need resolving. Any chance you could update to the latest?

@jst-cyr

jst-cyr commented Aug 7, 2026

Copy link
Copy Markdown
Member

This needs #1691 in order for tests to work.

"auth_option" may contain sensitive Data, f.e. LDAP-Password.  So let
auth_option accept Puppet-Type Sensitive.  The consuming EPP is able to
handle sensitive Data natively, and will return the rendered Template as
Sensitive[String] then, which the Resource "file" also is able to handle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants