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

Inconsistent Environment Variable Docs #121

Closed
bensont1 opened this issue Sep 28, 2018 · 5 comments · Fixed by #124
Closed

Inconsistent Environment Variable Docs #121

bensont1 opened this issue Sep 28, 2018 · 5 comments · Fixed by #124

Comments

@bensont1
Copy link

For consistency, should be HTTP_TLS_CERT_PATH and HTTP_TLS_KEY_PATH

certString, keyString := viper.GetString("HTTP_TLS_CERT"), viper.GetString("HTTP_TLS_KEY") certPath, keyPath := viper.GetString("HTTP_TLS_CERT_PATH"), viper.GetString("HTTP_TLS_KEY_PATH")

- HTTPS_TLS_CERT_PATH: The path to the TLS certificate (pem encoded).

@aeneasr
Copy link
Member

aeneasr commented Oct 6, 2018

I'm confused, isn't that the case already?

@aeneasr
Copy link
Member

aeneasr commented Oct 6, 2018

Oh, it's HTTP and HTTPS, thanks!

@bensont1
Copy link
Author

bensont1 commented Oct 6, 2018

@aeneasr Sorry I should have been more clear, the docs in helper_messages.go shows the Environment variable as HTTPS_TLS_CERT_PATH but the code uses HTTP_TLS_CERT_PATH. Since I was looking at only the docs initially, took me a little while to figure out why it wasn't using the certs. Just wanted to make sure other people who look at the docs don't go in a circle figuring it out :)

@fredbi
Copy link
Contributor

fredbi commented Oct 11, 2018

To be consistent with hydra, I am going to move them all to HTTPS.
I let live the same inconsistent setup in keto.
ok to make this all HTTTPS_xxx like with hydra?

@bensont1
Copy link
Author

bensont1 commented Oct 11, 2018 via email

aeneasr pushed a commit that referenced this issue Oct 11, 2018
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

Successfully merging a pull request may close this issue.

3 participants