How to use pillar maps as environments

Example of how to use a pillar map as an environment for a command.