Skip to content

@oneplatform/sdk


@oneplatform/sdk / ApiKeyAuthConfig

Interface: ApiKeyAuthConfig

Defined in: packages/sdk/src/types/client-options.ts:8

Authentication and client configuration types.

Exactly one auth mode must be active per client instance. The SDK selects the mode at construction time from the provided AuthConfig discriminated union.

Properties

apiKey

readonly apiKey: string

Defined in: packages/sdk/src/types/client-options.ts:10

API key. Must start with "op_live_" or "op_test_". Server-side only.