Files
openclaw/extensions/vault/index.ts
Sally O'Malley e595a8c0ac Add Vault SecretRef plugin (#89255)
* 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>
2026-07-09 05:30:12 -05:00

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,
},
],
},
);
},
});