I want an fallback option when the secrets not available in cache and PKS it should be fetched from environment variable.
The system should use environment variables(fallback option) as an encrypted hash. The goal is that when a database is moved from environment to environment, the keys are invalidated due to missing the JWT hash, used to encrypt the data.
If no value is found in cache and PKS, attempt to fetch the value(s) from the environment variable, based on the module’s machine name.