tailscale / tailscale/tailscale

FR: Support workload identity for tsrecorder

Open
#17,908 3 comments 0 reactions 0 assignees View on GitHub
fr needs-triage
Dominant language
Go
Stars
36.5k
Forks
3.2k
Avg merge
2d 3h
Merged PRs (30d)
123

Description

### What are you trying to do?

I'm deploying Tailscale SSH Recorder in our Kubernetes cluster without the use of Tailscale Kubernetes Operator, because it looks like an overkill for deploying just one or two pods of SSH recorders. I wanted to utilize workload identity for authentication, because I know that Kubernetes generates OIDC JWT tokens, and that Tailscale now supports them. Unfortunately, I have found no way to pass a client ID and OIDC token to `/tsrecorder`.

### How should we solve this?

Add arguments (and preferably environment variables) for `/tsrecorder` to utilize workload identity for authentication.

### What is the impact of not solving this?

~I will need to create OAuth clients and pass them as secrets through several layers of our infrastructure to get them to production.~ I have to deploy Tailscale Kubernetes Operator just to deploy one pod of Tailscale SSH Recorder, or to manually log it in.

### Anything else?

https://tailscale.com/kb/1246/tailscale-ssh-session-recording
https://tailscale.com/kb/1581/workload-identity-federation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.