Skip to main content
Most integrations only need two things from these packages:
  • LocalDevSigner.fromKeyRef(...) to provide a signer to middleware, gateway, or audit setup
  • initTracing(...) to point Sec0 traces at your OTLP collector

signer

LocalDevSigner

Signer interface

Example

fromKeyRef(...) only accepts file:// paths and honors the allowed key directories controlled by SEC0_SIGNER_KEY_DIRS.

otel

OTelConfig

initTracing

Most Sec0 integrations do not need manual span helpers. Decorators, middleware, and gateway integrations already emit the expected spans and attributes for you.