From b2376275e968645a7f3f1d476c5c52e9648e852a Mon Sep 17 00:00:00 2001 From: Rudd-O Date: Wed, 10 Jul 2019 04:39:29 +0000 Subject: [PATCH] Doc fixes. --- lookup_plugins/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lookup_plugins/README.md b/lookup_plugins/README.md index 9a81ed5..9da393d 100644 --- a/lookup_plugins/README.md +++ b/lookup_plugins/README.md @@ -39,3 +39,12 @@ fail if the password does not exist: ``` thepassword: '{{ lookup("qubes-pass", "loginpwds/John Smith", create=False) }}' ``` + +If the password you expect to fetch is multiline/binary, you can retrieve +it correctly like this: + +``` + thepassword: '{{ lookup("qubes-pass", "loginpwds/John Smith", multiline=True) | b64encode }}' +``` + +then later base64 decode it on target.