Module io.helidon.security
Package io.helidon.security.spi
Interface SecretsProvider<T extends ProviderConfig>
- Type Parameters:
T- type of the custom configuration object
- All Superinterfaces:
SecurityProvider
- All Known Implementing Classes:
ConfigVaultProvider,CubbyholeSecurityProvider,Kv1SecurityProvider,Kv2SecurityProvider
Provider that can retrieve secrets.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Create secret supplier from configuration.Create secret supplier from configuration object.Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
Method Details
-
secret
@Deprecated(since="4.4.0", forRemoval=true) default Supplier<Optional<String>> secret(Config config) Deprecated, for removal: This API element is subject to removal in a future version.usesecret(io.helidon.config.Config)insteadCreate secret supplier from configuration.- Parameters:
config- config located on the node of the specific secretconfignode- Returns:
- supplier to retrieve the secret
-
secret
Create secret supplier from configuration.API Note: the default method implementation is provided for backward compatibility and will be removed in the next major version
- Parameters:
config- config located on the node of the specific secretconfignode- Returns:
- supplier to retrieve the secret
- Since:
- 4.4.0
-
secret
Create secret supplier from configuration object.- Parameters:
providerConfig- configuration of a specific secret- Returns:
- supplier to retrieve the secret
-
secret(io.helidon.config.Config)instead