Skip to content

feat: Java auth. Add new GOOGLE_MANAGED_KAFKA_AUTH_PRINCIPAL environment variable that allows users to provide the auth principal for credential types where it cannot be programmatically fetched#47

Open
benjamin-maynard wants to merge 1 commit intogoogleapis:mainfrom
benjamin-maynard:java-support-principal-env

Conversation

@benjamin-maynard
Copy link
Member

Add new GOOGLE_MANAGED_KAFKA_AUTH_PRINCIPAL environment variable for principal override. This allows users to provide the auth principal for credential types where it cannot be programmatically fetched.

This allows the auth handler to be used with BYOD credential types such as Workforce Identity Federation.

Googlers see b/449376528#comment11 for more details.

@benjamin-maynard benjamin-maynard requested a review from a team October 11, 2025 12:11
@benjamin-maynard benjamin-maynard changed the title feat: Java Auth - add new GOOGLE_MANAGED_KAFKA_AUTH_PRINCIPAL environment variable for principal override feat: Java auth. Add new GOOGLE_MANAGED_KAFKA_AUTH_PRINCIPAL environment variable that allows users to provide the auth principal for credential types where it cannot be programmatically fetched Oct 11, 2025
@benjamin-maynard benjamin-maynard force-pushed the java-support-principal-env branch from e8751c9 to a3da9ba Compare October 11, 2025 12:12
…nment variable that allows users to provide the auth principal for credential types where it cannot be programmatically fetched.
@benjamin-maynard benjamin-maynard force-pushed the java-support-principal-env branch from a3da9ba to 0edb132 Compare October 11, 2025 13:14
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.

1 participant