To the best of my knowledge, it's currently impossible to identify which profile stored in ~/.aws/credentials to use with iamy. I'll recommend to include profile as pull and push sub parameter to support AWS CLI --profile.