From 1fdbb50abbb8717c731bf1fc735980f372a9bf94 Mon Sep 17 00:00:00 2001 From: Dov Benyomin Sohacheski Date: Thu, 21 Dec 2023 14:09:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=90=20Load=20`OP=5FSERVICE=5FACCOUNT?= =?UTF-8?q?=5FTOKEN`=20from=20ENVs=20(#7721)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🔐 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 --- 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