Skip to content

Latest commit

 

History

History
 
 

password-cache

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

password-cache

Cache credentials using the Linux keyring in Go

Library

Go Reference

Import:

import (
	passwordcache "github.com/DavidGamba/dgtools/password-cache"
)

Simplest use:

	data, err := passwordcache.GetAndCacheSecret("ActiveDirectoryPassword", "", uint(timeout))
	if err != nil {
		return err
	}
	fmt.Printf("%s", data)