From 110993670057ed4b57468503fb7f31d7b91c2ad6 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Wed, 27 Jul 2016 09:25:04 -0400 Subject: [PATCH] Plumb request UUID through the API --- api/secret.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/secret.go b/api/secret.go index 8ac70ba254..14924f9d08 100644 --- a/api/secret.go +++ b/api/secret.go @@ -9,6 +9,9 @@ import ( // Secret is the structure returned for every secret within Vault. type Secret struct { + // The request ID that generated this response + RequestID string `json:"request_id"` + LeaseID string `json:"lease_id"` LeaseDuration int `json:"lease_duration"` Renewable bool `json:"renewable"`