most secure method to transmit an api key