Getting Started
go-secrets provides a small abstraction for packages that want to depend on a secret store without coupling themselves to a single backend.
Included stores
secrets.MemoryStorefor in-memory use and tests.
secrets.EnvStorefor read-only access to environment variables.
secrets.VaultStoreas a placeholder for future external secret manager integrations.
Error behavior
The package exposes explicit sentinel errors for not-found, read-only, and not-implemented scenarios so callers can branch on them with errors.Is.