https://github.com/nimbolus/jwks-federation-server
A simple HTTP service which serves a JWKS endpoint returning public keys which are fetched from multiple upstream sources
https://github.com/nimbolus/jwks-federation-server
federation jwks jws
Last synced: about 3 hours ago
JSON representation
A simple HTTP service which serves a JWKS endpoint returning public keys which are fetched from multiple upstream sources
- Host: GitHub
- URL: https://github.com/nimbolus/jwks-federation-server
- Owner: nimbolus
- Created: 2025-01-01T16:09:23.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-19T16:01:03.000Z (7 months ago)
- Last Synced: 2025-03-19T17:21:51.096Z (7 months ago)
- Topics: federation, jwks, jws
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jwks-federation-server
A simple HTTP service which serves a JWKS endpoint returning public keys which are fetched from multiple upstream sources.
## Usage
Create a config file named `config.yaml` based on the sample `config.sample.yaml` file. Next, update `upstream_jwks_urls` and optionally limit the keys which gets import by defining `allowed_kids`.
```sh
# start container
podman run -d -p 8080:8080 -v $PWD/config.yaml:/config.yaml:ro ghcr.io/nimbolus/jwks-federation-server
# sample request
curl localhost:8080/.well-known/jwks.json
```Alternatively all configuration options can be set via environment variables by using the prefix `JWKS_FEDERATION`, e.g. `JWKS_FEDERATION_LISTEN_ADDR=":8080"`.