# VaultEvent

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

## Syntax

```powershell
[powerEvents.Cmdlets.VaultEvent]::AddFile_Post
```

## Remarks

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

```{toctree}
:glob:
:includehidden:
:maxdepth: 2

event_mappings/connection_events
event_mappings/*
```

They can be used as parameters in [registered](</code_reference/commandlets/register-vaultevent>) 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.
:::