VaultEvent

The Enum of type powerEvents.Vault.Cmdlets.VaultEvent provides a list of all the supported Vault events.

Syntax

[powerEvents.Vault.Cmdlets.VaultEvent]::AddFile_Post

Commonly used events

Event

Typical use

LoginVault

Run code after the user logged into Vault

AddFile

Validate or rename files when they are added to Vault

CheckinFile

Validate properties before files are checked in

UpdateFileStates

Restrict or react to lifecycle state changes of files

UpdateItemStates

Restrict or react to lifecycle state changes of items

Remarks

Each of the following Vault events has its own set of available arguments:

They can be used as parameters in registered functions or script blocks.

Tip

You are not forced to use all the defined arguments, since they are all optional.
Therefore you can pass only the parameters you really need into your script blocks.

Warning

The arguments are case sensitive and must be named exactly the same as described in the linked documentation.