Skip to content

Commit cde1d21

Browse files
author
yzamir
committed
add readme
1 parent ebb97f8 commit cde1d21

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,14 @@ google-chrome "${signed_link}"
163163
| /auth/callback | flag -oauth-server-enable | OAuth2 authentication callback endpoint |
164164
| /auth/jwt/request | flag -jwt-request-enable | endpoint for generating JWT access keys |
165165

166+
167+
## Supported JWT Claims
168+
169+
| Claim | example | description | default |
170+
|---|---|---|---|
171+
|URLs | ["/api/v1/pods/*"] | list of allowed API, a `*` postfix indicate any suffix is allowed |
172+
|duration | "25m" | the duration to token will be valid | "1h"
173+
|from | "2016-11-01T20:44:39Z" | RFC3339 time the token will start to be valid | now
174+
|verbs | ["get","post"] | list of allowed verbs | ["get"]
175+
166176
(gopher network image - [egonelbre/gophers](https://github.com/egonelbre/gophers))

0 commit comments

Comments
 (0)