in secretcache/cacheItem.go [203:209]
func (ci *secretCacheItem) setWithHook(result *secretsmanager.DescribeSecretOutput) { if ci.config.Hook != nil { ci.data = ci.config.Hook.Put(result) } else { ci.data = result } }