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

Can't set SSH private key through environment variable #1

Open
jeffbr13 opened this issue Jun 23, 2017 · 2 comments
Open

Can't set SSH private key through environment variable #1

jeffbr13 opened this issue Jun 23, 2017 · 2 comments
Assignees

Comments

@jeffbr13
Copy link

jeffbr13 commented Jun 23, 2017

The only supported GitHub authentication method is via username/password or personal token, which isn't ideal - I don't want Wiki.js to have full access to every repository in my account, and I don't want my personal credentials available to everyone with access to the Heroku app's settings.

It'd be better to be able to set the SSH private key as an environment variable, so I can give Wiki.js a specific deploy key.

@NGPixel NGPixel self-assigned this Jun 23, 2017
@grugknuckle
Copy link

I'd like to second this. I use bitbucket cloud as my git provider and they don't even support PAT's. Furthermore, the wiki.js docs here say that the git.auth.privateKey value should be

(ssh only) The full path to the private key (.pem) to use when authenticating with your Git repository

but yeah ... I don't want to commit my private key to the repo either.

@koxon
Copy link

koxon commented Jul 8, 2019

So there is no way to install the SSH key on the Heroku environment ?

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

No branches or pull requests

4 participants