public interface SecretRepository
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncryptedData(java.lang.String alias)
Returns the encrypted Value of provided alias name .
|
SecretRepository |
getParent()
Returns the parent secret repository
|
java.lang.String |
getSecret(java.lang.String alias)
Returns the secret of provided alias name .
|
void |
init(java.util.Properties properties,
java.lang.String id)
Initializes the repository based on provided properties
|
void |
setParent(SecretRepository parent)
Sets the parent secret repository
Secret Repositories are made a chain so that , one can get a secret from other.
|
void init(java.util.Properties properties, java.lang.String id)
properties
- Configuration propertiesid
- Identifier to identify properties related to the corresponding repositoryjava.lang.String getSecret(java.lang.String alias)
alias
- Alias name for look up a secretjava.lang.String getEncryptedData(java.lang.String alias)
alias
- Alias name for look up a secretvoid setParent(SecretRepository parent)
parent
- Parent secret repositorySecretRepository getParent()
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.