Created Filer JWT Use (markdown)

jerebear12 2023-12-05 14:11:09 -06:00
parent 74d4f422f4
commit e7e2e6069b

11
Filer-JWT-Use.md Normal file

@ -0,0 +1,11 @@
## How to get a valid JWT
The Filer won't generate JWTs, you will have to configure another service to create a JWT with the same signing key set in the `security.toml` file described on the Security Configuration wiki page. When generating the JWT, ensure that the timeout in seconds matches the timeout set in the `security.toml` file.
## How to send a JWT to the Filer
The Filer supports receiving a JWT in three different forms:
1. Through the `Authorization: Bearer <token>` header
2. Via the request's query parameters: http://localhost:8888/buckets/all?jwt=token
3. In an HTTP-only cookie named AT(Access Token)