public class VaultSecretRepositoryProvider extends Object implements SecretRepositoryProvider
SecretRepository,
SecretManager| Constructor and Description |
|---|
VaultSecretRepositoryProvider() |
| Modifier and Type | Method and Description |
|---|---|
SecretRepository |
getSecretRepository(IdentityKeyStoreWrapper identity,
TrustKeyStoreWrapper trust)
Returns a SecretRepository implementation
|
Map<String,SecretRepository> |
initProvider(Properties configurationProperties,
String providerType)
Returns a map containing initialized secret repositories corresponds to a give provider type.
|
public SecretRepository getSecretRepository(IdentityKeyStoreWrapper identity, TrustKeyStoreWrapper trust)
SecretRepositoryProvidergetSecretRepository in interface SecretRepositoryProvideridentity - Identity KeyStoretrust - Trust KeyStoreSecretRepositoryProviderpublic Map<String,SecretRepository> initProvider(Properties configurationProperties, String providerType) throws SecureVaultException
initProvider in interface SecretRepositoryProviderconfigurationProperties - All the properties under secret configuration file.providerType - Type of the VaultSecretRepositoryProvider class.SecureVaultException - when creating the SecretRepository instances.Copyright © 2020 WSO2. All rights reserved.