Package io.quarkus.credentials
Interface CredentialsProvider
public interface CredentialsProvider
Provides an indirection between credentials consumers such as Agroal and implementers such as Vault.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetCredentials(String credentialsProviderName) Returns the credentials for a given credentials provider
-
Field Details
-
USER_PROPERTY_NAME
- See Also:
-
PASSWORD_PROPERTY_NAME
- See Also:
-
EXPIRATION_TIMESTAMP_PROPERTY_NAME
- See Also:
-
-
Method Details
-
getCredentials
Returns the credentials for a given credentials provider- Parameters:
credentialsProviderName- the name of the credentials provider, which can be used to retrieve custom configuration- Returns:
- the credentials
-