apikey methode zu private static