public class KubernetesAuthenticationOptions extends Object
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.
KubernetesAuthentication
,
KubernetesJwtSupplier
,
KubernetesServiceAccountTokenFile
,
builder()
Modifier and Type | Class and Description |
---|---|
static class |
KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder
Builder for
KubernetesAuthenticationOptions . |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_KUBERNETES_AUTHENTICATION_PATH |
Modifier and Type | Method and Description |
---|---|
static KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder |
builder() |
Supplier<String> |
getJwtSupplier() |
String |
getPath() |
String |
getRole() |
public static final String DEFAULT_KUBERNETES_AUTHENTICATION_PATH
public static KubernetesAuthenticationOptions.KubernetesAuthenticationOptionsBuilder builder()
public String getPath()
public String getRole()
Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.