type CacheHook - AWS Secrets Manager

type CacheHook

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

Methods

Put

Put(data interface{}) interface{}

Prepares the object for storing in the cache.

Get

Get(data interface{}) interface{}

Derives the object from the cached object.