Class ExternalVaultConfigLoader
- java.lang.Object
-
- org.wso2.carbon.mediation.security.vault.external.ExternalVaultConfigLoader
-
public class ExternalVaultConfigLoader extends Object
ExternalVaultLoadercontains utilities to load configuration file content required for External vault loader implementation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>getVaultParameters(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 Detail
-
loadExternalVaultConfigs
public static void loadExternalVaultConfigs(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService) throws ExternalVaultExceptionReads 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
-
-