We are requesting native support for OIDC client credentials flow in the Harness Kubernetes connector to enable dynamic JWT token retrieval for machine-to-machine authentication. Currently, Harness only supports user-based interactive OIDC authentication, which requires manual token entry. In our use case, a VKS cluster needs to authenticate delegates from Cluster A to the Kubernetes API in Cluster B securely and non-interactively using short-lived JWT tokens. This feature would eliminate the need for static service account tokens or manual token management, streamlining cross-cluster authentication for On-prem VKS Kubernetes clusters.
Please refer to the attached document for additional details and https://support.harness.io/hc/en-us/requests/109879 for additional context regarding our use case and the need for this feature.