use api key from yaml