Class KubernetesAuthenticationOptions
java.lang.Object
org.springframework.vault.authentication.KubernetesAuthenticationOptions
Authentication options for
KubernetesAuthentication
.
Authentication options provide the path, role and jwt supplier.
KubernetesAuthentication
can be constructed using builder()
. Instances
of this class are immutable once constructed.
Defaults to obtain the token from
/var/run/secrets/kubernetes.io/serviceaccount/token
on each login.
- Since:
- 2.0
- Author:
- Michal Budzyn, Mark Paluch
- See Also:
-
Nested Class Summary
-
Field Summary
-
Method Summary
-
Field Details
-
DEFAULT_KUBERNETES_AUTHENTICATION_PATH
- See Also:
-
-
Method Details
-
builder
-
getPath
- Returns:
- the path of the kubernetes authentication backend mount.
-
getRole
- Returns:
- name of the role against which the login is being attempted.
-
getJwtSupplier
- Returns:
- JSON Web Token supplier.
-