Secret Store Integration
Overview
In the Integrations menu, you can input and manage information for the Secret Store.
Secret Store allows secure management of database and server credentials, enabling safe access to databases and servers without exposing credentials directly to users. You can configure it to retrieve authentication information from the Secret Store rather than storing it internally in QueryPie.
The actual use of Secret Store can be configured in the Security menu. Here is a list of Secret Store services currently supported or planned to be supported by QueryPie.
HashiCorp Vault
AWS Secret Manager (planned support)
Prerequisites for Vault Integration:
Vault Server for QueryPie Integration:
The Vault server must be operational. It should be running, capable of handling API requests, and able to perform authentication processing.
Credentials Stored in Vault:
To integrate with Vault, you must pre-store the authentication information for services (e.g., databases, servers) that will access Vault. This includes the access rights and authentication details (e.g., username, password, API key) for the services you intend to integrate.
Correct Path for Credential Retrieval:
The path used to identify credentials in Vault must be accurate. This path specifies which credentials to retrieve from Vault and links to the stored resources and credentials.
For more detailed configuration of Vault, please refer to the official Hashicorp Vault Documentation.
To store authentication information in Secret Store within QueryPie, you need to enable Secret Store usage on the Security page after completing the Vault integration. For detailed instructions, refer to the Security > Secret Store Configuration document.
Viewing HashiCorp Vault Integration Information
Navigate to the Administrator > General > System > Integrations > HashiCorp Vault menu.
Click the HashiCorp Vault tile under Secret Store.
View the list of currently integrated Vault instances.
Deleting HashiCorp Vault Integration Information
Navigate to the Administrator > General > Security to disable Secret Store on the Security Page. You must first delete all integrated Vault information. Delete all linked Vault configurations to disable Secret Store.
Select checkboxes in the table to display the
Delete
button in the header area. Click the button.In the confirmation modal, click
OK
button.Confirm the deletion of the selected items in the list.
Entering HashiCorp Vault Integration Information
Click the
Connect
button on the HashiCorp Vault page.Name : Enter a name for the Secret Store.
Service : Select the service (DB or Server) to use with this Secret Store.
The Service field cannot be changed after saving.
Enter the authentication information for integration according to the selected Secret Store type.
Server Address : Enter the address of the Secret Store server.
Auth Method : Choose the authentication method for QueryPie and Vault.
Currently, token-based authentication is supported.
Secret Engine : Select the type of HashiCorp Vault Secret Engine.
Supported types are Database and K/V engine 2.
Secret Engine cannot be changed after saving.
If you need to make changes, you must first remove the Secret Store settings from all connections and then reconfigure them.
Namespace : Enter the Vault namespace.
Once you have entered all the required information, click the
Verify Integration
button.If all information is correctly entered, a Success message will appear.
Click
OK
to save the settings.