docs: clarify that /metrics endpoint requires separate authentication#1120
docs: clarify that /metrics endpoint requires separate authentication#1120pigeio wants to merge 2 commits intoetcd-io:mainfrom
Conversation
Signed-off-by: Anand raj <rajanand3307@gmail.com>
Signed-off-by: Anand raj <rajanand3307@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: pigeio The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @pigeio. Thanks for your PR. I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What is this change?
This PR adds a security clarification note to the RBAC documentation explaining that the
/metricsand/healthHTTP endpoints are not protected by V3 RBAC authentication (auth enable).Why is this needed?
Operators may assume that enabling authentication with
etcdctl auth enableprotects all endpoints. However, the/metricsendpoint uses a separate HTTP handler and requires mTLS or network isolation for protection.Code references:
server/embed/etcd.go- separate HTTP handlerChanges
Added a new section "Security Scope of Authentication" after the "Enabling authentication" section in
rbac.mdthat:/metricsand/healthendpoints--listen-metrics-urls, network policies)Related