pve-client
    Preparing search index...

    Type Alias ClientOptions

    ClientOptions: (
        | { apiToken: string }
        | { password: string; realm?: string; username: string }
    ) & { agent?: Agent; apiPath?: string; baseUrl: string; fetch?: FetchLike }

    Type Declaration

    • { apiToken: string }
      • apiToken: string

        API token string, either full "PVEAPIToken=user@realm!token=secret" or shorthand "user@realm!token=secret"

    • { password: string; realm?: string; username: string }
      • password: string
      • Optionalrealm?: string

        Defaults to "pam"

      • username: string