@nebius/js-sdk - v0.2.54
    Preparing search index...

    Type Alias ServiceAccountInit

    ServiceAccountInit:
        | ServiceAccount
        | Reader
        | { privateKeyPem: string; publicKeyId: string; serviceAccountId: string }

    Defines the service account values accepted by SDKOptions.credentials.

    Keep private keys outside source control. A reader can load the key only when the SDK needs it.

    Type Declaration

    • ServiceAccount
    • Reader
    • { privateKeyPem: string; publicKeyId: string; serviceAccountId: string }
      • privateKeyPem: string

        Contains the private key PEM.

      • publicKeyId: string

        Contains the public key ID.

      • serviceAccountId: string

        Contains the service account ID.