Class NoVaultAuth
java.lang.Object
io.helidon.integrations.vault.auths.common.NoVaultAuth
- All Implemented Interfaces:
VaultAuth
Java Service Loader implementation for creating an unauthenticated Vault instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(Config config, Vault.Builder vaultBuilder) static NoVaultAuth
create()
Create a new instance.
-
Constructor Details
-
NoVaultAuth
public NoVaultAuth()Required for service loader.
-
-
Method Details
-
create
Create a new instance.- Returns:
- a new unauthenticated Vault authentication
-
authenticate
Description copied from interface:VaultAuth
- Specified by:
authenticate
in interfaceVaultAuth
- Parameters:
config
- configuration (may be empty if not provided by user)vaultBuilder
- vault builder- Returns:
RestApi
in case this Vault authentication can authenticate
-