We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00da49c + 2553dd3 commit 43644dbCopy full SHA for 43644db
1 file changed
example/remote/main.go
@@ -1,3 +1,18 @@
1
+// Example: Connecting to an encrypted Turso Cloud database
2
+//
3
+// This example shows how to connect to a Turso Cloud database with
4
+// remote encryption using the go-libsql driver.
5
6
+// Documentation of encrypted databases - https://docs.turso.tech/cloud/encryption
7
8
+// Usage:
9
10
+// export TURSO_URL="libsql://your-db.aws-us-east-2.turso.io"
11
+// export TURSO_AUTH_TOKEN="your-token"
12
+// export TURSO_REMOTE_ENCRYPTION_KEY="encryption key in base 64 encoded format"
13
+// go run main.go
14
15
+// The encryption key must be encoded in base64 format.
16
package main
17
18
import (
0 commit comments