Class K8sVaultAuth.Builder

    • Method Detail

      • serviceAccountToken

        public K8sVaultAuth.Builder serviceAccountToken​(String serviceAccountToken)
        The k8s service account token.
        Parameters:
        serviceAccountToken - service account token
        Returns:
        updated builder
      • tokenRole

        public K8sVaultAuth.Builder tokenRole​(String tokenRole)
        The token role used for authentication.
        Parameters:
        tokenRole - token role name
        Returns:
        updated builder
      • tokenLocation

        public K8sVaultAuth.Builder tokenLocation​(String tokenLocation)
        File with the k8s service account token.
        Parameters:
        tokenLocation - path to service account token
        Returns:
        updated builder