The custom-script secret provider delegates secret resolution to an external script or command.
[providers]
paths = ["~/.config/lssh/providers/provider-secret-custom-script"]
[provider.custom]
plugin = "provider-secret-custom-script"
enabled = true
capabilities = ["secret"]
command = ["/path/to/resolve-secret"]
[server.ops]
addr = "10.0.0.40"
user = "ubuntu"
pass_ref = "custom:prod/ssh/password"providers.pathsis intended to list provider executable files.- The provider executes
commandorpath. - The script receives:
LSSH_PROVIDER_METHODLSSH_PROVIDER_REFLSSH_PROVIDER_SERVERLSSH_PROVIDER_FIELD
- The script should print the resolved value to stdout.