Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/configuration/configure-aidbox-and-multibox.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ openssl ec -in key.pem -pubout -out public.pem
Use these env vars to pass the keypair:

```yaml
BOX_AUTH_KEYS_PRIVATE: "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----" # or -----BEGIN EC PRIVATE KEY-----
BOX_AUTH_KEYS_PUBLIC: "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----"
BOX_SECURITY_AUTH_KEYS_PRIVATE: "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----" # or -----BEGIN EC PRIVATE KEY-----
BOX_SECURITY_AUTH_KEYS_PUBLIC: "-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----"
```

You can also use YAML multi-line strings for passing values of the keys:

```yaml
BOX_AUTH_KEYS_PUBLIC: |
BOX_SECURITY_AUTH_KEYS_PUBLIC: |
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtknsklLTP1y6HPtR2oYs
...
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/aidbox-forms-reference/aidbox-sdc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ issue:

> Aidbox uses HS256 to sign JWT token by default. To use RS256 you need to set
>
> `BOX_AUTH_KEYS_PRIVATE` and `BOX_AUTH_KEYS_PUBLIC` environment variables.
> `BOX_SECURITY_AUTH_KEYS_PRIVATE` and `BOX_SECURITY_AUTH_KEYS_PUBLIC` environment variables.
>
> [See settings](https://docs.aidbox.app/reference/settings/security-and-access-control#security.auth.keys.public)

Expand Down