[role="xpack"] [[spaces-settings-kb]] === Spaces settings in {kib} ++++ Spaces settings ++++ By default, Spaces is enabled in Kibana, and you can secure Spaces using roles when Security is enabled. [float] [[spaces-settings]] ==== Spaces settings [cols="2*<"] |=== | `xpack.spaces.enabled` | Set to `true` (default) to enable Spaces in {kib}. This setting is deprecated. Starting in 8.0, it will not be possible to disable this plugin. | `xpack.spaces.maxSpaces` | The maximum amount of Spaces that can be used with this instance of {kib}. Some operations in {kib} return all spaces using a single `_search` from {es}, so this must be set lower than the `index.max_result_window` in {es}. Defaults to `1000`. |===