Skip to content

feat(rest): Introduce a REST Api for interacting with the basic cache functions - #26

Merged
SirBerg merged 23 commits into
mainfrom
feat-rest
May 22, 2026
Merged

SirBerg merged 23 commits into
mainfrom
feat-rest

Conversation

@SirBerg

@SirBerg SirBerg commented May 22, 2026

Copy link
Copy Markdown
Member

This PR introduces the Basic routes for these features:

  • CRUD Operations on Tenants
  • CRUD Operations on Derivations
  • CRUD Operations on Api Keys
  • CRUD Operations on Access Rules
  • CRUD Operations on Signing Keys

All of these routes live under the prefix /api/v1/iglu/rest .
Anything that has to do with the Tenants (Tenants, Derivations, Access Rules) are hosted under /api/v1/iglu/rest/tenants and anything else is hosted under /api/v1/iglu/rest/keys.

These Reset Routes need to be enabled by setting enable_rest = true in the server section of your config.toml. This is done so that public facing instances won't have to expose these functions if you the Administrator does not want to do that.

I plan to support only specific IPs for the Rest routes in the future (i.e you can only whitelist the controller IP once we actually get that thing going).

@SirBerg
SirBerg requested a review from Svenum May 22, 2026 06:47
@SirBerg
SirBerg merged commit 5c2e909 into main May 22, 2026
9 checks passed
@Svenum
Svenum deleted the feat-rest branch May 22, 2026 07:37
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.

2 participants