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

Allow to version keys #60

Open
nir0s opened this issue Oct 22, 2016 · 0 comments
Open

Allow to version keys #60

nir0s opened this issue Oct 22, 2016 · 0 comments

Comments

@nir0s
Copy link
Owner

nir0s commented Oct 22, 2016

Currently, a key will be overridden if a put --modify command was executed on it. Allowing to create a new version of the key, which will become the default key will allow users to look back at previous versions of the key. This might prevent situations in which users unknowingly overrode keys they still need.

Versioning should be the default, but we can also allow the user to override.

As of now, the identifier for the version should be the key's name, which means that multiple keys with the same name but a different version will be possible.

If a user creates a key and the key's name wasn't found, it should give it a version of 1
If a key with the same name was found, the new key should get a version 2 and so on.
Retrieving a key should always get the latest version of it.

@nir0s nir0s modified the milestone: v0.8.0 Mar 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant