get ec2 creds in a different way