fix: added missing funcs for secret store implementations

This commit is contained in:
David Allen 2025-03-19 11:36:29 -06:00 committed by David Allen
parent 35cf2222a0
commit b49b1f761d
Signed by: towk
GPG key ID: 0430CDBE22619155
2 changed files with 6 additions and 0 deletions

View file

@ -103,7 +103,9 @@ func (l *LocalSecretStore) ListSecrets() (map[string]string, error) {
// RemoveSecretByID removes the specified secretID stored locally
func (l *LocalSecretStore) RemoveSecretByID(secretID string) {
l.mu.RLock()
delete(l.Secrets, secretID)
l.mu.RUnlock()
}
// openStore tries to create or open the LocalSecretStore based on the environment