adding support for aws credential lookup from metadata api