api key from resource todo