• Decrypt a buffer using a Google Cloud KMS key.

    Parameters

    • cryptoKeyPath: string

      The path of the KMS crypto key to use.

    • buffer: Buffer

      The buffer to decrypt.

    Returns Promise<Buffer>

    The decrypted buffer.

Generated using TypeDoc