api key migrations and supporting files