add_credentials function

Add credentials override for the right datasources