mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-24 04:01:37 +01:00
* Added plugin reload function to api * Apply suggestions from code review Co-Authored-By: Calvin Leung Huang <cleung2010@gmail.com> * go mod vendor * addressing comments * addressing comments * add docs Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>
36 lines
864 B
Plaintext
36 lines
864 B
Plaintext
---
|
|
layout: docs
|
|
page_title: plugin reload - Command
|
|
sidebar_title: <code>reload</code>
|
|
description: |-
|
|
The "plugin reload" command reloads mounted plugins.
|
|
---
|
|
|
|
# plugin reload
|
|
|
|
The `plugin reload` command is used to reload mounted plugin backends. Either
|
|
the plugin name (`plugin`) or the desired plugin backend mounts (`mounts`)
|
|
must be provided, but not both.
|
|
|
|
## Examples
|
|
|
|
Reload a plugin:
|
|
|
|
```text
|
|
$ vault plugin reload -plugin my-custom-plugin
|
|
Success! Reloaded plugin: my-custom-plugin
|
|
```
|
|
|
|
## Usage
|
|
|
|
The following flags are available in addition to the [standard set of
|
|
flags](/docs/commands) included on all commands.
|
|
|
|
### Command Options
|
|
|
|
- `-plugin` `(string: "")` - The name of the plugin to reload, as registered in
|
|
the plugin catalog.
|
|
|
|
- `-mounts` `(array: [])` - Array or comma-separated string mount paths of the
|
|
plugin backends to reload.
|