couchbase-analytics
    Preparing search index...

    Interface ICredential

    ICredential specifies a credential which uses an RBAC username and password to authenticate with the cluster.

    Retained for back-compat with code that imported the type from earlier versions. Use the Credential class directly. Not accepted as input to createInstance or Cluster.setCredential — both require a Credential or JwtCredential instance.

    interface ICredential {
        password: string;
        username: string;
    }

    Implemented by

    Index

    Properties

    Properties

    password: string

    The password to authenticate with.

    username: string

    The username to authenticate with.