2017-09-08 02:12:07 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: secrets tune - Command
|
|
|
|
sidebar_title: <code>tune</code>
|
2017-09-08 02:12:07 +00:00
|
|
|
description: |-
|
|
|
|
The "secrets tune" command tunes the configuration options for the secrets
|
|
|
|
engine at the given PATH. The argument corresponds to the PATH where the
|
|
|
|
secrets engine is enabled, not the TYPE!
|
|
|
|
---
|
|
|
|
|
|
|
|
# secrets tune
|
|
|
|
|
|
|
|
The `secrets tune` command tunes the configuration options for the secrets
|
|
|
|
engine at the given PATH. The argument corresponds to the PATH where the secrets
|
|
|
|
engine is enabled, not the TYPE!
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Tune the default lease for the PKI secrets engine:
|
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2017-09-08 02:12:07 +00:00
|
|
|
$ vault secrets tune -default-lease-ttl=72h pki/
|
|
|
|
```
|
|
|
|
|
2020-10-06 17:43:32 +00:00
|
|
|
Specify multiple audit non-hmac request keys:
|
|
|
|
|
|
|
|
```shell-session
|
|
|
|
$ vault secrets tune -audit-non-hmac-request-keys=value1 -audit-non-hmac-request-keys=value2 pki/
|
|
|
|
```
|
|
|
|
|
2017-09-08 02:12:07 +00:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
The following flags are available in addition to the [standard set of
|
2020-01-22 20:05:41 +00:00
|
|
|
flags](/docs/commands) included on all commands.
|
2017-09-08 02:12:07 +00:00
|
|
|
|
2020-10-06 17:43:32 +00:00
|
|
|
- `-audit-non-hmac-request-keys` `(string: "")` - Key that will not be HMAC'd
|
|
|
|
by audit devices in the request data object. Note that multiple keys may be
|
|
|
|
specified by providing this option multiple times, each time with 1 key.
|
2020-03-02 16:36:10 +00:00
|
|
|
|
2020-10-06 17:43:32 +00:00
|
|
|
- `-audit-non-hmac-response-keys` `(string: "")` - Key that will not be HMAC'd
|
|
|
|
by audit devices in the response data object. Note that multiple keys may be
|
|
|
|
specified by providing this option multiple times, each time with 1 key.
|
2020-03-02 16:36:10 +00:00
|
|
|
|
2017-09-08 02:12:07 +00:00
|
|
|
- `-default-lease-ttl` `(duration: "")` - The default lease TTL for this secrets
|
|
|
|
engine. If unspecified, this defaults to the Vault server's globally
|
|
|
|
configured default lease TTL, or a previously configured value for the secrets
|
|
|
|
engine.
|
|
|
|
|
|
|
|
- `-max-lease-ttl` `(duration: "")` - The maximum lease TTL for this secrets
|
|
|
|
engine. If unspecified, this defaults to the Vault server's globally
|
|
|
|
configured maximum lease TTL, or a previously configured value for the secrets
|
|
|
|
engine.
|