mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Add "auth tune" command documentation
This commit is contained in:
parent
eeefe935b1
commit
9c9e3a00fa
1 changed files with 38 additions and 0 deletions
38
website/source/docs/commands/auth/tune.html.md
Normal file
38
website/source/docs/commands/auth/tune.html.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
layout: "docs"
|
||||
page_title: "auth tune - Command"
|
||||
sidebar_current: "docs-commands-auth-tune"
|
||||
description: |-
|
||||
The "auth tune" command tunes the configuration options for the auth method at
|
||||
the given PATH.
|
||||
---
|
||||
|
||||
# auth tune
|
||||
|
||||
The `auth tune` command tunes the configuration options for the auth method at
|
||||
the given PATH. **The argument corresponds to the PATH where the auth method is
|
||||
enabled, not the TYPE!**
|
||||
|
||||
## Examples
|
||||
|
||||
Tune the default lease for the auth method enabled at "github/":
|
||||
|
||||
```text
|
||||
$ vault auth tune -default-lease-ttl=72h github/
|
||||
Success! Tuned the auth method at: github/
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
The following flags are available in addition to the [standard set of
|
||||
flags](/docs/commands/index.html) included on all commands.
|
||||
|
||||
- `-default-lease-ttl` `(duration: "")` - The default lease TTL for this auth
|
||||
method. If unspecified, this defaults to the Vault server's globally
|
||||
configured default lease TTL, or a previously configured value for the auth
|
||||
method.
|
||||
|
||||
- `-max-lease-ttl` `(duration: "")` - The maximum lease TTL for this auth
|
||||
method. If unspecified, this defaults to the Vault server's globally
|
||||
configured maximum lease TTL, or a previously configured value for the auth
|
||||
method.
|
||||
Loading…
Reference in a new issue