Plumb request UUID through the API

This commit is contained in:
Jeff Mitchell
2016-07-27 09:25:04 -04:00
parent 05214fa19c
commit 1109936700

View File

@@ -9,6 +9,9 @@ import (
// Secret is the structure returned for every secret within Vault. // Secret is the structure returned for every secret within Vault.
type Secret struct { type Secret struct {
// The request ID that generated this response
RequestID string `json:"request_id"`
LeaseID string `json:"lease_id"` LeaseID string `json:"lease_id"`
LeaseDuration int `json:"lease_duration"` LeaseDuration int `json:"lease_duration"`
Renewable bool `json:"renewable"` Renewable bool `json:"renewable"`