async getConfig() {
    const config = JSON.parse(JSON.stringify(global.kuzzle.config));

    // Already and more appropriately returned by server:info
    config.http.routes = undefined;

    // Not a good idea to export Kuzzle's salt, hash algorithm
    // and default rights
    config.security = undefined;

    if (config.VAULT_KEY) {
      config.VAULT_KEY = undefined;
    }

    return config;
  }
Returns the Kuzzle configuration

@returns {Promise<Object>}