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

    Reads a PEM private key and combines it with service-account identifiers.

    Unlike CredentialsFileReader, this reader loads the private-key file each time PkFileReader.read runs. Restrict access to the file because it contains a secret.

    Implements

    Indexable

    • [key: symbol]: (() => string) | (() => object)

      Reads a PEM private key and combines it with service-account identifiers.

      Unlike CredentialsFileReader, this reader loads the private-key file each time PkFileReader.read runs. Restrict access to the file because it contains a secret.

      • () => string
          • (): string
          • Reads a PEM private key and combines it with service-account identifiers.

            Unlike CredentialsFileReader, this reader loads the private-key file each time PkFileReader.read runs. Restrict access to the file because it contains a secret.

            Returns string

      • () => object
          • (): object
          • Returns a JSON-safe value for logs.

            Returns object

    Index
    • Creates a reader for a PEM file.

      A leading ~ in filename resolves to the home directory.

      Parameters

      • filename: string
      • publicKeyId: string
      • serviceAccountId: string
      • Optionallogger: Logger

      Returns PkFileReader

    $type: "nebius.sdk.PkFileReader" = 'nebius.sdk.PkFileReader'

    Contains the fully qualified runtime type name.