Browse by type
go get github.com/rsjethani/secret/v3
It provides simple Go types like Text to securely store secrets. For example:
type Login struct {
User string
Password secret.Text
}
The encapsulated secret remains inaccessible to operations like printing, logging, JSON serialization etc. A (customizable) redact hint like ***** is returned instead. The only way to access the actual secret value is by asking explicitly via the .Secret() method. See package documentation more reference and examples.
Current version, same functionality as v2 but much cleaner API.
Perfectly usable but no longer maintained.
Deprecated.
$ claude mcp add secret \
-- python -m otcore.mcp_server <graph>