Skip to content

Added locking mechanism for write operations#30

Merged
cezmunsta merged 1 commit into
masterfrom
locking
May 8, 2021
Merged

Added locking mechanism for write operations#30
cezmunsta merged 1 commit into
masterfrom
locking

Conversation

@cezmunsta
Copy link
Copy Markdown
Owner

  • Added cmd.LockPrefix use to create host-specific lock names
  • Added cmd.getlockName, cmd.getLockPath, cmd.acquireLock and
    cmd.releaseLock to control access for write operations
  • Added Expires as a supported field for vault.WriteSecret
  • Updated cmd.getConnections to ignore any lock entries
  • Updated cmd.writeConnection, cmd.updateConnection and
    cmd.deleteConnection to require a lock in order to proceed

* Added `cmd.LockPrefix` use to create host-specific lock names
* Added `cmd.getlockName`, `cmd.getLockPath`, `cmd.acquireLock` and
  `cmd.releaseLock` to control access for write operations
* Added `Expires` as a supported field for `vault.WriteSecret`
* Updated `cmd.getConnections` to ignore any lock entries
* Updated `cmd.writeConnection`, `cmd.updateConnection` and
  `cmd.deleteConnection` to require a lock in order to proceed
@cezmunsta cezmunsta added the enhancement New feature or request label May 8, 2021
@cezmunsta cezmunsta self-assigned this May 8, 2021
@cezmunsta cezmunsta merged commit e4ef0c5 into master May 8, 2021
@cezmunsta cezmunsta deleted the locking branch May 8, 2021 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant