Skip to content

Commit

Permalink
post-feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcallister committed Sep 19, 2024
1 parent 2e1b61e commit 437109a
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions docs/pages/admin-guides/management/security/client-timeout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ auth_service:
```
This example configures a global client idle timeout of **15 minutes**. After 15 minutes of client inactivity, the session will be terminated.
### Per-role configuration (applies to specific users or groups)
You can also specify the timeout on a per-role basis, allowing different users or groups to have different timeout settings. For example, you might want a shorter timeout for higher-privileged roles.
```yaml
kind: role
version: v3
metadata:
name: admin-role
spec:
options:
client_idle_timeout: 10m
```
If you are a cloud customer, you will need to modify these settings using dynamic configuration.
Expand Down Expand Up @@ -81,5 +68,19 @@ You should then see the following output:
$ cluster auth preference has been created
```

### Per-role configuration (applies to specific users or groups)

You can also specify the timeout on a per-role basis, allowing different users or groups to have different timeout settings. For example, you might want a shorter timeout for higher-privileged roles.

```yaml
kind: role
version: v3
metadata:
name: admin-role
spec:
options:
client_idle_timeout: 10m
```

## Default behavior
If the `client_idle_timeout` is not set, sessions will not automatically close due to inactivity unless other timeout policies (like `disconnect_expired_cert`) are applied.

0 comments on commit 437109a

Please sign in to comment.