Add global config for cipher and key