Documentation
¶
Index ¶
- Variables
- func BuildKey(vaultAddr, namespace, mount, role, credentialType, ttl string) string
- type Backend
- type CachedCredentials
- type Entry
- type Store
- func (s *Store) Delete(key string) error
- func (s *Store) ListEntries() ([]Entry, error)
- func (s *Store) Load(key string) (CachedCredentials, bool, error)
- func (s *Store) PurgeAll() (int, error)
- func (s *Store) PurgeExpired() (int, error)
- func (s *Store) PurgeKeys(keys []string) (int, error)
- func (s *Store) Save(key string, creds CachedCredentials) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSecureBackend = errors.New("no secure credential cache backend available")
Functions ¶
Types ¶
type CachedCredentials ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewDefaultStore ¶
func (*Store) ListEntries ¶
func (*Store) PurgeExpired ¶
Click to show internal directories.
Click to hide internal directories.