Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Add instructions for storing auth info elsewhere? #1

Open
JonathanReeve opened this issue Apr 30, 2017 · 2 comments
Open

Add instructions for storing auth info elsewhere? #1

JonathanReeve opened this issue Apr 30, 2017 · 2 comments

Comments

@JonathanReeve
Copy link

I keep my ~/.spacemacs file, along with my other dotfiles, on GitHub. I'd prefer not to sign up as a Google developer and then share that secret with the world. As an emacs novice, I don't know how to have emacs source this info from an external file. Could you add instructions for how to do that?

@jeromegrosse
Copy link

jeromegrosse commented Mar 26, 2018

I am in no way familiar with best practices but I've been using password store for quite some time. It is compatible with spacemacs using the password-store layer (add it dotspacemacs-additional-packages).

Then you can simply invoke it in your configuration. For google-calendar-layer, you can use something like:

    (setq org-gcal-client-id (password-store-get "secrets/org-gcal-client-id")
          org-gcal-client-secret (password-store-get "secrets/org-gcal-client-secret"))

@wminshew
Copy link

wminshew commented Jun 4, 2020

found some instructions here for using authinfo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants