@@ -56,16 +56,31 @@ xpack.security.encryptionKey: "something_at_least_32_characters"
5656For more information, see <<security-settings-kb,Security Settings in {kib}>>.
5757--
5858
59- . Optional: Change the default session duration . By default, sessions stay
60- active until the browser is closed. To change the duration , set the
61- `xpack.security.sessionTimeout ` property in the `kibana.yml` configuration file.
62- The timeout is specified in milliseconds. For example, set the timeout to 600000
63- to expire sessions after 10 minutes:
59+ . Optional: Set a timeout to expire idle sessions . By default, a session stays
60+ active until the browser is closed. To define a sliding session expiration , set
61+ the `xpack.security.session.idleTimeout ` property in the `kibana.yml`
62+ configuration file. The idle timeout is specified in milliseconds. For example,
63+ set the idle timeout to 600000 to expire idle sessions after 10 minutes:
6464+
6565--
6666[source,yaml]
6767--------------------------------------------------------------------------------
68- xpack.security.sessionTimeout: 600000
68+ xpack.security.session.idleTimeout: 600000
69+ --------------------------------------------------------------------------------
70+ --
71+
72+ . Optional: Change the maximum session duration or "lifespan" -- also known as
73+ the "absolute timeout". By default, a session stays active until the browser is
74+ closed. If an idle timeout is defined, a session can still be extended
75+ indefinitely. To define a maximum session lifespan, set the
76+ `xpack.security.session.lifespan` property in the `kibana.yml` configuration
77+ file. The lifespan is specified in milliseconds. For example, set the lifespan
78+ to 28800000 to expire sessions after 8 hours:
79+ +
80+ --
81+ [source,yaml]
82+ --------------------------------------------------------------------------------
83+ xpack.security.session.lifespan: 28800000
6984--------------------------------------------------------------------------------
7085--
7186
0 commit comments