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

Allow OnCall API to use Grafana Service Accounts #3189

Merged
merged 18 commits into from
Nov 23, 2023

Conversation

mderynck
Copy link
Contributor

@mderynck mderynck commented Oct 24, 2023

What this PR does

Allows public OnCall API to use Grafana service accounts for authorization. In cloud requests using a Grafana service account token also needs to provide headers for X-Grafana-Org-Slug and X-Grafana-Instance-Slug

This is alpha functionality, it may break or be removed in the future. Going to use this on one endpoint (resolution notes) before we consider the implications across all of public API.

Which issue(s) this PR fixes

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • CHANGELOG.md updated (or pr:no changelog PR label added if not required)

@mderynck mderynck added pr:no changelog pr:no public docs Added to a PR that does not require public documentation updates labels Nov 6, 2023
@mderynck mderynck marked this pull request as ready for review November 21, 2023 23:18
@mderynck mderynck requested a review from a team November 21, 2023 23:18
@mderynck mderynck added this pull request to the merge queue Nov 23, 2023
Merged via the queue into dev with commit 60ef434 Nov 23, 2023
@mderynck mderynck deleted the mderynck/api-service-accounts branch November 23, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants