|
curl -X PUT -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'X-Project-Id:12345' -d\
|
|
'{
|
|
"payload": "this is my secret",
|
|
"payload_content_type": "application/octet-stream",
|
|
"payload_content_encoding": "base64"
|
|
}'\
|
|
https://endpointURL/v1/secrets/secretID
|