NamespaceAccessInfo interface

Access information for an AI Manager namespace, including the OpenAI-compatible gateway endpoint and the API keys used to authenticate against it.

Properties

endpoint

OpenAI-compatible inference gateway base URL (for example, https://team-alpha.<cluster>.<region>.aksapp.io/v1).

lastRotatedAt

UTC time the keys were last rotated by rotateKeys. Absent until the first rotation. Clients can use this to detect rotation and refresh cached credentials.

primaryKey

Primary API key. Send as Authorization: Bearer <key> or api-key: <key>. Treat as secret; do not log or persist in plaintext.

secondaryKey

Secondary API key, accepted by the gateway in the same headers as primaryKey. Generated independently when the namespace is created, then overwritten by the previous primaryKey on each rotateKeys call so clients can roll over without downtime. Treat as secret; do not log or persist in plaintext.

Property Details

endpoint

OpenAI-compatible inference gateway base URL (for example, https://team-alpha.<cluster>.<region>.aksapp.io/v1).

endpoint: string

Property Value

string

lastRotatedAt

UTC time the keys were last rotated by rotateKeys. Absent until the first rotation. Clients can use this to detect rotation and refresh cached credentials.

lastRotatedAt?: Date

Property Value

Date

primaryKey

Primary API key. Send as Authorization: Bearer <key> or api-key: <key>. Treat as secret; do not log or persist in plaintext.

primaryKey: string

Property Value

string

secondaryKey

Secondary API key, accepted by the gateway in the same headers as primaryKey. Generated independently when the namespace is created, then overwritten by the previous primaryKey on each rotateKeys call so clients can roll over without downtime. Treat as secret; do not log or persist in plaintext.

secondaryKey: string

Property Value

string