Fix isues 12397 (#12484)

This commit is contained in:
Yoko Hyakuna
2021-09-02 17:03:55 -07:00
committed by GitHub
parent 3009b50cdc
commit 6da086843b
2 changed files with 23 additions and 4 deletions

View File

@@ -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"
}
```

View File

@@ -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