34f01920e9
* 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>
65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: plugin - Command
|
|
sidebar_title: <code>plugin</code>
|
|
description: |-
|
|
The "plugin" command groups subcommands for interacting with
|
|
Vault's plugins and the plugin catalog.
|
|
---
|
|
|
|
# plugin
|
|
|
|
The `plugin` command groups subcommands for interacting with Vault's plugins and
|
|
the plugin catalog
|
|
|
|
## Examples
|
|
|
|
List all available plugins in the catalog:
|
|
|
|
```text
|
|
$ vault plugin list
|
|
|
|
Plugins
|
|
-------
|
|
my-custom-plugin
|
|
# ...
|
|
```
|
|
|
|
Register a new plugin to the catalog:
|
|
|
|
```text
|
|
$ vault plugin register \
|
|
-sha256=d3f0a8be02f6c074cf38c9c99d4d04c9c6466249 \
|
|
my-custom-plugin
|
|
Success! Registered plugin: my-custom-plugin
|
|
```
|
|
|
|
Get information about a plugin in the catalog:
|
|
|
|
```text
|
|
$ vault plugin info my-custom-plugin
|
|
Key Value
|
|
--- -----
|
|
command my-custom-plugin
|
|
name my-custom-plugin
|
|
sha256 d3f0a8be02f6c074cf38c9c99d4d04c9c6466249
|
|
```
|
|
|
|
## Usage
|
|
|
|
```text
|
|
Usage: vault plugin <subcommand> [options] [args]
|
|
|
|
# ...
|
|
|
|
Subcommands:
|
|
deregister Deregister an existing plugin in the catalog
|
|
info Read information about a plugin in the catalog
|
|
list Lists available plugins
|
|
register Registers a new plugin in the catalog
|
|
reload Reload mounted plugin backend
|
|
```
|
|
|
|
For more information, examples, and usage about a subcommand, click on the name
|
|
of the subcommand in the sidebar.
|