devops2 min read

Kubernetes v1.35: Passing Service Account Tokens to CSI Drivers via Secrets

12 similar posts
  • Kubernetes
  • Secret Store CSI Driver
  • Azure File CSI Driver

AI Summary

Kubernetes v1.35 introduces a beta feature to pass service account tokens to CSI drivers through the `secrets` field in `NodePublishVolumeRequest` instead of `volume_context`. This architectural improvement prevents accidental token logging in gRPC requests, aligning with the CSI specification for handling sensitive data securely.

Key Takeaways

  • Introduced in Kubernetes v1.35 as a beta feature.
  • Uses the serviceAccountTokenInSecrets field in the CSIDriver spec.
  • Requires fallback logic in drivers to support backward compatibility during upgrades.

Why it matters

Improves security for Kubernetes storage plugins by preventing sensitive service account tokens from leaking into gRPC logs, offering a standardized opt-in migration path for CSI driver authors.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.