mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +00:00
Fix isues 12397 (#12484)
This commit is contained in:
@@ -188,8 +188,11 @@ $ curl \
|
||||
|
||||
```json
|
||||
{
|
||||
"default_lease_ttl": 3600,
|
||||
"max_lease_ttl": 7200
|
||||
"default_lease_ttl": 2764800,
|
||||
"description": "",
|
||||
"force_no_cache": false,
|
||||
"max_lease_ttl": 2764800,
|
||||
"token_type": "default-service"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -14,17 +14,33 @@ enabled, not the TYPE!**
|
||||
|
||||
## Examples
|
||||
|
||||
Tune the default lease for the auth method enabled at "github/":
|
||||
Before tuning the auth method configuration, view the current configuration of the
|
||||
auth method enabled at "github/".
|
||||
|
||||
```shell-session
|
||||
$ vault read sys/auth/github/tune
|
||||
Key Value
|
||||
--- -----
|
||||
default_lease_ttl 768h
|
||||
description n/a
|
||||
force_no_cache false
|
||||
max_lease_ttl 768h
|
||||
token_type default-service
|
||||
```
|
||||
|
||||
The default lease for the auth method enabled at "github/" is currently set to
|
||||
768 hours. Tune this value to 72 hours.
|
||||
|
||||
```shell-session
|
||||
$ vault auth tune -default-lease-ttl=72h github/
|
||||
Success! Tuned the auth method at: github/
|
||||
```
|
||||
|
||||
Specify multiple audit non-hmac request keys:
|
||||
You can specify multiple audit non-hmac request keys.
|
||||
|
||||
```shell-session
|
||||
$ vault auth tune -audit-non-hmac-request-keys=value1 -audit-non-hmac-request-keys=value2 github/
|
||||
Success! Tuned the auth method at: github/
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Reference in New Issue
Block a user