API Token vs API Key (Legacy API)

Hi there,

I currently have an Ionic 2 app, with a file “.io-config.json” using “api_key” of my Ionic.io app. Should I be using API token instead? How should I update my “.io-config.json” file?

Also, what is the purpose of the API Key in the “.io-confi.json”? Is it used to generate push tokens when we register using Ionic.Push?

Thanks.

My system information:

Cordova CLI: 6.0.0
Ionic Framework Version: 2.0.0-beta.9
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.5
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.3.0
Xcode version: Xcode 7.3.1 Build version 7D1014