Class NoVaultAuth
- java.lang.Object
-
- io.helidon.integrations.vault.auths.common.NoVaultAuth
-
-
Constructor Summary
Constructors Constructor Description NoVaultAuth()
Required for service loader.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<RestApi>
authenticate(Config config, Vault.Builder vaultBuilder)
static NoVaultAuth
create()
Create a new instance.
-
-
-
Method Detail
-
create
public static NoVaultAuth create()
Create a new instance.- Returns:
- a new unauthenticated Vault authentication
-
authenticate
public Optional<RestApi> authenticate(Config config, Vault.Builder vaultBuilder)
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
-
-