Hello, we have Dagster running on GKE and the user...
# deployment-kubernetes
Hello, we have Dagster running on GKE and the user access is done via IAP (Identity-Aware Proxy). What would be the best way to fetch the user names so that they show up when runs are launched manually? Currently, we see "Manually launched" under "Launched by" column.
Dagster uses tags on the run to determine who launched it: https://github.com/dagster-io/dagster/blob/32c11228221aa6b4d40b6e4ade9959ee5e5052d6/js_modules/dagit/packages/core/src/runs/RunCreatedByCell.tsx#L34-L35 So if you can access the IAP username (maybe via env var? I’m not familiar with how it’s typically exposed) and set it as a run tag, the Dagster machinery should take care of the rest.
I am aware of the tags functionality. I was looking for some help around getting the username via IAP within Dagster. I am not sure if this is even possible so wanted to see if anyone has done it.