Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read API token using auth-source #32

Open
dholm opened this issue Jul 12, 2019 · 1 comment
Open

Read API token using auth-source #32

dholm opened this issue Jul 12, 2019 · 1 comment

Comments

@dholm
Copy link

dholm commented Jul 12, 2019

Would it be possible for jenkins to use auth-source to get the API token so that it can be stored encrypted instead of in plaintext in the Emacs configuration?

@akoppela
Copy link

That's what I have in my emacs config.

(setq jenkins-url "...")
(setq jenkins-api-token (auth-source-pick-first-password :host "..."))
(setq jenkins-username "...")

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

No branches or pull requests

2 participants