Class OkeKubernetesCredentialLoader

java.lang.Object
io.micronaut.oraclecloud.oke.kubernetes.client.OkeKubernetesCredentialLoader
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.kubernetes.client.openapi.credential.KubernetesTokenLoader

@Singleton @Requires(beans={com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider.class,OkeKubernetesClientConfig.class}) @Internal public class OkeKubernetesCredentialLoader extends Object implements io.micronaut.kubernetes.client.openapi.credential.KubernetesTokenLoader
A kubernetes credential loader which creates the credentials using a kubeconfig fetched from OKE with OkeKubeConfigLoader. It uses AbstractAuthenticationDetailsProvider or RequestSigner to create the OKE Kubernetes client token.
Since:
4.4.x
Author:
Andriy Dmytruk
  • Method Details

    • getToken

      public String getToken()
      Specified by:
      getToken in interface io.micronaut.kubernetes.client.openapi.credential.KubernetesTokenLoader
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface io.micronaut.core.order.Ordered