Section 4 · Authenticate the SDK

What a scope and an access policy are, why your token carries sigil:write and the three OTLP scopes, and the earlier names Sigil and sigil-sdk.

Estimated time: 1 min

The scopes on your token

In Milestone 3 you created a token scoped for everything this journey does. Here is what each scope allows and why one token is enough.

What a scope is

A scope is a specific action on a specific service, and an access policy is composed of one or more scopes. Token permissions are controlled by the access policy they belong to.

The sigil:write scope

Your token carries sigil:write, which lets the SDK write your agent’s generation data to Agent Observability. Enabling Agent Observability on the stack makes this scope available. In basic mode, the SDK sends this token as basicPassword.

Note

The product, internal codename Sigil, has been officially renamed to Agent Observability, effective July 15, 2026. The SDK is being renamed from sigil-sdk, its earlier package name, to agento11y, and new packages are published under the agento11y name.

The three OTLP scopes

Your token also carries three scopes for OpenTelemetry, so the same token can send metrics, logs, and traces:

  • metrics:write
  • logs:write
  • traces:write

One token covers both channels, generation data and OpenTelemetry metrics, logs, and traces, and is easier to rotate than two.