Skip to content

Conversation

@dabelenda
Copy link
Contributor

Pull Request (PR) description

Currently only rootpw can be assigned as Sensitive, but in some cases one might want to keep the username (DN) out of the PuppetDB and the logs.

In our case, we use a secret lookup function that automatically wraps the data into a Sensitive type, and we store the DN and password together.

This Pull Request (PR) fixes the following issues

Not reported as an issue.

Currently only rootpw can be assigned as Sensitive, but in some cases one might want to keep the username (DN) out of the PuppetDB and the logs.

In our case, we use a secret lookup function that automatically wraps the data into a Sensitive type, and we store the DN and password together.
@dabelenda
Copy link
Contributor Author

A very basic spec test has been added. I am unsure if it is useful, maybe adding an acceptance test would be better?

@dabelenda
Copy link
Contributor Author

@bastelfreak I ping you here since you commented on my previous PR that I closed due to issues with my setup.

@bastelfreak bastelfreak added the enhancement New feature or request label May 9, 2025
@bastelfreak bastelfreak merged commit 628a5d1 into voxpupuli:master May 9, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants