Create dynamic configuration for database credentials