Is it possible to access secrets in Actions outside of onExecutePostLogin function?

We initialize a third-party service client inside of onExecutePostLogin and it’s being initialized on each user login which might exceed the rate limit. I guess option number 1 is only one to go with but we would need to use api.cache.

We initialize this client in multiple actions. Is there a way in Auth0 to reuse some piece of code logic across multiple actions?