From ddf6b13f18bfbee909896a4d652092466c29dedd Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 23:11:46 +0100 Subject: [PATCH] =?UTF-8?q?[PR=20#7721/1fdbb50a=20backport][stable-8]=20?= =?UTF-8?q?=F0=9F=94=90=20Load=20`OP=5FSERVICE=5FACCOUNT=5FTOKEN`=20from?= =?UTF-8?q?=20ENVs=20(#7757)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔐 Load `OP_SERVICE_ACCOUNT_TOKEN` from ENVs (#7721) * 🔐 Load `OP_SERVICE_ACCOUNT_TOKEN` from ENVs * 🚚 Move configuration to `doc_fragments` * 📝 Add `env` to documentation * Revert change Co-authored-by: Felix Fontein --------- Co-authored-by: Felix Fontein (cherry picked from commit 1fdbb50abbb8717c731bf1fc735980f372a9bf94) Co-authored-by: Dov Benyomin Sohacheski --- plugins/doc_fragments/onepassword.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/doc_fragments/onepassword.py b/plugins/doc_fragments/onepassword.py index 11bd6239a5..4035f81796 100644 --- a/plugins/doc_fragments/onepassword.py +++ b/plugins/doc_fragments/onepassword.py @@ -58,7 +58,11 @@ options: ''' LOOKUP = r''' -options: {} +options: + service_account_token: + env: + - name: OP_SERVICE_ACCOUNT_TOKEN + version_added: 8.2.0 notes: - This lookup will use an existing 1Password session if one exists. If not, and you have already performed an initial sign in (meaning C(~/.op/config), C(~/.config/op/config) or C(~/.config/.op/config) exists), then only the