Standardize some parameters in ec2_key