Skip to content

Add support for Sensitive data in registry_value#316

Open
buminks wants to merge 1 commit intopuppetlabs:mainfrom
buminks:main
Open

Add support for Sensitive data in registry_value#316
buminks wants to merge 1 commit intopuppetlabs:mainfrom
buminks:main

Conversation

@buminks
Copy link
Copy Markdown

@buminks buminks commented Sep 18, 2025

Summary

In the case, that you want to store a credential in registry, the credential is shown in clear text in log / puppetboard.
This change adds the support for Sensitive data in the registry module. So credentials are now shown in the log anymore.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@buminks buminks requested a review from a team as a code owner September 18, 2025 06:36
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 18, 2025

CLA assistant check
All committers have signed the CLA.

- Updated REFERENCE.md to include Sensitive[String] in the data type options.
- Enhanced registry_value provider to unwrap Sensitive values before processing.
- Modified registry_value type to handle Sensitive data during value munging.
- Updated value.pp documentation to demonstrate usage of Sensitive types.
- Added unit tests to verify support for Sensitive data across different types.
@span786
Copy link
Copy Markdown
Contributor

span786 commented Apr 16, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants