Open mosh0405 opened 4 years ago
When reading a secret, the returned response contains a "metadata" entry. The metadata information is not parsed and can't be accessed. There is no other API for checking the secret latest version number.
{"request_id":"...", "lease_id":"", "renewable":false, "lease_duration":0," data":{"data":{"foo":"fooAgain","foo2":"V2","foo4":"V4","foo5":"V5","foo6":"V6"}, "metadata":{"created_time":"2020-02-16T14:17:44.967231346Z","deletion_time":"","destroyed":false,"version":8}},"wrap_info":null,"warnings":null,"auth":null}
When reading a secret, the returned response contains a "metadata" entry. The metadata information is not parsed and can't be accessed. There is no other API for checking the secret latest version number.
{"request_id":"...", "lease_id":"", "renewable":false, "lease_duration":0," data":{"data":{"foo":"fooAgain","foo2":"V2","foo4":"V4","foo5":"V5","foo6":"V6"}, "metadata":{"created_time":"2020-02-16T14:17:44.967231346Z","deletion_time":"","destroyed":false,"version":8}},"wrap_info":null,"warnings":null,"auth":null}