VAULT-19237 Add mount_type to secret response (#23047)

* VAULT-19237 Add mount_type to secret response

* VAULT-19237 changelog

* VAULT-19237 make MountType generic

* VAULT-19237 clean up comment

* VAULT-19237 update changelog

* VAULT-19237 update test, remove mounttype from wrapped responses

* VAULT-19237 fix a lot of tests

* VAULT-19237 standby test
This commit is contained in:
Violet Hynes
2023-09-20 09:28:52 -04:00
committed by GitHub
parent 873243df02
commit f943c37a83
23 changed files with 561 additions and 356 deletions

View File

@@ -33,6 +33,7 @@ func TestSysInternal_UIMounts(t *testing.T) {
"auth": map[string]interface{}{},
"secret": map[string]interface{}{},
},
"mount_type": "",
}
testResponseBody(t, resp, &actual)
expected["request_id"] = actual["request_id"]
@@ -62,6 +63,7 @@ func TestSysInternal_UIMounts(t *testing.T) {
"auth": nil,
"lease_id": "",
"renewable": false,
"mount_type": "",
"lease_duration": json.Number("0"),
"data": map[string]interface{}{
"secret": map[string]interface{}{