Skip to content

secretservice

Go Reference

Client for the freedesktop Secret Service API (org.freedesktop.Secret.Service) over D-Bus — the interface GNOME Keyring and KWallet implement, and therefore the way a Linux program stores a secret where the desktop already keeps them. Pure Go, CGO_ENABLED=0, over godbus.

It is the Linux half of go-keyring, whose other halves are go-macos/keychain and the Windows Credential Manager.

Install

go get github.com/go-freedesktop/secretservice

The full API is on pkg.go.dev. Source: github.com/go-freedesktop/secretservice.