File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/__pycache__/nacl.cpython-310.pyc
o
�N�g� � @ s$ d Z ddlZdZdd� Zdd� ZdS )a}
Decrypt pillar data through the builtin NACL renderer
In most cases, you'll want to make this the last external pillar used. For
example, to pair with the builtin stack pillar you could do something like
this:
.. code:: yaml
nacl.config:
keyfile: /root/.nacl
ext_pillar:
- stack: /path/to/stack.cfg
- nacl: {}
Set ``nacl.config`` in your config.
� N�naclc C s t d du rdS tS )NZ fips_modeT)Fz+nacl pillar data not available in FIPS mode)�__opts__�__virtualname__� r r �D/opt/saltstack/salt/lib/python3.10/site-packages/salt/pillar/nacl.py�__virtual__ s r c O s t j�tt��d�}||�S )Nr )�salt�loaderZrenderr Z__salt__�get)Z minion_idZpillar�args�kwargsZrender_functionr r r �
ext_pillar s r
)�__doc__r r r r
r r r r �<module> s