Skip to content
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

Closed
medhost-jshaver opened this issue Sep 2, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@medhost-jshaver
Copy link

medhost-jshaver commented Sep 2, 2021

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.

@medhost-jshaver medhost-jshaver added the enhancement New feature or request label Sep 2, 2021
@rsmayda
Copy link
Contributor

rsmayda commented Sep 9, 2021

Hey Josh,

Lets set up some time to discuss more!

@carvantes
Copy link
Contributor

This was added on #464

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants