It appears that it’s only possible to use an API Key to authenticate against a GraphQL endpoint when using the fetch subcommand of the apollo-ios-cli if you’re using Apollo Registry. Is it possible to use an API Key when using introspection as well?
There is a specific API key property for Apollo Registry requests because it maps to a custom HTTP header which the client handles for you. However both requests support additional custom HTTP headers through the
headers property on the configuration - docs. If you’re needing to authenticate your introspection request this is probably what you want to be using.