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

    Interface AsymmetricKeyServiceBaseClient

    Defines the low-level gRPC client for the nebius.kms.v1.AsymmetricKeyService service.

    interface AsymmetricKeyServiceBaseClient {
        create(
            request: CreateAsymmetricKeyRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Operation) => void,
        ): SurfaceCall;
        delete(
            request: DeleteAsymmetricKeyRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Operation) => void,
        ): SurfaceCall;
        get(
            request: GetAsymmetricKeyRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: AsymmetricKey) => void,
        ): SurfaceCall;
        getByName(
            request: GetAsymmetricKeyByNameRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: AsymmetricKey) => void,
        ): SurfaceCall;
        list(
            request: ListAsymmetricKeysRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (
                error: ServiceError | null,
                response: ListAsymmetricKeysResponse,
            ) => void,
        ): SurfaceCall;
        undelete(
            request: UndeleteAsymmetricKeyRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Operation) => void,
        ): SurfaceCall;
        update(
            request: UpdateAsymmetricKeyRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Operation) => void,
        ): SurfaceCall;
        updateDeletionDelay(
            request: UpdateAsymmetricKeyDeletionDelayRequest,
            metadata: Metadata,
            options: Partial<CallOptions>,
            callback: (error: ServiceError | null, response: Operation) => void,
        ): SurfaceCall;
    }

    Hierarchy

    • Client
      • AsymmetricKeyServiceBaseClient
    Index
    • Creates an asymmetric KMS key in the specified container.

      Parameters

      • request: CreateAsymmetricKeyRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Operation) => void
          • (error: ServiceError | null, response: Operation): void
          • Creates an asymmetric KMS key in the specified container.

            Parameters

            • error: ServiceError | null
            • response: Operation

            Returns void

      Returns SurfaceCall

    • Schedules an asymmetric KMS key for deletion.

      Parameters

      • request: DeleteAsymmetricKeyRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Operation) => void
          • (error: ServiceError | null, response: Operation): void
          • Schedules an asymmetric KMS key for deletion.

            Parameters

            • error: ServiceError | null
            • response: Operation

            Returns void

      Returns SurfaceCall

    • Returns the specified asymmetric KMS key by id.

      Parameters

      • request: GetAsymmetricKeyRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: AsymmetricKey) => void
          • (error: ServiceError | null, response: AsymmetricKey): void
          • Returns the specified asymmetric KMS key by id.

            Parameters

            Returns void

      Returns SurfaceCall

    • Returns the specified asymmetric KMS key by name.

      Parameters

      • request: GetAsymmetricKeyByNameRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: AsymmetricKey) => void
          • (error: ServiceError | null, response: AsymmetricKey): void
          • Returns the specified asymmetric KMS key by name.

            Parameters

            Returns void

      Returns SurfaceCall

    • Returns the list of asymmetric KMS keys in the specified container.

      Parameters

      Returns SurfaceCall

    • Restores an asymmetric KMS key scheduled for deletion.

      Parameters

      • request: UndeleteAsymmetricKeyRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Operation) => void
          • (error: ServiceError | null, response: Operation): void
          • Restores an asymmetric KMS key scheduled for deletion.

            Parameters

            • error: ServiceError | null
            • response: Operation

            Returns void

      Returns SurfaceCall

    • Updates an asymmetric KMS key.

      Parameters

      • request: UpdateAsymmetricKeyRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Operation) => void
          • (error: ServiceError | null, response: Operation): void
          • Updates an asymmetric KMS key.

            Parameters

            • error: ServiceError | null
            • response: Operation

            Returns void

      Returns SurfaceCall

    • Update deletion delay for an asymmetric KMS key scheduled for deletion.

      Parameters

      • request: UpdateAsymmetricKeyDeletionDelayRequest
      • metadata: Metadata
      • options: Partial<CallOptions>
      • callback: (error: ServiceError | null, response: Operation) => void
          • (error: ServiceError | null, response: Operation): void
          • Update deletion delay for an asymmetric KMS key scheduled for deletion.

            Parameters

            • error: ServiceError | null
            • response: Operation

            Returns void

      Returns SurfaceCall