Skip to content

Implement API Keys.#2526

Merged
chrisknoll merged 3 commits into
webapi-3.0from
cknoll/api-key
Jun 25, 2026
Merged

Implement API Keys.#2526
chrisknoll merged 3 commits into
webapi-3.0from
cknoll/api-key

Conversation

@chrisknoll

Copy link
Copy Markdown
Collaborator

Fixes #1884.

This PR introduces API Keys by creating a new controller (for create/list/delete operations), a database table and repository (sec_api_key), and migration scripts to define the tables (in a migration script and in baseline).

@chrisknoll chrisknoll marked this pull request as draft June 25, 2026 02:26
@chrisknoll

Copy link
Copy Markdown
Collaborator Author

@p-hoffmann : this PR is independent of #2523, but there is some overlap with base migrations and the JWT auth filter. I will merge this branch with the webapi-3.0 branch and then update this PR.

@chrisknoll chrisknoll marked this pull request as ready for review June 25, 2026 02:31
@chrisknoll

Copy link
Copy Markdown
Collaborator Author

The merge went through with no conflicts, and from my glance, I can see your changes were applied. This should be ready for review.

Note: while I made IT tests, i had to run them manually because for some reason the Embedded PG instance can not initilize on my local enviornment. I'm hoping the tests will run on the git action.

@chrisknoll

Copy link
Copy Markdown
Collaborator Author

Looks like tests pass and merge was clean, so @p-hoffmann if you want to give a quick review, this can be merged when ready.

@chrisknoll chrisknoll merged commit 8af7932 into webapi-3.0 Jun 25, 2026
6 checks passed
@chrisknoll chrisknoll deleted the cknoll/api-key branch June 25, 2026 13:11
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