Add support for db credential