fix: added missing funcs for secret store implementations

This commit is contained in:
David Allen 2025-03-19 11:36:29 -06:00
parent 932daeafe1
commit a8f0c12505
Signed by: towk
GPG key ID: 793B2924A49B3A3F
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