Hiyve Components - v1.0.0
    Preparing search index...

    Interface AdminConfig

    Configuration for the AdminClient.

    The AdminClient is for server-side use only. It authenticates with a secret API key (sk_live_* or sk_test_*) and provides access to admin endpoints for managing profiles, users, orgs, and API keys.

    interface AdminConfig {
        baseUrl?: string;
        environment?: CloudEnvironment;
        secretKey: string;
        timeout?: number;
    }
    Index

    Properties

    baseUrl?: string

    Base URL for the API (overrides environment)

    environment?: CloudEnvironment

    Environment to connect to.

    • 'production' (default)
    • 'development'
    secretKey: string

    Secret API key (sk_live_* or sk_test_*). Must never be exposed client-side.

    timeout?: number

    Request timeout in milliseconds (default: 30000)