Interface SecondLevelCacheStorage
public interface SecondLevelCacheStorage
Interface for any backend that can store secrets. E.g. a File or AWS Parameter Store or GCP
Secret Manager
-
Method Summary
Modifier and TypeMethodDescriptionvoidstoreEntry(String payload) stores the given payload somewere locally.
-
Method Details
-
storeEntry
stores the given payload somewere locally. E.g. in a File or AWS Parameter Store or GCP Secret Manager- Parameters:
payload- the payload to be stored. Is nevernull
-
retrieveEntry
String retrieveEntry()- Returns:
- the previously stored payload or
null
-