Replace deprecated parameter "type" with "exchange_type" for exchange_declare
Read credentials from data bags