Iskra API Reference
    Preparing search index...

    Interface ApiKeyRecord

    An API key as a store knows it.

    interface ApiKeyRecord {
        expiresAt?: Date | null;
        id: string;
        metadata?: Record<string, unknown>;
        name?: string;
        scopes?: readonly string[];
    }
    Index
    expiresAt?: Date | null
    id: string

    Names the key (never the key itself): the actor's id.

    metadata?: Record<string, unknown>
    name?: string
    scopes?: readonly string[]