Package org.springframework.credhub.core
Interface ReactiveCredHubOperations
- All Known Implementing Classes:
ReactiveCredHubTemplate
public interface ReactiveCredHubOperations
Specifies the main interaction with CredHub.
- Author:
- Scott Frederick
-
Method Summary
Modifier and TypeMethodDescriptionGet the operations for retrieving, regenerating, and updating certificates.Get the operations for saving, retrieving, and deleting credentials.<V,
T extends org.reactivestreams.Publisher<V>>
TdoWithWebClient
(Function<WebClient, ? extends T> callback) Allow interaction with the configuredWebClient
not provided by other methods.info()
Get the operations for retrieving CredHub server information.Get the operations for interpolating service binding credentials.Get the operations for adding, retrieving, and deleting credential permissions.Get the operations for adding, retrieving, and deleting credential permissions.
-
Method Details
-
credentials
ReactiveCredHubCredentialOperations credentials()Get the operations for saving, retrieving, and deleting credentials.- Returns:
- the credentials operations
-
permissions
ReactiveCredHubPermissionOperations permissions()Get the operations for adding, retrieving, and deleting credential permissions.- Returns:
- the permissions operations
-
permissionsV2
ReactiveCredHubPermissionV2Operations permissionsV2()Get the operations for adding, retrieving, and deleting credential permissions.- Returns:
- the permissions operations
-
certificates
ReactiveCredHubCertificateOperations certificates()Get the operations for retrieving, regenerating, and updating certificates.- Returns:
- the certificates operations
-
interpolation
ReactiveCredHubInterpolationOperations interpolation()Get the operations for interpolating service binding credentials.- Returns:
- the interpolation operations
-
info
Get the operations for retrieving CredHub server information.- Returns:
- the info operations
-
doWithWebClient
<V,T extends org.reactivestreams.Publisher<V>> T doWithWebClient(Function<WebClient, ? extends T> callback) Allow interaction with the configuredWebClient
not provided by other methods.- Type Parameters:
V
- the publisher typeT
- the credential implementation type- Parameters:
callback
- wrapper for the callback method- Returns:
- the return value from the callback method
-