Use the config to store the key