The credential store provides a way to use passwords without exposing these to developers. The server administrator is responsible for setting up the credential store and filling it with passwords. The server administrator should provide a list of available credentials to developers. These developers can use the identifier of a password.
There are two available ways to store passwords:
jsonfile on disk;
- in the Azure Key Vault.
You can only use one of the methods simultaneously.
An Azure environment should be available for Azure Key Vault.
The file-based credential store is a
json file that resides on disk, called
credential_store.json. This file must contain a single object, containing a set of key-value pairs, where:
- key is the identifier that developers should use,
- value contains the actual password.
Follow these steps to create a file-based credential store containing one password, with
PasswordIdentifer as an identifier.
Create a new text file in the
Enter the following information in the file:
Save the file.
Go to the Superadmin Settings tab.
Add the following entry to the Server settings:
Updated about a month ago