You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On Vault 1.16.2 display of json secrets breaks when a value in the json object is null. On inspection of the console, I realized that the javascript code was failing with the error. Uncaught (in promise) TypeError: Cannot convert undefined or null to object
at Function.keys ()
To Reproduce
Steps to reproduce the behavior:
Create a kv secret engine then press the add secret button.
Toggle the json switch to on, give your secret a name and inside the text area add the following json
{
"key":null,
}
Click the save button. The secret should be saved but cannot be displayed on the //details?version=1 page as long as the json switch is toggled to on.
Expected behavior
The json content should display in the details page regardless of a value in the json being null.
Environment:
Vault Server Version (retrieve with vault status): 1.16.2
Vault CLI Version (retrieve with vault version): Vault v1.16.2 (c6e4c2d)
Server Operating System/Architecture: Ubuntu 20.04 arm64
Describe the bug
On Vault 1.16.2 display of json secrets breaks when a value in the json object is null. On inspection of the console, I realized that the javascript code was failing with the error. Uncaught (in promise) TypeError: Cannot convert undefined or null to object
at Function.keys ()
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The json content should display in the details page regardless of a value in the json being null.
Environment:
vault status
): 1.16.2vault version
): Vault v1.16.2 (c6e4c2d)Vault server configuration file(s):
The text was updated successfully, but these errors were encountered: