Documentation
¶
Index ¶
Constants ¶
View Source
const ( SecretServiceBackend string = "secret-service" KeychainBackend string = "keychain" KWalletBackend string = "kwallet" FileBackend string = "file" )
View Source
const ( DBUS_SERVICE_NAME = "org.kde.kwalletd" DBUS_PATH = "/modules/kwalletd" APPID = "aws-vault" FOLDER = "aws-vault" )
Variables ¶
View Source
var DefaultBackend = FileBackend
View Source
var ErrKeyNotFound = errors.New("The specified item could not be found in the keyring.")
View Source
var ErrNoAvailImpl = errors.New("Specified keyring backend not available")
Functions ¶
func SupportedBackends ¶
func SupportedBackends() []string
Types ¶
type ArrayKeyring ¶
type ArrayKeyring struct {
// contains filtered or unexported fields
}
func NewArrayKeyring ¶
func NewArrayKeyring(initial []Item) *ArrayKeyring
func (*ArrayKeyring) Keys ¶
func (k *ArrayKeyring) Keys() ([]string, error)
func (*ArrayKeyring) Remove ¶
func (k *ArrayKeyring) Remove(key string) error
func (*ArrayKeyring) Set ¶
func (k *ArrayKeyring) Set(i Item) error
Click to show internal directories.
Click to hide internal directories.