mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
logical/testing: rollback/revoke secrets, error dangling secrets
This commit is contained in:
@@ -65,6 +65,14 @@ func RevokeRequest(
|
||||
}
|
||||
}
|
||||
|
||||
// RollbackRequest creates the structure of the revoke request.
|
||||
func RollbackRequest(path string) *Request {
|
||||
return &Request{
|
||||
Operation: RollbackOperation,
|
||||
Path: path,
|
||||
}
|
||||
}
|
||||
|
||||
// Operation is an enum that is used to specify the type
|
||||
// of request being made
|
||||
type Operation string
|
||||
|
||||
Reference in New Issue
Block a user