Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rover subgraph introspect support for dynamically calculated AWS SignatureV4 headers #1338

Open
prasek opened this issue Sep 26, 2022 · 0 comments
Labels
feature 🎉 new commands, flags, functionality, and improved error messages triage issues and PRs that need to be triaged

Comments

@prasek
Copy link

prasek commented Sep 26, 2022

Description

rover subgraph introspect generates a _service { sdl } query, but for services created and authenticated using AWS IAM it requires passing AWS auth headers as part of the request for rover subgraph introspect to succeed.

It may be possible to manually generate the auth --header for rover subgraph introspect by signing the query that rover is making e.g.

query _service {
  _service {
    sdl
  }
}

and passing those AWS auth headers in via rover subgraph introspect --header but would be leaking the specifics of how rover is doing introspection and the exact query used, and be more complicated for users, like

How can we help?

  • support a rover flag that allows automatically generating a SignatureV4 header, perhaps along the lines of the defaultProvider so I don't have to manually construct a --header for rover subgraph introspect
@prasek prasek added feature 🎉 new commands, flags, functionality, and improved error messages triage issues and PRs that need to be triaged labels Sep 26, 2022
@prasek prasek changed the title Support passing dynamically calculated AWS SignatureV4 header for rover subgraph introspect rover subgraph introspect support for dynamically calculated AWS SignatureV4 headers Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎉 new commands, flags, functionality, and improved error messages triage issues and PRs that need to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant