Describe the bug
Polykey's design disallows modification of remote vaults. The intended usage in this case is to clone the vault, then modify it with the relevant secrets. This way, both vaults will maintain their separate histories and not interfere with each other. However, this is not the current behaviour. If the vault is a remote vault, then any modification operation will throw an error and exit the command instead of creating a clone.
To Reproduce
- Create a vault on N1
- Pull the vault on N2
- Attempt to modify the vault contents on N2
- Observe error
Expected behavior
The vault should create a clone of itself and perform the changes in the cloned vault instead.
Additional context
Notify maintainers
@aryanjassal