Skip to content

Add ability to disable pillar masking globally - #69834

Closed
perfecto25 wants to merge 1 commit into
saltstack:masterfrom
perfecto25:masked-pillar-override
Closed

perfecto25 wants to merge 1 commit into
saltstack:masterfrom
perfecto25:masked-pillar-override

Conversation

@perfecto25

@perfecto25 perfecto25 commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

adds ability to disable pillar masking from minion config file

What issues does this PR fix or reference?

#69599

Previous Behavior

by default, salt masks all pillar returns to stdout and log unless passing unmask=true

ie default pillar return

salt devsaltmaster pillar.items
devsaltmaster:
    ----------
    accounts:
        - **********
        - **********
        - **********
    disabled_services:
        - **********
        - **********
        - **********

this breaks a lot of default behavior and workflows, especially if certain states use salt['pillar.get'] < this returns ***** asterisks and breaks formulas

New Behavior

by default, pillar return will be masked, but you can now globally override this in salt minion cfg file with

pillar_masking: False 

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

No

@perfecto25
perfecto25 requested a review from a team as a code owner July 20, 2026 16:03
@perfecto25 perfecto25 changed the title pillar-unmask pillar-unmask globally Jul 20, 2026
@perfecto25 perfecto25 changed the title pillar-unmask globally Add ability to disable pillar masking globally Jul 20, 2026
@perfecto25

Copy link
Copy Markdown
Contributor Author

This branch was previously deployed

1 inactive deployment
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.

1 participant