Skip to content

Conversation

@scotwells
Copy link
Contributor

Summary

Add --proxy-client-cert-file and --proxy-client-key-file flags to enable mTLS authentication when proxying requests to aggregated API servers.

This allows aggregated API servers to trust authentication headers (X-Remote-User, X-Remote-Group, etc.) forwarded by Milo, resolving system:anonymous user issues.

Detail

As I was working through deploying the activity-apiserver as an aggregated API on Milo's platform, I ran into issues where the activity apiserver was receiving requests with the system:anonymous user instead of the end-user I was authenticating as.

I was able to trace this down to being caused by Milo not having a proxy client certificate issued that it uses to communicate with aggregated apiservers.


Causes https://github.com/datum-cloud/engineering/issues/90#issuecomment-3687933423

Add --proxy-client-cert-file and --proxy-client-key-file flags to enable
mTLS authentication when proxying requests to aggregated API servers.

This allows aggregated API servers to trust authentication headers
(X-Remote-User, X-Remote-Group, etc.) forwarded by Milo, resolving
system:anonymous user issues.
@joggrbot
Copy link
Contributor

joggrbot bot commented Dec 23, 2025

📝 Documentation Analysis

All docs are up to date! 🎉


✅ Latest commit analyzed: 74de18c | Powered by Joggr

@scotwells scotwells merged commit 7280d5f into main Dec 23, 2025
6 of 7 checks passed
@scotwells scotwells deleted the feat/configure-proxy-client-certificate branch December 23, 2025 22:01
Copy link
Contributor

@zachsmith1 zachsmith1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this affect the identity sessions aggregated api server? I thought we ran into this issue back when that work was done

@scotwells
Copy link
Contributor Author

@zachsmith1 no, that's configured separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants