1---
2layout: "docs"
3page_title: "secrets tune - Command"
4sidebar_title: "<code>tune</code>"
5sidebar_current: "docs-commands-secrets-tune"
6description: |-
7  The "secrets tune" command tunes the configuration options for the secrets
8  engine at the given PATH. The argument corresponds to the PATH where the
9  secrets engine is enabled, not the TYPE!
10---
11
12# secrets tune
13
14The `secrets tune` command tunes the configuration options for the secrets
15engine at the given PATH. The argument corresponds to the PATH where the secrets
16engine is enabled, not the TYPE!
17
18## Examples
19
20Tune the default lease for the PKI secrets engine:
21
22```text
23$ vault secrets tune -default-lease-ttl=72h pki/
24```
25
26## Usage
27
28The following flags are available in addition to the [standard set of
29flags](/docs/commands/index.html) included on all commands.
30
31- `-default-lease-ttl` `(duration: "")` - The default lease TTL for this secrets
32  engine. If unspecified, this defaults to the Vault server's globally
33  configured default lease TTL, or a previously configured value for the secrets
34  engine.
35
36- `-max-lease-ttl` `(duration: "")` - The maximum lease TTL for this secrets
37  engine. If unspecified, this defaults to the Vault server's globally
38  configured maximum lease TTL, or a previously configured value for the secrets
39  engine.
40