mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-15 07:26:06 +00:00
* Add Vault SecretRef plugin Signed-off-by: sallyom <somalley@redhat.com> * expand Vault setup to registered SecretRef targets Signed-off-by: sallyom <somalley@redhat.com> * fix(vault): use sdk secret target seam * fix(vault): preserve auth profile target paths * docs(vault): document plugin enable step * fix(vault): make status provider-alias aware * fix(vault): reject noncanonical secret ids * fix(vault): separate resolver timeout deadlines * fix(vault): forward private CA trust settings * fix(secrets): preserve plugin policy boundaries --------- Signed-off-by: sallyom <somalley@redhat.com> Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
25 lines
687 B
TypeScript
25 lines
687 B
TypeScript
import { definePluginEntry, type OpenClawPluginApi } from "openclaw/plugin-sdk/plugin-entry";
|
|
|
|
export default definePluginEntry({
|
|
id: "vault",
|
|
name: "Vault",
|
|
description: "HashiCorp Vault SecretRef provider integration.",
|
|
register(api: OpenClawPluginApi) {
|
|
api.registerCli(
|
|
async ({ program, config }) => {
|
|
const { registerVaultCommands } = await import("./src/cli.js");
|
|
registerVaultCommands({ program, config });
|
|
},
|
|
{
|
|
descriptors: [
|
|
{
|
|
name: "vault",
|
|
description: "Manage the Vault SecretRef provider integration",
|
|
hasSubcommands: true,
|
|
},
|
|
],
|
|
},
|
|
);
|
|
},
|
|
});
|