Skip to content

Instantly share code, notes, and snippets.

@iambowen
Last active December 20, 2016 16:16
Show Gist options
  • Save iambowen/8d2535f26c579d4055639520e4da138a to your computer and use it in GitHub Desktop.
Save iambowen/8d2535f26c579d4055639520e4da138a to your computer and use it in GitHub Desktop.
~> curl -v  -X PUT   -d "{\"secret_shares\":1, \"secret_threshold\":1}"   http://127.0.0.1:8200/v1/sys/init
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8200 (#0)
> PUT /v1/sys/init HTTP/1.1
> Host: 127.0.0.1:8200
> User-Agent: curl/7.49.1
> Accept: */*
> Content-Length: 41
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 41 out of 41 bytes
* Empty reply from server
* Connection #0 to host 127.0.0.1 left intact
curl: (52) Empty reply from server
bwma@Heaven(12:14 AM){~/github/microservices-training-lesson-8-security/vault}[master*]
 ~> telnet 0 8200
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
Connection closed by foreign host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment