Versions in this module Expand all Collapse all v1 v1.0.0 Jan 30, 2026 Changes in this version + func NewSecretStore(configDir string) (ports.SecretStore, error) + type EncryptedFileStore struct + func NewEncryptedFileStore(configDir string) (*EncryptedFileStore, error) + func (f *EncryptedFileStore) Delete(key string) error + func (f *EncryptedFileStore) Get(key string) (string, error) + func (f *EncryptedFileStore) IsAvailable() bool + func (f *EncryptedFileStore) Name() string + func (f *EncryptedFileStore) Set(key, value string) error + type GrantStore struct + func NewGrantStore(secrets ports.SecretStore) *GrantStore + func (g *GrantStore) ClearGrants() error + func (g *GrantStore) DeleteGrant(grantID string) error + func (g *GrantStore) GetDefaultGrant() (string, error) + func (g *GrantStore) GetGrant(grantID string) (*domain.GrantInfo, error) + func (g *GrantStore) GetGrantByEmail(email string) (*domain.GrantInfo, error) + func (g *GrantStore) ListGrants() ([]domain.GrantInfo, error) + func (g *GrantStore) SaveGrant(info domain.GrantInfo) error + func (g *GrantStore) SetDefaultGrant(grantID string) error + type MockSecretStore struct + DeleteFunc func(key string) error + GetFunc func(key string) (string, error) + SetFunc func(key, value string) error + func NewMockSecretStore() *MockSecretStore + func (m *MockSecretStore) Delete(key string) error + func (m *MockSecretStore) Get(key string) (string, error) + func (m *MockSecretStore) GetAll() map[string]string + func (m *MockSecretStore) IsAvailable() bool + func (m *MockSecretStore) Name() string + func (m *MockSecretStore) Reset() + func (m *MockSecretStore) Set(key, value string) error + func (m *MockSecretStore) SetAvailable(available bool) + type SystemKeyring struct + func NewSystemKeyring() *SystemKeyring + func (k *SystemKeyring) Delete(key string) error + func (k *SystemKeyring) Get(key string) (string, error) + func (k *SystemKeyring) IsAvailable() bool + func (k *SystemKeyring) Name() string + func (k *SystemKeyring) Set(key, value string) error