keychain

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrKeychainEntryNotFound      = lib.Errorf("keychain entry not found")
	ErrKeychainEntryAlreadyExists = lib.Errorf("keychain entry already exists")
	ErrKeychainLocked             = lib.Errorf("login keyring is locked or unavailable, unlock it and retry")
)

Functions

func AddKeychainEntry

func AddKeychainEntry(ctx context.Context, service, account, secret string) error

func DeleteKeychainEntry

func DeleteKeychainEntry(ctx context.Context, service, account string) error

func GetKeychainEntry

func GetKeychainEntry(ctx context.Context, service, account string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL