Package org.springframework.credhub.core
Interface CredHubOperations
- All Known Implementing Classes:
CredHubTemplate
public interface CredHubOperations
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.<T> T
doWithRest
(RestOperationsCallback<T> callback) Allow interaction with the configuredRestTemplate
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
CredHubCredentialOperations credentials()Get the operations for saving, retrieving, and deleting credentials.- Returns:
- the credentials operations
-
permissions
CredHubPermissionOperations permissions()Get the operations for adding, retrieving, and deleting credential permissions.- Returns:
- the permissions operations
-
permissionsV2
CredHubPermissionV2Operations permissionsV2()Get the operations for adding, retrieving, and deleting credential permissions.- Returns:
- the permissions operations
-
certificates
CredHubCertificateOperations certificates()Get the operations for retrieving, regenerating, and updating certificates.- Returns:
- the certificates operations
-
interpolation
CredHubInterpolationOperations interpolation()Get the operations for interpolating service binding credentials.- Returns:
- the interpolation operations
-
info
CredHubInfoOperations info()Get the operations for retrieving CredHub server information.- Returns:
- the info operations
-
doWithRest
Allow interaction with the configuredRestTemplate
not provided by other methods.- Type Parameters:
T
- the credential implementation type- Parameters:
callback
- wrapper for the callback method- Returns:
- the return value from the callback method
-