Skip to main content

How to integrate HashiCorp Vault with TestGrid

Overview

This documentation demonstrates how to seamlessly integrate your HashiCorp vault instance into the TestGrid platform and guides you through the integration process and demonstrates how to utilize stored credentials within the codeless automation projects.
 

Step 1: Log in to the TestGrid using valid credentials and navigate to the Dashboard.

  • Navigate to the Integrations section from the side panel

 

 

Step 2: In the Integrations section, select the “HashiCorp Vault” option as depicted in the below screenshot.

 

 

Step 3: Enter Vault credentials for your instance as depicted in the below screenshot.

 

 

Step 4: Enter required details like the Vault URL, Role ID, Secret ID, and Base Path, and finally tap on the “Connect & Install” button.

 

 

  • After clicking on the “Connect & Install” button, the successful message appears on the screen, validating that HashiCorp Vault is now integrated successfully as depicted in the below SS
  •  


 

Step 5: Navigate to the Codeless module.

 

 

Step 6: Click Create a New Project or select an existing project from the directory to retrieve the Vault secret path in your test case and navigate to your test case.

 

 

Step 7: Open the respective test case with codeless to add the specific vault configuration to the test case.

 

 

  • Select the action keyword parameter for further configuration as depicted in the below screenshot.

 

 

  • Select a specific element where the action is to be performed using automation.

 

 

Step 8: Now, the keys from the secret path of HashiCorp Vault can be used as depicted below in the screenshot.

 

 

  • The selected Vault key from the secret path will now be available in your test case.

 

 

Table of Contents