extract aws credentials