File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,21 @@ docker run --name some-sqld -ti \
60
60
ghcr.io/tursodatabase/libsql-server: latest
61
61
```
62
62
63
+ ## Authentication
64
+
65
+ ### `SQLD_HTTP_AUTH`
66
+
67
+ Specifies legacy HTTP basic authentication. The argument must be in format `basic:$PARAM`,
68
+ where `$PARAM` is base64-encoded string `$USERNAME:$PASSWORD`.
69
+
70
+ ### `SQLD_AUTH_JWT_KEY_FILE`
71
+
72
+ Path to a file with a JWT decoding key used to authenticate clients in the Hrana and HTTP
73
+ APIs. The key is either a PKCS#8-encoded Ed25519 public key in PEM, or just plain bytes of
74
+ the Ed25519 public key in URL-safe base64.
75
+
76
+ You can also pass the key directly in the env variable SQLD_AUTH_JWT_KEY.
77
+
63
78
## Environment variables
64
79
65
80
### `SQLD_NODE`
@@ -100,7 +115,6 @@ container networking level.
100
115
Defines the GRPC listen address and port for sqld. Primarily used for
101
116
inter-node communication. Recommended to leave this on default.
102
117
103
-
104
118
## Docker Compose
105
119
106
120
Simple docker compose for local development:
You can’t perform that action at this time.
0 commit comments