public class ExternalVaultConfigLoader extends Object
ExternalVaultLoader
contains utilities to load configuration file content required for External vault loader
implementation.Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
getVaultParameters(String name)
Get the external vault configuration map based on the given vault name.
|
static void |
loadExternalVaultConfigs(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService)
Reads the external-vaults.xml file located in conf/security dir and loads to the memory.
|
public static void loadExternalVaultConfigs(org.wso2.carbon.securevault.SecretCallbackHandlerService secretCallbackHandlerService) throws ExternalVaultException
secretCallbackHandlerService
- secret resolver to resolve the cipher-tool encrypted secretsExternalVaultException
Copyright © 2022 WSO2. All rights reserved.