Versions in this module Expand all Collapse all v1 v1.1.0 Mar 14, 2026 v1.0.0 Mar 13, 2026 Changes in this version + var ErrNotConfigured = errors.New("credentials not configured") + var ErrReadOnly = errors.New("credential store is read-only") + func KeyringServiceName(profile string) string + type Credentials struct + APIKey string + AuthMode string + Token string + type EnvStore struct + func NewEnvStore() *EnvStore + func (e *EnvStore) Delete(profile string) error + func (e *EnvStore) Get(profile string) (Credentials, error) + func (e *EnvStore) Set(profile string, creds Credentials) error + type FallbackStore struct + func NewFallbackStore(primary, secondary Store) *FallbackStore + func (f *FallbackStore) Delete(profile string) error + func (f *FallbackStore) Get(profile string) (Credentials, error) + func (f *FallbackStore) Set(profile string, creds Credentials) error + type KeyringStore struct + func NewKeyringStore() *KeyringStore + func (k *KeyringStore) Delete(profile string) error + func (k *KeyringStore) Get(profile string) (Credentials, error) + func (k *KeyringStore) Set(profile string, creds Credentials) error + type MemoryStore struct + func NewMemoryStore() *MemoryStore + func (m *MemoryStore) Delete(profile string) error + func (m *MemoryStore) Get(profile string) (Credentials, error) + func (m *MemoryStore) Set(profile string, creds Credentials) error + type Store interface + Delete func(profile string) error + Get func(profile string) (Credentials, error) + Set func(profile string, creds Credentials) error