Description
Support for authentication via kubernetes bound service account tokens, docs.
A workload running on kubernetes would be able to authenticated using an Oauth token provisioned by kubernetes and trusted by cockroachDB.
This feature depends on #65607
Describe the solution you'd like
There is some provisions in cockroach db to establish trust with an OIDC provider and accept authentication with an OAuth token.
There is a mutating web hook that simplifies setting up the pod configuration to use the bound service account token to be used to authenticate. This is a good example of how such mutating wbe hook could work:
https://github.com/aws/amazon-eks-pod-identity-webhook
Describe alternatives you've considered
For limited duration credentials representing a workload and not a person, alternative can be TLS certificates or Vault support for rotating credentials.
Jira issue: CRDB-7815