Production-Ready
Graceful shutdown, health endpoints, structured logging and sensible defaults.
Policy-driven, flexible and extensible access control with full observability built-in
The Envoy Authorization Service implements the Envoy gRPC External Authorization API with a three-phase pipeline:
(corporate-network || partner-ip) && !evil-network)This architecture enables composable authorization patterns while maintaining high performance and observability.
Docker:
docker pull ghcr.io/gtriggiano/envoy-authorization-service:1.4.0
docker run -v $(pwd)/config.yaml:/config.yaml ghcr.io/gtriggiano/envoy-authorization-service:1.4.0 start --config /config.yamlBinary:
Download the build for your arch:
curl -LO https://github.com/gtriggiano/envoy-authorization-service/releases/v1.4.0/download/envoy-authorization-service-linux-amd64
chmod +x envoy-authorization-service-linux-amd64
mv envoy-authorization-service-linux-amd64 /usr/local/bin/envoy-authorization-servicecurl -LO https://github.com/gtriggiano/envoy-authorization-service/releases/v1.4.0/download/envoy-authorization-service-linux-arm64
chmod +x envoy-authorization-service-linux-arm64
mv envoy-authorization-service-linux-arm64 /usr/local/bin/envoy-authorization-servicecurl -LO https://github.com/gtriggiano/envoy-authorization-service/releases/v1.4.0/download/envoy-authorization-service-darwin-amd64
chmod +x envoy-authorization-service-darwin-amd64
mv envoy-authorization-service-darwin-amd64 /usr/local/bin/envoy-authorization-servicecurl -LO https://github.com/gtriggiano/envoy-authorization-service/releases/v1.4.0/download/envoy-authorization-service-darwin-arm64
chmod +x envoy-authorization-service-darwin-arm64
mv envoy-authorization-service-darwin-arm64 /usr/local/bin/envoy-authorization-serviceThen
envoy-authorization-service start --config config.yamlNote
You need MaxMind databases to run this example.
analysisControllers:
- name: asn-analysis
type: maxmind-asn
settings:
databasePath: GeoLite2-ASN.mmdb
- name: geoip-analysis
type: maxmind-geoip
settings:
databasePath: GeoLite2-ASN.mmdb