Class SecretManager
java.lang.Object
org.apache.synapse.securevault.secret.SecretManager
Entry point for manage secrets
-
Method Summary
Modifier and TypeMethodDescriptiongetEncryptedData(String alias) Returns the encrypted value corresponding to the given alias namestatic SecretManagerReturns the secret corresponding to the given alias namevoidinit(Properties properties) Initializes the Secret Manager by providing configuration propertiesbooleanvoid
-
Method Details
-
getInstance
-
init
Initializes the Secret Manager by providing configuration properties- Parameters:
properties- Configuration properties
-
getSecret
Returns the secret corresponding to the given alias name- Parameters:
alias- The logical or alias name- Returns:
- If there is a secret , otherwise , alias itself
-
getEncryptedData
Returns the encrypted value corresponding to the given alias name- Parameters:
alias- The logical or alias name- Returns:
- If there is a encrypted value , otherwise , alias itself
-
isInitialized
public boolean isInitialized() -
shoutDown
public void shoutDown()
-