summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc/secrets.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/etc/secrets.el')
-rw-r--r--.emacs.d/etc/secrets.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/etc/secrets.el b/.emacs.d/etc/secrets.el
new file mode 100644
index 0000000..e881fb0
--- /dev/null
+++ b/.emacs.d/etc/secrets.el
@@ -0,0 +1,10 @@
+(eval-when-compile (require 'auth-source))
+(defvar uw-apv-client-id (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :client-id)))
+(defvar uw-apv-client-secret (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :client-secret)))
+(defvar uw-apv-token (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :token)))
+(defvar watform-client-id (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :client-id)))
+(defvar watform-client-secret (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :client-secret)))
+(defvar watform-token (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :token)))
+
+(defvar canlock-password (eval-when-compile (funcall (plist-get (car (auth-source-search :host "gnus-canlock-password" :max 1)) :secret))))
+