Was this helpful?
Specifies the path of the secret.
DELETE /v1/cubbyhole/{path} HTTP/1.1 Host: localhost:8200 Accept: */*
Secret deleted successfully. No content is returned.
No content
Return a list if true.
true
GET /v1/cubbyhole/{path} HTTP/1.1 Host: localhost:8200 Accept: */*
Secret retrieved successfully.
{ "request_id": "abcd-1234", "lease_id": "", "renewable": false, "lease_duration": 0, "data": { "foo": "bar" }, "wrap_info": null, "warnings": null, "auth": null }
POST /v1/cubbyhole/{path} HTTP/1.1 Host: localhost:8200 Content-Type: application/json Accept: */* Content-Length: 13 { "foo": "bar" }
Secret written successfully.
{ "request_id": "abcd-5678", "lease_id": "", "renewable": false, "lease_duration": 0, "data": null, "wrap_info": null, "warnings": null, "auth": null }