---
layout: docs
page_title: secrets move - Command
sidebar_title: <code>move</code>
description: |-
  The "secrets move" command moves an existing secrets engine to a new path. Any
  leases from the old secrets engine are revoked, but all configuration
  associated with the engine is preserved.
---

# secrets move

The `secrets move` command moves an existing secrets engine to a new path. Any
leases from the old secrets engine are revoked, but all configuration associated
with the engine is preserved.

**Moving an existing secrets engine will revoke any leases from the old
engine.**

## Examples

Move the existing secrets engine at secret/ to kv/:

```shell-session
$ vault secrets move secret/ kv/
```

## Usage

There are no flags beyond the [standard set of flags](/docs/commands)
included on all commands.
