Downloading subgraphs for Apollo Router

I am trying to automate the creation of subgraphs for my Apollo Router, however, I am having trouble understanding how to do that. Below was my first attempt:

federation_version: 2

subgraphs:
  example1:
    routing_url: ${REMOTE_SERVER}/example1/graphql
    schema:
      subgraph_url: ${API_BASE}/example1/graphql
        headers:
            Authorization: ${AUTH_TOKEN}
  example2:
    routing_url: ${REMOTE_SERVER}/example2/graphql
    schema:
      subgraph_url: ${REMOTE_SERVER}/example2/graphql
        headers:
          Authorization: ${REMOTE_SERVER}

and then I read this in the docs (Setting up managed federation - Apollo GraphQL Docs) Where I upload the graphs to Apollo Studio then download it from there in the supergraph.yaml. However, I am quite confused on one part. How do I have multiple APOLLO_GRAPH_REF env variables? Like I need to download all the schemas for the super graph, not just one.