Documentation

Go Python

Community Module

These modules are maintained by the community, outside of the Testcontainers project.

Description

SpiceDB is an Open Source, Google Zanzibar-inspired database for scalably storing and querying fine-grained authorization data.

Examples

Dependency:
go get github.com/Mariscal6/testcontainers-spicedb-go
Usage:
  spiceDBContainer, err := spicedb.Run(context.Background(), "authzed/spicedb:v1.33.0")
Dependency:
pip install testcontainers-spicedb
Usage:
  from testcontainers_spicedb import SpiceDBContainer
  # Using context manager (recommended)
  with SpiceDBContainer(image="authzed/spicedb:v1.47.1") as spicedb:
    endpoint = spicedb.get_endpoint()
    secret_key = spicedb.get_secret_key()

    # Use endpoint and secret_key with your SpiceDB client
    # ...