Class K8sVaultAuth
- java.lang.Object
-
- io.helidon.integrations.vault.auths.k8s.K8sVaultAuth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
K8sVaultAuth.Builder
Fluent API builder forK8sVaultAuth
.
-
Constructor Summary
Constructors Constructor Description K8sVaultAuth()
Deprecated.please usebuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<RestApi>
authenticate(Config config, Vault.Builder vaultBuilder)
static K8sVaultAuth.Builder
builder()
A new builder forK8sVaultAuth
.
-
-
-
Constructor Detail
-
K8sVaultAuth
@Deprecated public K8sVaultAuth()
Deprecated.please usebuilder()
Constructor required for Java Service Loader.
-
-
Method Detail
-
builder
public static K8sVaultAuth.Builder builder()
A new builder forK8sVaultAuth
.- Returns:
- a new builder
-
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
-
-