8.3.1.3 Step 2: Add the User Name and Password Vault Reference (Optional)

Under the prefix that you used in Step 1, create key-value pairs with the database user name and password for authentication to Oracle Database. The password value is a vault reference.

This step is optional. With this configuration, you can omit database credentials in the connect identifier for the database connection.
  1. Ensure that you have created Azure Key Vault with the database password stored as a secret, as explained in Prerequisites for Using the Azure App Configuration Store.
  2. On the Configuration explorer page of your Azure App Configuration store, click Create and select Key-value to add a key-value pair with the database user name.
    • Key: Add a key with the user suffix to your chosen prefix.

      For example, to the database/sales/ prefix, add a key as:
      database/sales/user
    • Value: Store a value for your key by specifying the database user name.

    As shown in the following image, the suffix user in the database/sales/user key is paired with scott as its value:

  3. Click Create and select Key Vault reference to add a key-value pair with the database password.
    • Key: Add a key with the password suffix to your chosen prefix.

      For example, to the database/sales/ prefix, add a key as:
      database/sales/password
    • Value: Select the Key Vault and Secret values corresponding to the Azure Key Vault that you created for storing your database password.

    As shown in the following image, the suffix password in the database/sales/password key is paired with dbclient-sales-secret (stored in vault1) as its value: