keyshroud

v0.15.0
io.github.dinhkarate/keyshroud Checked 47 minutes ago Published 10 days ago

Agent-safe secrets (local encrypted vault or Vaultwarden): injected into commands, masked in output

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

secrets_list

List the names of secrets wired for this machine. Never returns values.

ParameterTypeDescription
env_filestringOptional dotenv file of references (keyshroud://, bw://, vault://, awssecrets://, …) to include

secrets_run

Run a shell command with vault secrets injected as environment variables. Secret values in stdout/stderr are replaced with <redacted:NAME>. Reference secrets as $NAME inside the command; never echo them.

ParameterTypeDescription
command *stringShell command run with /bin/sh -c
cwdstringWorking directory
env_filestringDotenv file of references (keyshroud://, bw://, vault://, awssecrets://, …) to add
onlyarrayInject only these names; the command is not run when one of them does not resolve
timeout_msnumberKill the command after this many milliseconds (default 120000)

secrets_request

Ask the human to store a new secret. Opens a native hidden-input dialog on the user's desktop and stores the value in the vault; where no dialog can be shown, returns a terminal command for the user to run instead. The value never passes through the conversation.

ParameterTypeDescription
env_name *stringUPPER_SNAKE_CASE variable name
item_name *stringVault item name to create
purposestringShort note stored with the item

vault_status

Report the vault's backend, lock state, and item count. Never returns values.