Databricks SDK for JavaScript
    Preparing search index...

    Interface CreateServicePrincipalSecretRequest

    interface CreateServicePrincipalSecretRequest {
        accountId?: string;
        lifetime?: Duration;
        scopes?: string[];
        servicePrincipal?: string;
    }
    Index

    Properties

    accountId?: string

    The account ID.

    lifetime?: Duration

    The lifetime of the secret in seconds. If this parameter is not provided, the secret will have a default lifetime of 730 days (63072000s).

    scopes?: string[]

    OAuth API scopes to bind to the secret; a minted token cannot exceed them. Empty = unrestricted (all-apis). E.g. all-apis, sql, iam.groups:read.

    servicePrincipal?: string

    The service principal ID.