Files
neon/safekeeper/src
Vlad Lazar 5accf6e24a attachment_service: JWT auth enforcement (#6897)
## Problem
Attachment service does not do auth based on JWT scopes.

## Summary of changes
Do JWT based permission checking for requests coming into the attachment
service.

Requests into the attachment service must use different tokens based on
the endpoint:
* `/control` and `/debug` require `admin` scope
* `/upcall` requires `generations_api` scope
* `/v1/...` requires `pageserverapi` scope

Requests into the pageserver from the attachment service must use
`pageserverapi` scope.
2024-02-26 18:17:06 +00:00
..
2023-06-11 22:53:08 +04:00
2024-01-30 18:05:22 +04:00
2023-12-14 17:21:39 +00:00
2024-01-30 18:05:22 +04:00