Allow updating client credentials
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 716
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 10
Description
### Problem description
I'm trying to understand, what is the appropriate way to update credentials for an existing client instance?
I have a grpc server that accepts authoeized requests,
so upon instantiating my client, I'll have to supply it valid credentials.
but over time, those credentials may change,
so, my nodejs app should get notified securely when there's new credentials.
In that case, what should be the appropriate way of updating the credentials of my client instance?
should I just allow my notified process to set the instance of the grpc client to a newer instance with the new credentials?
(meaning, each time I'm getting notified about new credenetials, a new grcp client instance will be created with the latest credentials)
or are there any other ways to acheive this?
Contributor guide
Assessment
This issue has not been assessed yet.