Setting Vault Config

This topic describes the systematic instructions to setting Vault Config.

Note: subscription for the Vault services in OCI is required.

  1. Navigate to <root_dir>
  2. Create a folder with name Vault_Config.
  3. Login to OCI, using your credentials. Switch to the region you have Vault services.
  4. Click on the user icon → Click on first option oracle/<Your email id>
  5. Click on the Add API Key.

    The Add API Key popup screen is displayed.

  6. Click on Download Private Key to download the file from the Add API Key screen.
  7. Then click on Add.

    A pop-up window Configuration File Preview is displayed.

    Figure 5-3 Download Private Key



  8. Copy the content of the file and save it as a text file named config.txt.

    Figure 5-4 Configuration File Preview



  9. Save the file in the Vault_Config folder created (in step 1).
  10. Copy the Private Key file downloaded (in step 5) in the Vault_Config folder created (in step 1) and named it key.pem.
  11. Edit config.txt file and change the key file path to the path of the private file in the secret folder.

    For example: key_file=./Vault_Config/key.pem

  12. Save the file config.txt .