Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conjur Supports Indicating a Client About a Change in a Secret Value #825

Open
rafis3 opened this issue Dec 9, 2018 · 5 comments
Open

Comments

@rafis3
Copy link
Member

rafis3 commented Dec 9, 2018

Currently, when a Conjur secret has its value changed, the only way for a client to know about it, is if it compares the current version or the current value to the previous version or value.

The solution should be composed of two capabilities:

  1. There should be a new metadata on a Conjur variable, that specifies the timestamp of when the secret value was last changed.
  2. There should be an API (possibly a web socket) that a client can listen to and get a push notification when a secret value is changing.
@orenbm
Copy link
Member

orenbm commented May 5, 2020

@rafis3 can you elaborate on the value of such a feature? In which use-case will a client compare the timestamps? (i'm guessing it was for the Synchronizer, do we still need this feature?)

@rafis3
Copy link
Member Author

rafis3 commented May 6, 2020

@orenbm the value for this feature, is for apps that use secrets, to know when they are changing, to understand that they need to fetch them again.

The first feature, is the more basic way to achieve that. As a client, you can understand if the value has changed or if it's still the same. You could occasionally pull and filter based on the change date, to get only the secrets that their value has changed in the timeframe that interests you.

The second feature, is for the more advanced clients. It will allow the client to subscribe and listen actively on changes of certain chosen resources, and then receive the new value immediately.

@sgnn7
Copy link
Contributor

sgnn7 commented Jun 10, 2020

I'd definitely +1 this feature - polling from clients is just not a scalable solution vs a push notification and this would be very useful for issues like this one. Btw, I think conjur already keeps secret version numbers in history but sadly it doesn't provide absolute order but rather a moving index :/

@orenbm orenbm added this to the R&D Boost milestone Jun 11, 2020
@Tovli Tovli removed this from the R&D Boost milestone May 11, 2021
@Tovli Tovli removed the rnd-boost label May 11, 2021
@TheSecMaven
Copy link

We similarly want this feature. This is a huge complication for us and results in architectures that are more complex and difficult.

@TheSecMaven
Copy link

Is there support from the owners to implement, if someone else decided to work on it? Any other advice on what to do here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants