Class CubbyholeSecurityProvider
- java.lang.Object
-
- io.helidon.integrations.vault.secrets.cubbyhole.CubbyholeSecurityProvider
-
- All Implemented Interfaces:
SecretsProvider<CubbyholeSecurityProvider.CubbyholeSecretConfig>
,SecurityProvider
public class CubbyholeSecurityProvider extends Object implements SecretsProvider<CubbyholeSecurityProvider.CubbyholeSecretConfig>
Integration with Helidon Security.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CubbyholeSecurityProvider.CubbyholeSecretConfig
Configuration of a secret when using programmatic setup of security secrets.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<Single<Optional<String>>>
secret(Config config)
Create secret supplier from configuration.Supplier<Single<Optional<String>>>
secret(CubbyholeSecurityProvider.CubbyholeSecretConfig providerConfig)
Create secret supplier from configuration object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
-
-
-
Method Detail
-
secret
public Supplier<Single<Optional<String>>> secret(Config config)
Description copied from interface:SecretsProvider
Create secret supplier from configuration.- Specified by:
secret
in interfaceSecretsProvider<CubbyholeSecurityProvider.CubbyholeSecretConfig>
- Parameters:
config
- config located on the node of the specific secretconfig
node- Returns:
- supplier to retrieve the secret
-
secret
public Supplier<Single<Optional<String>>> secret(CubbyholeSecurityProvider.CubbyholeSecretConfig providerConfig)
Description copied from interface:SecretsProvider
Create secret supplier from configuration object.- Specified by:
secret
in interfaceSecretsProvider<CubbyholeSecurityProvider.CubbyholeSecretConfig>
- Parameters:
providerConfig
- configuration of a specific secret- Returns:
- supplier to retrieve the secret
-
-