To provide an extra layer of security, client secrets and API secrets present in Hyland Identity Service can be encrypted using the Hyland Application Settings Utiltity (HASU).
The commands mentioned in this section encrypts the hashed values present in the configuration file, which is stored at rest.
Here is an example of an encryption command to encrypt client secrets in the idsconfig.json file:
.\Hyland.Application.Settings.Utility.exe write -a "C:\Program Files\Hyland\identityservice" --file "config\idsconfig.json" -p Tenants[0]:Clients[5]:SecretSettings:ClientSecrets[0]:Value --encrypt --inline
For example, the command having path value as Tenants[0]:Clients[5]:SecretSettings:ClientSecrets[0]:Value encrypts the first client secret value of the sixth client present in the configuration file.
Here is an example of the encryption command to encrypt API resource secrets in the idsconfig.json file:
.\Hyland.Application.Settings.Utility.exe write -a "C:\Program Files\Hyland\identityservice" --file "config\idsconfig.json" -p Tenants[0]:ApiResources[5]:ApiSecrets[0]:Value --encrypt --inline
For example, the command having path value as Tenants[0]:ApiResources[5]:ApiSecrets[0]:Value encrypts the second client secret value of the ninth API resource present in the configuration file.
Given below is an example of encryption command to encrypt the Admin Service Client in the idsconfig.json file.
.\Hyland.Application.Settings.Utility.exe write -a "C:\Program Files\Hyland\identityservice" --file "config\idsconfig.json" -p AdminServiceClient:SecretSettings:ClientSecrets:0:Value --encrypt --inline
AdminServiceClient:SecretSettings:ClientSecrets:1:Value encrypts the second client secret value of the Admin Service Client in the configuration file.
For detailed instructions on configuring client secrets, API resource, and managing secrets of the Service Account Client see: