Transforms for api key