Skip to content

Commit

Permalink
feat: add description of jwt expiration config (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakanechi authored Jul 18, 2024
1 parent d32176a commit ba24fff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/cluster-management/configure-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ Configure the validation of incoming JWTs from the API.
| Key | Default | Description |
|:----------------------|:--------|:------------------------------------------------------------------------------------------------------|
| SECRET_JWT_PUBLIC_KEY | *none* | The public key used for verifying the signature of the JWT. Use the same one as configured in the API |
| JWT_MAX_AGE | 13h | Expiration of JWT |

```yaml
# config/local.yaml
auth:
jwtPublicKey: |
PUBLIC KEY HERE
jwtMaxAge: 13h
```
### Serving
Expand Down
2 changes: 2 additions & 0 deletions docs/ja/cluster-management/configure-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ APIから渡されるJWTのバリデーションについて設定します。
キー | デフォルト | 説明
--- | --- | ---
SECRET_JWT_PUBLIC_KEY | *なし* | JWTの署名を検証するために使用される公開鍵。APIと同じものを設定します。
JWT_MAX_AGE | 13h | JWTの有効期間。

```yaml
# config/local.yaml
auth:
jwtPublicKey: |
PUBLIC KEY HERE
jwtMaxAge: 13h
```
### 配信
Expand Down

0 comments on commit ba24fff

Please sign in to comment.