Class KubeconfigAuthentication
java.lang.Object
io.kubernetes.client.util.credentials.KubeconfigAuthentication
- All Implemented Interfaces:
Authentication
Uses a
KubeConfig
to configure ApiClient
authentication to the Kubernetes API.
Tries to configure the following authentication mechanisms in this order.
ClientCertificateAuthentication
(using client certificate files or data)UsernamePasswordAuthentication
AccessTokenAuthentication
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KubeconfigAuthentication
- Throws:
IOException
-
-
Method Details
-
provide
public void provide(io.kubernetes.client.openapi.ApiClient client) - Specified by:
provide
in interfaceAuthentication
-
getDelegateAuthentication
-