The `tls.private.key` type is indeed modeled as a password but for the sake of how to assign values; it is just a string. Therefore, you can provide any valid string to it regardless if it is long or not.

Regarding escaping, I understand how this can be a PITA. I would recommend either:

1. *Using Postman variables*: define a variable with the public key and then reference in the payload using the `{{$var.name}}` notation.

2. *Use a Bastion Server and cURL*: you can use a bastion server to SSH from your machine and then have access to the machine that hosts your Kafka Connect server. While in there; you can use cURL to execute the POST command along with the `--data-urlencode` parameter.

Thanks,

-- Ricardo

On 7/14/20 11:30 PM, vishnu murali wrote:
Hi Ricardo

Thanks for the response

But the tls.private.key type was a password and I am giving request through postman

In this place how can we give that public key value in postman as a string

That public key having so many characters which not included within that string double quotes..

More escape sequence will be there in the public key

In this situation do u know how can we use this??

On Wed, Jul 15, 2020, 02:06 Ricardo Ferreira <rifer...@riferrei.com <mailto:rifer...@riferrei.com>> wrote:

    Vishnu,

    A public key file can be specified via the property `tls.public.key`.

    Thanks,

    -- Ricardo

    On 7/14/20 6:09 AM, vishnu murali wrote:
    Hi all,

    I am using SFTP connector which that SFTP connection can be accessed by
    using public key file.

    How can I give this configuration in postman to start sftp connector?

    Anyone have any suggestions?

Reply via email to