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 ClassesModifier and TypeClassDescriptionstatic classConfiguration of a secret when using programmatic setup of security secrets. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.security.spi.SecretsProvider
secretMethods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
Method Details
-
secret
Description copied from interface:SecretsProviderCreate secret supplier from configuration.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Specified by:
secretin interfaceSecretsProvider<CubbyholeSecurityProvider.CubbyholeSecretConfig>- Parameters:
config- config located on the node of the specific secretconfignode- Returns:
- supplier to retrieve the secret
-
secret
public Supplier<Optional<String>> secret(CubbyholeSecurityProvider.CubbyholeSecretConfig providerConfig) Description copied from interface:SecretsProviderCreate secret supplier from configuration object.- Specified by:
secretin interfaceSecretsProvider<CubbyholeSecurityProvider.CubbyholeSecretConfig>- Parameters:
providerConfig- configuration of a specific secret- Returns:
- supplier to retrieve the secret
-