Member Junction
    Preparing search index...
    • The auth client for Vertex AI credentials, with the cloud-platform scope where the credential type takes scopes: the key file's client when the key names one (environment keys only), else a JWT client for an inline service account, else undefined for Application Default Credentials.

      Parameters

      Returns Promise<AuthClient>

      key-file-not-allowed for a key file in a key that is not the environment key (before the file is touched); unreadable-key-file or invalid-key-file for a key file that cannot be read or is not a credential. No message quotes the path or a private key; invalid-key-file passes on the library's reason (a missing field, an unsupported configuration).

      The library's error for an inline service account it cannot use (no client_email).