plugin

plugin 命令包含一组与 Vault 插件以及插件目录交互的子命令。

例子

列出目录中所有可用插件:

$ vault plugin list

Plugins
-------
my-custom-plugin
# ...

将一个新插件注册到目录中

$ vault plugin register \
  -sha256=d3f0a8be02f6c074cf38c9c99d4d04c9c6466249 \
  my-custom-plugin
Success! Registered plugin: my-custom-plugin

获取目录中某个插件的信息:

$ vault plugin info my-custom-plugin
Key        Value
---        -----
command    my-custom-plugin
name       my-custom-plugin
sha256     d3f0a8be02f6c074cf38c9c99d4d04c9c6466249

可用子命令

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

每种子命令的详细使用方法,请阅读对应的章节。

results matching ""

    No results matching ""