Add encryption to key configs