adding support for fetching credentials from IAM metadata