Skip to content

Instantly share code, notes, and snippets.

@jfwood
Created January 26, 2016 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfwood/202996ebd2cccf9bee5e to your computer and use it in GitHub Desktop.
Save jfwood/202996ebd2cccf9bee5e to your computer and use it in GitHub Desktop.
Simple POST secrets
curl -v -k X POST -H 'X-Roles:admin' -H 'X-Project-Id:12345' -H 'X-User-Id:6789' -H 'content-type:application/json' \
-d '{"payload": "my-secret-here", "payload_content_type": "text/plain"}' \
$KEEP_ENDPOINT/v1/secrets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment