Skip to content

feat(setValuesBulk): accept createMissing="sensitive" to create missing vars as sensitive#870

Open
Jarva wants to merge 1 commit into
dmno-dev:mainfrom
Jarva:main
Open

feat(setValuesBulk): accept createMissing="sensitive" to create missing vars as sensitive#870
Jarva wants to merge 1 commit into
dmno-dev:mainfrom
Jarva:main

Conversation

@Jarva

@Jarva Jarva commented Jul 8, 2026

Copy link
Copy Markdown

@setValuesBulk's createMissing option now accepts "sensitive" in addition to true/false. When set, keys created by the bulk source are marked sensitive regardless of @defaultSensitive, so their values are redacted in varlock load and other output instead of leaking as plain text.

@theoephraim

Copy link
Copy Markdown
Member

Oh smart. I wonder if it should actually just be the default since usually you’ll be loading from vaults meant to hold secrets. 🤔

@Jarva

Jarva commented Jul 8, 2026

Copy link
Copy Markdown
Author

I considered that too but as a third-party contributor I decided it was easier to implement an option than change the default.

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.

2 participants