-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Using SSL to encrypt connections to MYSQL #439
Conversation
I think the right label would be storage/mysql After looking at other hashicorp project I think the param should be called |
@vivienschilis Yes that would be a better name |
) | ||
|
||
var ( | ||
tlsKey = "custom" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a commend to what this is? Also it is better as a const
with a prefix like mysqlTLSKey
since otherwise it could collide in the physical
package
9f086a6
to
35db9be
Compare
@armon Let me know if you wish more tweaks on that PR. |
@vivienschilis Can you add documentation for the |
df12140
to
de2218d
Compare
@armon 👍 |
Using SSL to encrypt connections to MYSQL
Thanks! |
Allow to specify a certificate params "sslca" to encrypt the connections.
Taken from sql-driver documentation: https://github.com/go-sql-driver/mysql#tls
Don't hesitate to comment on the naming "sslca", I followed ActiveRecord's naming.
Cheers,
Vivien