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

    Interface PayloadServiceBaseClient

    Defines the low-level gRPC client for the nebius.mysterybox.v1.PayloadService service.

    interface PayloadServiceBaseClient {
        get(
            request: GetPayloadRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: SecretPayload) => void,
        ): SurfaceCall;
        getByKey(
            request: GetPayloadByKeyRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (
                error: ServiceError | null,
                response: SecretPayloadEntry,
            ) => void,
        ): SurfaceCall;
    }

    Hierarchy

    • Client
      • PayloadServiceBaseClient
    Index
    • Returns the secret's payload in its decrypted format.

      Parameters

      • request: GetPayloadRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: SecretPayload) => void
          • (error: ServiceError | null, response: SecretPayload): void
          • Returns the secret's payload in its decrypted format.

            Parameters

            Returns void

      Returns SurfaceCall

    • Returns the secret's payload value by key in its decrypted format.

      Parameters

      Returns SurfaceCall