Skip to content

Commit 060185d

Browse files
committed
add documentation for ssl
1 parent b2a2251 commit 060185d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ issue [#501](https://github.com/felixge/node-mysql/issues/501). (Default: `'fals
167167
with this, it exposes you to SQL injection attacks. (Default: `false`)
168168
* `flags`: List of connection flags to use other than the default ones. It is
169169
also possible to blacklist default ones. For more information, check [Connection Flags](#connection-flags).
170+
* `ssl`: object with ssl parameters ( same format as [crypto.createCredentials](http://nodejs.org/api/crypto.html#crypto_crypto_createcredentials_details) argument )
171+
or a string containing name of ssl profile. Currently only 'Amazon RDS' profile is bundled, containing CA from https://rds.amazonaws.com/doc/rds-ssl-ca-cert.pem
172+
170173

171174
In addition to passing these options as an object, you can also use a url
172175
string. For example:

0 commit comments

Comments
 (0)