Class KeychainSecretStoreProvider

java.lang.Object
org.apache.juneau.secret.macos.keychain.KeychainSecretStoreProvider
All Implemented Interfaces:
SecretStoreProvider

Provider that contributes a KeychainSecretStore via ServiceLoader, discoverable through SecretStores.fromServiceLoader() when this module is on the classpath and the host is macOS.

The service name defaults to "org.apache.juneau" but can be overridden via the "juneau.secret.macos.keychain.service" system property; the fail mode defaults to FailMode.FAIL_CLOSED. On a non-macOS host (or when the keychain CLI is absent) create() returns null so discovery skips it.

Since:
10.0.0