type CacheHook - Amazon Secrets Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

type CacheHook

An interface to hook into a Cache to perform actions on the secret being stored in the cache.



Put(data interface{}) interface{}

Prepares the object for storing in the cache.


Get(data interface{}) interface{}

Derives the object from the cached object.