cURL
curl --request POST \ --url https://platform.unstructuredapp.io/api/v1/users/secrets \ --header 'Content-Type: application/json' \ --data '{ "encrypted_value": "<string>", "type": "rsa", "encrypted_aes_key": "<string>", "aes_iv": "<string>" }'
{ "id": "<string>", "type": "rsa" }
After encrypting a secret locally, store it and get back a reference id.
Successful Response
The response is of type object.
object
Was this page helpful?