Extract api keys to config yaml