extract key to local config