Class ExternalVaultConfigLoader
java.lang.Object
org.wso2.carbon.mediation.security.vault.external.ExternalVaultConfigLoader
ExternalVaultLoader contains utilities to load configuration file content required for External vault loader
implementation.-
Method Summary
Modifier and TypeMethodDescriptiongetVaultParameters(String name) Get the external vault configuration map based on the given vault name.static voidloadExternalVaultConfigs(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService) Reads the external-vaults.xml file located in conf/security dir and loads to the memory.
-
Method Details
-
loadExternalVaultConfigs
public static void loadExternalVaultConfigs(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService) throws ExternalVaultException Reads the external-vaults.xml file located in conf/security dir and loads to the memory.- Parameters:
secretCallbackHandlerService- secret resolver to resolve the cipher-tool encrypted secrets- Throws:
ExternalVaultException
-
getVaultParameters
Get the external vault configuration map based on the given vault name.- Parameters:
name- vault name
-