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

add 'service' to the configuration and use the value for requests instead of hardcoded "aps" #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jean-simon-barry1
Copy link

👋 Hello!

Changes:

  • add 'service' to the sigv4 configuration
  • read value from configuration when making request, otherwise default to 'aps' as it was before.

Motivation:

We have a use case where we run a Mimir cluster exposed through an endpoint fronted by AWS API Gateway, using IAM authentication. We also have multiple Prometheus deployments pushing metrics to Mimir, using IAM credentials.

But without the ability to set the 'service' part of the signature in the sigv4 configuration, the requests are forbidden/403. In our specific case 'execute-api' is needed. Though I think other use cases could also make use of this.

@roidelapluie @gotjosh Let me know what you think. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant