big-r81 commented on issue #4655:
URL: https://github.com/apache/couchdb/issues/4655#issuecomment-1616640123

   Hi,
   
   you send only the value in the body as JSON string. You will need to 
double-escape the `\n`.
   
   Example:
   ```
   curl -X PUT 
"http://a:[email protected]:15984/_node/_local/_config/jwt_keys/hmac:testkey"; -d 
'"-----BEGIN PUBLIC KEY-----\\nMIIBIjAN....DAQAB\\n-----END PUBLIC KEY-----\\n"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to