Friday, February 19, 2016

Configuring Secure Vault in API Manager

I have discussed configuring secure vault in my previous blogpost. In API Manager also the steps would be same. The additional file that needed to be encrypted will be the api-manager.xml. In api-manager.xml, there will be three sections that will be used password for achieve their functionality. They will be as follow
  • Auth Manager Section
  • API Key Validator Section
  • Environments Section
To encrypt the passwords. Please follow below approach. The alias should be have the following format.

cipher-tool.properties

AuthManager.Password=repository/conf/api-manager.xml//APIManager/AuthManager/Password,true
APIGateway.Environments.Environment.Password=repository/conf/api-manager.xml//APIManager/APIGateway/Environments/Environment/Password,true
APIKeyValidator.Password=repository/conf/api-manager.xml//APIManager/APIKeyValidator/Password,true

cipher-text.properties

APIKeyValidator.Password=[admin]
APIGateway.Environments.Environment.Password=[admin]
AuthManager.Password=[admin]

Then execute  ./ciphertool.sh -Dconfigure

Note : Please replace your passwords with actual values in cipher-text.properties
 before execute ./ciphertool.sh -Dconfigure

No comments:

Post a Comment