public interface KeyStoreBasedSecretStoreProvider extends LockedSecretStoreProvider
BaseSecretStoreProvider
.This type (including all methods, constructors and fields) is continuing to evolve and so should be expected to change, potentially in backwards-incompatible ways even in a minor release. Changes are documented at the time of product release.
Modifier and Type | Method and Description |
---|---|
KeyStoreSecretStore |
createStore(SecretsReferenceProvider secrets)
Create the
KeyStoreSecretStore from the configuration. |
default KeyStoreSecretStore |
getStore(SecretsReferenceProvider secrets)
Get the commons
SecretStore instance for this instance. |
Multiple<PurposeMapping> |
mappings()
The configured purposes for this key store.
|
id
Multiple<PurposeMapping> mappings()
default KeyStoreSecretStore getStore(SecretsReferenceProvider secrets) throws SecretException
LockedSecretStoreProvider
SecretStore
instance for this instance.getStore
in interface LockedSecretStoreProvider
secrets
- A provider of secret references that can be used to obtain secrets that are needed to unlock
the SecretStore
.SecretException
- If the store cannot be constructed for some reason.KeyStoreSecretStore createStore(SecretsReferenceProvider secrets) throws SecretException
KeyStoreSecretStore
from the configuration.secrets
- The provider of secret references for resolving secrets that unlock the keystore.SecretException
- If the store could not be created for some reason.Copyright © 2010-2018, ForgeRock All Rights Reserved.