trim api key