LemonCore.Secrets.KeyProvider.Keychain (lemon_core v0.1.0)

View Source

Master key provider backed by the macOS Keychain.

Only active on macOS: on every other platform available?/1 is false and fetch/1 reports :unavailable, so the resolution chain moves on without shelling out.

Tests and host applications can substitute the backing module with the :keychain_module option; doing so bypasses the platform guard, since the substitute is by definition not the real security(1) wrapper.