This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
[Feature Request] Make config.ts async to allow for things like kms decrypt calls for ENV variables #432
Labels
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Currently cannot make async calls from config.ts. I would like to pass kms encrypted ENV variables for the client_id/secret attributes of introspectionOptions and be able to call kms.decrypt() within config.ts/authZConfig.ts (for smart).
Describe the solution you'd like
I would be nice to have config.ts and authZConfig.ts (for smart) handle async methods.
Describe alternatives you've considered
We could make the kms decrypt call from the authz-smart package right before using the client_id/secret values for basic credentials, but this would be called for every request and seems like unnecessary overhead.
The text was updated successfully, but these errors were encountered: