From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wJFoCaBZf2F1vwAAgWs5BA (envelope-from ) for ; Mon, 01 Nov 2021 04:06:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WEEvBaBZf2FZZAAA1q6Kng (envelope-from ) for ; Mon, 01 Nov 2021 03:06:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BDD2D3468D for ; Mon, 1 Nov 2021 04:06:06 +0100 (CET) Received: from localhost ([::1]:45566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhNe8-0008Ja-Fd for larch@yhetil.org; Sun, 31 Oct 2021 23:06:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhNdh-0008JC-92 for emacs-orgmode@gnu.org; Sun, 31 Oct 2021 23:05:37 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:39875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhNdf-0004FP-Gm for emacs-orgmode@gnu.org; Sun, 31 Oct 2021 23:05:36 -0400 Received: by mail-pg1-x531.google.com with SMTP id g184so15960423pgc.6 for ; Sun, 31 Oct 2021 20:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=qrbkLMCqmaL9XTj5SDJH0naG6FYySM3FQyBSz2vvfe0=; b=kpTQRJ1N6jkW6D/d3ZbELOjVpt9CRwpsv7Y9ftXfi8raTRVD7NgsbjS6X9T6vspg3n 25r12VRuM65MRJzQbqt3GFm4L5QQNeaYsQ+95PiPJa6w2qxDk+6s06DQ/QXtDpPBeWhm rP+wBBshVtDgSu5Vh8DzhWWa4/nUKBd4C0rbAmemG5duvhM7zB7ZLY1+Lsa9AOJVkfCo E6lhqrLeWnQYKFB1XDFAqwEetC+PlElB/SQeXBhQ1ed6vEMnpZUUq+sneAfEnFQ7Sy0q 0TpNXUnqL2jN8pFD3mKWkMA0B2bJmdsFfSzgsnNII1ArrP6MWKvVk9Tcd4jctyiM9uO5 vgBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=qrbkLMCqmaL9XTj5SDJH0naG6FYySM3FQyBSz2vvfe0=; b=t4zM+8MhLEmxybiT4dK/cQZfgnwPmz1kMAgBjjJyGMSA/WbNgom7yWCmBQENfJeZwI OnGxqCSGlSohtjG36VpCWPzS59CX6GV8Br1/cX/pw0rln5wSkX9dbrISnkHQTOGsSXrf vmb+5S9kItASpYO7mIjBsrKHGr3/ZHbb7sre3aSHYovLBrjJdCk58mJt8IPXXcpOabkn Uh/2xc4b5EnNEPuQ/Oonq5SEhva5fNABe5Lf1bUDknb/+hqKt0eXLuYS29cTlLvscMcF gUWi6YHMrC0K4+dfv1fHoq5YUsMDkAC/2ROgDTjhNpCCLZUGUWyZLgNGxXSKgW3hS6BL 9T3w== X-Gm-Message-State: AOAM532V/OxBsf7KXM55d2P2OVTkQLmxKJ+XKPgw+lKC62yGTKUZzXcb ezi0v8mEyK2+sAPUuQGFUzqpl2hDYzY= X-Google-Smtp-Source: ABdhPJztr/YjJ1gnvcYaJJftA9elAigduUOQH9lTzCtdtK8CNliR7p/W3E2MvYsllUXw/WS7fEcptg== X-Received: by 2002:a63:d654:: with SMTP id d20mr19881564pgj.122.1635735932889; Sun, 31 Oct 2021 20:05:32 -0700 (PDT) Received: from [192.168.1.233] (125-238-170-116-vdsl.sparkbb.co.nz. [125.238.170.116]) by smtp.gmail.com with ESMTPSA id i7sm11348398pgk.85.2021.10.31.20.05.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Oct 2021 20:05:32 -0700 (PDT) To: emacs-orgmode@gnu.org From: Mike Gauland Subject: Storing database credentials outside an org file Message-ID: Date: Mon, 1 Nov 2021 16:05:28 +1300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=mikelygee@gmail.com; helo=mail-pg1-x531.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635735967; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qrbkLMCqmaL9XTj5SDJH0naG6FYySM3FQyBSz2vvfe0=; b=dZmy/V1XyzB/D04gVZu5fo2Forjz9icOia9arm3pwGmHX3bxMlfAt57hj8UFTb2faGLFRD 0EDV/RLf/SvrhM70eKOkMCxL9eethoJQGfy5PUEmVuNLtvutabsUASOiyg5eVvRlmV+zcn yDy7hY92PkO49vhM1DlET/mZZ1n5e5t42o5R8RSpo1+zKsGmWrxtEpgWbOkxNp3xbhVkzI AvUncpbtyH2W8qkW7bLCsXI0vn5kxSSpS8jxyZRt1CMuPVEKGaNF+paiQtwQ3LvX7gz7xS huB3PtWJK7iuowMsHYQBTrVSCISPTWG6TkW7k7wSJK3fUEIcQLDcjmxkZH9lzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635735967; a=rsa-sha256; cv=none; b=ecn1iWgEmqeSpkLx9nVCiPdJH08w4bibvq+AtZWRwXbJ24hdF9wS4winvHfUYyU3jHINfA QIcW+r6Ujx1k3eJf9U3QsrfDXbFaBL8Bv0Hl4rdT4423FQpJEaa2wIaI6BFbr8M4dfUeBL P2RfxsDg94PLhp1uZ7dPW475/FzX7wyx4FXGdPKRhvfLDOkfkLeqxsEsQ55ffrLlsDNu4f pk4YYtpgKDQ+z8LiHTYwu96akSSvzGcy0ULmdYTDW6Xfz3Ssf0ccbEU8nX2dqGvduOW/AO s1GNfarB5DRk0WdKIACqZSh1IY89CPj/XUPapNc50CKzKN5YNb6ifkeTHdCqWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=kpTQRJ1N; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=kpTQRJ1N; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: BDD2D3468D X-Spam-Score: -1.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: xZ/D2RDhIBiZ I often use an org file to record database queries, using sql source blocks. I've been putting the database credentials in the file using header-args:sql properties, but I'd prefer to have the credentials saved in a separate file for security reasons. Any ideas on how I could make this work?