Interface ISecretProvider
- All Known Implementing Classes:
AbstractMapCredentialFactory, AnsibleVaultCredentialFactory, DelineaCredentialFactory, FileSystemCredentialFactory, FrankApplication.NoopCredentialFactory, KubernetesCredentialFactory, PropertyFileCredentialFactory, WildFlyCredentialFactory
public interface ISecretProvider
Interface for a CredentialFactory. A CredentialFactory is responsible for providing credentials to the framework.
Implementations of this interface should be registered in the credentialproperties.properties file.
Implementations of this interface should be thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionReturn a list of all configured aliases, should provide an empty list if none can be provided.getSecret(CredentialAlias alias) booleanhasSecret(CredentialAlias alias) voidinitialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.
-
Method Details
-
initialize
-
hasSecret
-
getSecret
- Throws:
NoSuchElementException
-
getConfiguredAliases
Return a list of all configured aliases, should provide an empty list if none can be provided.- Throws:
Exception- Can throw an exception when failing to get the configured aliases.
-