Skip to content

Please support 'pillar:' URIs as source #18406

@wwentland

Description

@wwentland

It is very common that one wants to distribute sensitive files to minions and not make that information available to all minions that are connected to the master. The only way to achieve that is to use something like:

foo:
  some_data: |
    some data
    that spans
    multiple lines

and to reference that via contents_pillar. It would be absolutely fantastic if salt would support pillar: as source and a direct mapping from those URIs to a standardised location on the filesystem (with configurable prefix, git pillar support, .... naturally). Access to the files would be controlled via a top file again and the content of the file simply becomes the value of the dictionary that is returned.

So, a location like PILLAR_FILE_ROOT/foo/bar/private_key could be accessed via pillar:///foo/bar/private_key.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Corerelates to code central or existential to SaltFeaturenew functionality including changes to functionality and code refactors, etc.P1Priority 1Pillarstale

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions