Remove credentials.Bundle
from NewSubConnOptions
#3498
Labels
Area: Resolvers/Balancers
Includes LB policy & NR APIs, resolver/balancer/picker wrappers, LB policy impls and utilities.
P2
Type: Security
A bug or other problem affecting security
This is potentially a security issue in that it allows a balancer to inject credentials.
This was added for grpclb to be able to set the "mode" of the user's credentials (e.g. ComputeEngineCreds). Instead, grpclb should set that same mode string in the
Attributes
for theAddress
es, and the credentials should retrieve the mode and adjust accordingly.In this regard, mode switching can be removed from
credentials.Bundle
, but the ability to bundle call+transport creds into a single object is still beneficial.The text was updated successfully, but these errors were encountered: