Databricks SDK for JavaScript
    Preparing search index...
    interface PutSecretRequest {
        key?: string;
        scope?: string;
        value?:
            | { $case: "stringValue"; stringValue: string }
            | { $case: "bytesValue"; bytesValue: Uint8Array };
    }
    Index

    Properties

    Properties

    key?: string

    A unique name to identify the secret.

    scope?: string

    The name of the scope to which the secret will be associated with.

    value?:
        | { $case: "stringValue"; stringValue: string }
        | { $case: "bytesValue"; bytesValue: Uint8Array }

    Type Declaration

    • { $case: "stringValue"; stringValue: string }
      • $case: "stringValue"
      • stringValue: string

        If specified, note that the value will be stored in UTF-8 (MB4) form.

    • { $case: "bytesValue"; bytesValue: Uint8Array }
      • $case: "bytesValue"
      • bytesValue: Uint8Array

        If specified, value will be stored as bytes.