-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implementing secrets rm
RPC handler
#803
Conversation
77ed38a
to
02e3049
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, one last thing to add.
Looking good now. Prep it for merge but I wouldn't merge it until the CLI side is done and ready to merge as well. |
ae52289
to
04f0df0
Compare
Even when removing a secret, it will exist in the vault history which can be checked out. |
Yes, I believe this is correct. Do I need to remove the file from vault history too? If the user has access to a secret, they can always just copy the secret and back it up somewhere else, so removing the file from vault history doesn't make much sense to me. |
No.
|
c326834
to
b9bf86a
Compare
feat: deleted old secrets delete handlers feat: added tests feat: performed requested changes chore: added more tests for vaultOps.deleteSecret chore: handles removing secrets of multiple vaults chore: added tests for deleting multiple secrets
b9bf86a
to
f0ae66b
Compare
Everything for this PR has been done and approved. Merging. |
Description
Implement a RPC handler to delete multiple files. If an option is set, then also delete the specified directory and the contents of that directory from the vaults.
Issues Fixed
secrets rm
command Polykey-CLI#247 (ENG-360)Tasks
VaultsSecretsRemove
handler (functionally similar toVaultsSecretsDelete
)Final checklist