mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-19 09:41:29 +01:00
* update dependencies * remove hard-coded vaultproject.io on local links * remove 'index.html' from internal links * remove '.html' at end of internal links * manual review cleanup Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>
35 lines
909 B
Plaintext
35 lines
909 B
Plaintext
---
|
|
layout: docs
|
|
page_title: kv enable-versioning - Command
|
|
sidebar_title: <code>enable-versioning</code>
|
|
description: |-
|
|
The "kv enable-versioning" command turns on versioning for the backend
|
|
at the provided path.
|
|
---
|
|
|
|
# kv enable-versioning
|
|
|
|
The `kv enable-versioning` command turns on versioning for an existing
|
|
non-versioned key/value secrets engine (K/V Version 1) at its path.
|
|
|
|
## Examples
|
|
|
|
This command turns on versioning for the K/V Version 1 secrets engine enabled at
|
|
"secret".
|
|
|
|
```text
|
|
$ vault kv enable-versioning secret
|
|
Success! Tuned the secrets engine at: secret/
|
|
```
|
|
|
|
## Usage
|
|
|
|
There are no flags beyond the [standard set of flags](/docs/commands)
|
|
included on all commands.
|
|
|
|
### Output Options
|
|
|
|
- `-format` `(string: "table")` - Print the output in the given format. Valid
|
|
formats are "table", "json", or "yaml". This can also be specified via the
|
|
`VAULT_FORMAT` environment variable.
|