@runloop/api-client - v1.31.0
    Preparing search index...

    Interface AuthMechanism

    Defines how the primary credential is applied to requests proxied to the upstream.

    interface AuthMechanism {
        type: string;
        key?: string | null;
    }
    Index

    Properties

    Properties

    type: string

    The type of authentication mechanism: 'header', 'bearer', or 'basic'. For 'basic', store the secret as plain 'user:pass'; the proxy base64-encodes it.

    key?: string | null

    The header name (e.g., 'x-api-key'). Required for 'header' type; invalid for other types.