Infisical / infisical

♾ Infisical is the open-source secret management platform: Sync secrets across your team/infrastructure, prevent secret leaks, and manage internal PKI
https://infisical.com
Other
12.93k stars 667 forks source link

[ENG-276] Pub sub model to get config change dynamically #1212

Open akhilmhdh opened 7 months ago

akhilmhdh commented 7 months ago

Hi! I want to know is to possible if any value is updated in infisical panel and since client has a persistent connection, maybe something via Pub/Sub the panel may notify the client that a value has been updated and the object should then pick the new value. So, I don't want my app to always look up like make a call from server -> infisical rather it should always cache the value and infisical -> server should notify that server that some value has been updated now it should use either refetch or just update the value

Slack Message

From SyncLinear.com | ENG-276

WINOFFRG commented 6 months ago

Similar feature from competitors https://developer.hashicorp.com/consul/docs/dynamic-app-config/watches

Just need something like events which would call the callbacks or just update some proxy object in nodejs agent so that changes are reflected instantly.