Multiple schemas
# spicedb
c
Hello, I would like to know how to create and manage multiple schemas in SpiceDB. Currently, my service is configured as follows:
Copy code
[Unit]
Description=spicedb
After=network.target

[Service]
ExecStart=/usr/bin/spicedb serve --grpc-preshared-key "my_grpc_key" --datastore-engine postgres --datastore-conn-uri postgresql://svc-spicedb:pgsql_password@my-pgsql-server:5432/spicedb
Restart=on-failure
User=root
Group=root

[Install]
WantedBy=multi-user.target
However, I would like to know how to configure SpiceDB to use multiple schemas. Do I need to create multiple services for each schema, or is there another recommended method to manage this within a single service? Thank you for your help.
v
SpiceDB does not support multiple schemas. The recommended way is to create multiple instances of the service per tenant using the spicedb-operator. You can alternatively find a way to bake multi-tenancy into the schema
c
thank for your anwser
for authz, we can use multiple instance, how do you handle it?
v
You create multiple spiceDB clusters using the spiceDB operator
149 Views