Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion salt/renderers/gpg.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@

#!yaml|gpg

a-secret: |
a_secret: |
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1

Expand All @@ -203,6 +203,17 @@
skqmFTbOiA===Eqsm
-----END PGP MESSAGE-----

If you need to use this value in a decrypted state within another pillar file you can do so as follows:

.. code-block:: text

#!jinja|yaml|gpg

{% import_yaml "hidden_secret.sls" as hidden_secret %}

foo:
bar: {{ hidden_secret.a_secret }}

.. _encrypted-cli-pillar-data:

Encrypted CLI Pillar Data
Expand Down