Interface VaultKubernetesAuthenticationConfig


  • public interface VaultKubernetesAuthenticationConfig
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String authMountPath()
      Allows configure Kubernetes authentication mount path.
      String jwtTokenPath()
      Location of the file containing the Kubernetes JWT token to authenticate against in Kubernetes authentication mode.
      Optional<String> role()
      Kubernetes authentication role that has been created in Vault to associate Vault policies, with Kubernetes service accounts and/or Kubernetes namespaces.
    • Method Detail

      • role

        Optional<String> role()
        Kubernetes authentication role that has been created in Vault to associate Vault policies, with Kubernetes service accounts and/or Kubernetes namespaces. This property is required when selecting the Kubernetes authentication type.
      • jwtTokenPath

        @WithDefault("/var/run/secrets/kubernetes.io/serviceaccount/token")
        String jwtTokenPath()
        Location of the file containing the Kubernetes JWT token to authenticate against in Kubernetes authentication mode.
      • authMountPath

        @WithDefault("auth/kubernetes")
        String authMountPath()
        Allows configure Kubernetes authentication mount path.