Api key migration

@adamggg 
please approve my migration