public class DefaultKubernetesServiceAccountTokenFileFactory extends Object implements KubernetesServiceAccountTokenFileFactory
KubernetesServiceAccountTokenFile instances.
This factory provides methods to retrieve instances with or without a provided JWT path.| Constructor and Description |
|---|
DefaultKubernetesServiceAccountTokenFileFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.vault.authentication.KubernetesServiceAccountTokenFile |
getKubernetesServiceAccountTokenFile()
Returns a
KubernetesServiceAccountTokenFile instance. |
org.springframework.vault.authentication.KubernetesServiceAccountTokenFile |
getKubernetesServiceAccountTokenFile(String jwtPath)
Returns a
KubernetesServiceAccountTokenFile instance associated with the provided JWT path. |
public DefaultKubernetesServiceAccountTokenFileFactory()
public org.springframework.vault.authentication.KubernetesServiceAccountTokenFile getKubernetesServiceAccountTokenFile(String jwtPath)
KubernetesServiceAccountTokenFile instance associated with the provided JWT path.getKubernetesServiceAccountTokenFile in interface KubernetesServiceAccountTokenFileFactoryjwtPath - the JWT path to be used by the KubernetesServiceAccountTokenFile.KubernetesServiceAccountTokenFile instance.public org.springframework.vault.authentication.KubernetesServiceAccountTokenFile getKubernetesServiceAccountTokenFile()
KubernetesServiceAccountTokenFile instance. This instance will use default Service Account Token path().
See: Vault Kubernetes authenticationgetKubernetesServiceAccountTokenFile in interface KubernetesServiceAccountTokenFileFactoryKubernetesServiceAccountTokenFile instance.Copyright © 2023 Atlassian. All rights reserved.