by default, use first key pair from API if none specified