class KeyUpdateCommand implements Callable<CliResult> {

    @Override
    public CliResult call() throws Exception {
        final EncryptorConfig encryptorConfig;

        if (Optional.ofNullable(config).map(Config::getEncryptor).isPresent()) {
            encryptorConfig = config.getEncryptor();
        } else {
            encryptorConfig = encryptorOptions.parseEncryptorConfig();
        }

        this.keyEncryptor = keyEncryptorFactory.create(encryptorConfig);

        return execute();
    }

      KeyUpdateCommand(KeyEncryptorFactory keyEncryptorFactory, PasswordReader passwordReader);

}