using local adapter for api keys