read api key from stdin