pass config to connection pool
Merge pull request #2 from sharathprabhal/support-key

pass config to connection pool