Interface ISecretProvider
- All Known Implementing Classes:
AbstractMapCredentialFactory,AnsibleVaultCredentialFactory,DelineaCredentialFactory,FileSystemCredentialFactory,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, or null if such a list cannot 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
initialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.- Throws:
Exception
-
hasSecret
-
getSecret
- Throws:
NoSuchElementException
-
getConfiguredAliases
return a list of all configured aliases, or null if such a list cannot be provided.- Throws:
Exception
-