Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultListenAddr is the default gRPC listen address for ext-auth. DefaultListenAddr = ":18081" // DefaultNamespace is the default namespace for authorized resources. DefaultNamespace = "default" // DefaultMCPProbeInterval bounds how often MCP health is refreshed. DefaultMCPProbeInterval = time.Minute * 2 // DefaultMCPProbeTimeout bounds one end-to-end MCP probe. DefaultMCPProbeTimeout = 15 * time.Second )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Addr string
Namespace string
OpenBaoAddr string
OpenBaoSecretMountPath string
OpenBaoK8sAuthRole string
OpenBaoK8sAuthMountPath string
OpenBaoK8sAuthTokenPath string
MCPProbeInterval time.Duration
MCPProbeTimeout time.Duration
DelegationEnabled bool
}
Config describes how to start the ext-auth gRPC service.
type Service ¶
type Service struct {
authv3.UnimplementedAuthorizationServer
// contains filtered or unexported fields
}
Service implements Envoy ext_authz for workload authorization and credential injection.
func (*Service) Check ¶
func (s *Service) Check(ctx context.Context, req *authv3.CheckRequest) (*authv3.CheckResponse, error)
Check authorizes one gateway request and supplies upstream credentials.
Click to show internal directories.
Click to hide internal directories.