Databricks SDK for JavaScript
    Preparing search index...

    Interface CreateTokenRequest

    interface CreateTokenRequest {
        autoscopeEnabled?: boolean;
        comment?: string;
        lifetimeSeconds?: bigint;
        scopes?: string[];
    }
    Index

    Properties

    autoscopeEnabled?: boolean

    Whether to enable autoscoping for this token. When true, the token will automatically collect inferred API path scopes as it is used.

    comment?: string

    Optional description to attach to the token.

    lifetimeSeconds?: bigint

    The lifetime of the token, in seconds.

    If the lifetime is not specified, this token remains valid for 2 years.

    scopes?: string[]

    Optional scopes of the token.