Repository navigation
[Improvement-18812][Authentication] Require explicit Gateway and Actuator credentials - #18813
Open
ruanwenjun wants to merge 2 commits into
Open
ruanwenjun wants to merge 2 commits into
ruanwenjun wants to merge 2 commits into
Conversation
SbloodyS
reviewed
Nov 20, 2026
SbloodyS
left a comment
Member
There was a problem hiding this comment.
Could you update the English and Chinese Standalone installation guides alongside this change? Both currently point users to api-server/conf/application.yaml and only show how to enable the gateway. Standalone loads standalone-server/conf/application.yaml, and with this PR, setting api.python-gateway.enabled: true without a non-blank api.python-gateway.auth-token will cause startup to fail.
Please show both settings in the correct file and mention that the Python client must use the same token.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was this PR generated or assisted by AI?
YES. AI assisted with the implementation, regression tests, upgrade notes, and this description.
Purpose of the pull request
Closes #18812.
Require explicitly configured credentials before enabling Python Gateway or Actuator authentication. A custom API configuration can currently inherit the Java default Gateway token, while enabling Actuator authentication can reuse the username/password shipped in service configurations.
Brief change log
Verify this pull request
ApiConfigValidationTest(5),ApiConfigTest(3), andActuatorAuthenticationAutoConfigurationTest(5).git diff --checkpassed. The full test suite and deployment verification were not run.Pull Request Notice
Pull Request Notice
Deployments enabling Python Gateway or Actuator authentication must provide the relevant non-blank credentials. Upgrade notes are included in both languages.