Authentication, TLS, and authorization for sfsEdgeStore.
sfsEdgeStore follows a local-first architecture that ensures full data sovereignty:
This is a key differentiator for industries handling sensitive industrial data in Europe and other privacy-regulated regions.
sfsEdgeStore supports AES-256 encryption for data stored on disk:
{
"db_use_encryption": true,
"db_encryption_key": "your-encryption-key",
"db_encryption_algorithm": "aes-256-gcm"
}
Why this matters for GDPR compliance:
Rotate encryption key:
sfsEdgeStore supports API key-based authentication for protecting sensitive endpoints.
curl -X POST http://localhost:8081/api/auth/create-key
curl http://localhost:8081/api/auth/list-keys
curl -X POST http://localhost:8081/api/auth/revoke-key
sfsEdgeStore implements role-based access control with the following roles:
| Role | Permissions |
|---|---|
| Admin | Full access to all APIs |
| Viewer | Read-only access to data and metrics |
| Operator | Read access + backup/restore operations |
Secure MQTT communication:
{
"mqtt_use_tls": true,
"mqtt_ca_cert": "/etc/ssl/certs/ca.pem",
"mqtt_client_cert": "/etc/ssl/certs/client.pem",
"mqtt_client_key": "/etc/ssl/private/client.key"
}
Secure HTTP communication:
{
"http_use_tls": true,
"http_cert": "/etc/ssl/certs/server.pem",
"http_key": "/etc/ssl/private/server.key"
}
Encrypt data at rest:
{
"db_use_encryption": true,
"db_encryption_key": "your-encryption-key",
"db_encryption_algorithm": "aes-256-gcm"
}
Rotate encryption key:
curl -X POST http://localhost:8081/api/encryption/rotate-key
curl http://localhost:8081/api/encryption/status
For European deployments, ensure the following:
db_use_encryption: true)enable_retention_policy: true)Only expose necessary ports:
| Port | Protocol | Purpose |
|---|---|---|
| 8081 | TCP | HTTP/HTTPS API |
| 1883 | TCP | MQTT (if running broker locally) |