Router Configuration
Configure a router via environment variables, command-line options, and YAML
Learn how to customize the behavior of your GraphOS Router or Apollo Router Core with environment variables, command-line commands and options, and YAML file configuration.
Environment variables
If you're using the GraphOS Router with managed federation and GraphOS Studio, set these environment variables in the startup command:
Bash
1APOLLO_KEY="..." APOLLO_GRAPH_REF="..." ./router