Class KubernetesSyncedAuthMethod

All Implemented Interfaces:
Describable<SyncedAuthMethod>

public class KubernetesSyncedAuthMethod extends SyncedAuthMethod
Kubernetes authentication with Akeyless. Reads the pod service-account token automatically if not provided manually.
  • Constructor Details

    • KubernetesSyncedAuthMethod

      @DataBoundConstructor public KubernetesSyncedAuthMethod()
  • Method Details

    • getK8sAuthConfigName

      public String getK8sAuthConfigName()
    • setK8sAuthConfigName

      @DataBoundSetter public void setK8sAuthConfigName(String k8sAuthConfigName)
    • getK8sServiceAccountToken

      public String getK8sServiceAccountToken()
    • setK8sServiceAccountToken

      @DataBoundSetter public void setK8sServiceAccountToken(String k8sServiceAccountToken)
    • buildAuth

      public io.akeyless.client.model.Auth buildAuth(@Nullable String accessId) throws Exception
      Specified by:
      buildAuth in class SyncedAuthMethod
      Throws:
      Exception
    • isConfigured

      public boolean isConfigured(@Nullable String accessId)
      Specified by:
      isConfigured in class SyncedAuthMethod