Introduction
The Vault SSH secrets engine provides secure authentication and authorization for access to machines via the SSH protocol. The Vault SSH secrets engine helps manage access to machine infrastructure, providing several ways to issue SSH credentials.
Prerequisites
- Any Vault version ranging from 1.13.4 to 1.14.3.
- Enabled an SSH secret engine with multiple roles to test this.
Problem
SSH ROLE list appears correctly in the UI but encounters the error message: (<searchedtext>.id || <searchedtext>).toLowerCase is not a function
when querying a role with a filter from the Vault UI. The error message shows up regardless of whether the role exists or not.
Error while querying with a filter in Vault 1.14.2
Overview of possible solutions (if applicable)
Cause
This is due to a defect in the new UI and it is fixed from v1.14.4 onwards.
Workarounds:
-
On the UI, you can directly click on the available roles to read the values it stores.
-
Use the CLI to filter out the roles created under the SSH secret engine and read its values.