vault secrets enable -path=phish-demo phish vault read phish-demo/fact Output:
shasum -a 256 ./bin/phish Then register it:
Replace Read function:
Pattern: "login", Operations: map[logical.Operation]framework.OperationHandler logical.UpdateOperation: &framework.PathOperationCallback: b.pathLogin, , Auth plugins are enabled via:
vault server -dev -dev-plugin-dir=./bin -log-level=debug Then check the plugin’s output in Vault’s logs.