Skip to content

Conversation

dmihai
Copy link
Contributor

@dmihai dmihai commented May 26, 2025

What is this feature?

This PR removes the backend code for the following endpoints:

  • /api/auth/keys
  • /api/serviceaccounts/migrate

Why do we need this feature?

API keys have been replaced by service account tokens and are no longer supported. This PR is part of the initiative to remove support for API keys in Grafana.

Who is this feature for?

all users

Which issue(s) does this PR fix?:

Part of #53567.

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@dmihai dmihai requested a review from mgyongyosi May 28, 2025 07:52
@dmihai dmihai marked this pull request as ready for review May 28, 2025 07:52
@dmihai dmihai requested review from a team as code owners May 28, 2025 07:52
@dmihai dmihai requested review from cinaglia and removed request for a team May 28, 2025 07:52
@github-actions github-actions bot added this to the 12.1.x milestone May 28, 2025
@dmihai dmihai merged commit d57d184 into main Jun 4, 2025
84 checks passed
@dmihai dmihai deleted the dmihai/remove-api-key-endpoints branch June 4, 2025 14:03
YannickAlex07 pushed a commit to YannickAlex07/grafana that referenced this pull request Jul 11, 2025
* remove api key endpoints

* generate openapi specs

* remove methods from mock service

* remove ApiKeyDTO

* generate openapi specs

* remove apikey migration endpoints

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

Successfully merging this pull request may close these issues.

2 participants