Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once you create a vault, click here to use it to secure your confidential information.

Expand
titleUsing Vault

Using Vault

The URL we use in any application contains some confidential information like password which is passed as a plain text. To enhance the security, use vault to encrypt the password instead of providing the password as a plain text. Before using it in the URL, click here to create a new Vault.

After you have created a vault, write the following syntax in the URL of the JDBC drivers (given in the table below) replacing the confidential information:

{Vault.aliasName.key}

where,
Following an opening curly parentheses, 'Vault' is a keyword to be used every time (V in 'Vault' is UPPERCASE).
aliasName is the Vault Alias, where the parameter, which stores the confidential data, is defined.
key is the parameter which stores the confidential data.
Finally closed by a closing curly parentheses.
A period is used as a separator between Vault and aliasName; and aliasName and key.

Now if a REST Consumer Web Service is using vault for storing and fetching a password, we define the URL in the form:
http://server:host?username=<username>&password={Vault.aliasName.key}

For example-
http://192.168.1.195:8080?username=admin&password={Vault.safe.client_key}

Image Added


Expand
titleEdit Vault
  1. Click the Vault Name or, Click  next to the Vault you wish to edit, and select Edit.



  2. You can edit the information in the window that appears. Note that you cannot rename Alias once it is created. Other details that cannot be modified are 'Creation Date', 'Modified Date' and, 'Last Modified by'.



  3. Click Save.

...