# VaultEx

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultEx/

Struct for an extended document vault.

- **Full name:** `MFiles.VaultEx`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-vault"></a>`vault` | [`Vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Vault/index.md) | 1 | Basic data. |
| <a id="f-vault_type"></a>`vault_type` | [`VaultType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.VaultType/index.md) | 3 | The vault type. Values: `VAULT_TYPE_NORMAL_VAULT` (0), `VAULT_TYPE_REPLICA_VAULT` (1), `VAULT_TYPE_GROUND_LINK_PROXY` (2). |
| <a id="f-master_server_address"></a>`master_server_address` | [`ServerAddress`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerAddress/index.md) | 2 | The address of the master server. Specified if the vault type is 'replica'. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCVaultsAdmin.CreateNewGroundLinkProxy](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdmin/CreateNewGroundLinkProxy/index.md): Creates a ground link proxy, a vault of type `VAULT_TYPE_GROUND_LINK_PROXY`.
- [IRPCVaultsAdmin.CreateNewReplicaVault](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdmin/CreateNewReplicaVault/index.md): Creates a new replica vault.
- [IRPCVaultsAdmin.UpdateGroundLinkProxy](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdmin/UpdateGroundLinkProxy/index.md): Updates the definition of a ground link proxy.
- [IRPCVaultsAdmin.UpdateReplicaVault](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdmin/UpdateReplicaVault/index.md): Updates the definition of a replica vault.
- [IRPCVaultsAdminBasic.GetGroundLinkProxiesAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdminBasic/GetGroundLinkProxiesAdmin/index.md): Lists the Ground Link proxy vaults of the server, including offline ones.
- [IRPCVaultsAdminBasic.GetGroundLinkProxyAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdminBasic/GetGroundLinkProxyAdmin/index.md): Gets one Ground Link proxy vault with its administrative details.
- [IRPCVaultsAdminBasic.GetReplicaOfVaultAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdminBasic/GetReplicaOfVaultAdmin/index.md): Gets one replica vault with its administrative details.
- [IRPCVaultsAdminBasic.GetReplicasOfVaultsAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdminBasic/GetReplicasOfVaultsAdmin/index.md): Lists the replica vaults of the server.

<a id="used-in-fields"></a>

## Used in fields

- [`CreateNewGroundLinkProxyRequest.vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdmin/CreateNewGroundLinkProxy/index.md#request): The definition of the new ground link proxy.
- [`CreateNewReplicaVaultRequest.vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdmin/CreateNewReplicaVault/index.md#request): The definition of the new replica vault.
- [`UpdateReplicaVaultRequest.vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdmin/UpdateReplicaVault/index.md#request): The new definition of the replica vault. The vault to modify is determined from the vault GUID which cannot change.
- [`UpdateGroundLinkProxyRequest.vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdmin/UpdateGroundLinkProxy/index.md#request): The new definition of the ground link proxy. The vault to modify is determined from the vault GUID which cannot change.
- [`GetGroundLinkProxiesAdminResponse.vaults`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdminBasic/GetGroundLinkProxiesAdmin/index.md#response): The Ground Link proxy vaults. With `can_manage_vaults` all fields are filled except database credentials; otherwise only the basic data. See [VaultEx](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultEx/index.md).
- [`GetGroundLinkProxyAdminResponse.vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdminBasic/GetGroundLinkProxyAdmin/index.md#response): The vault. With `can_manage_vaults` all fields are filled except database credentials; otherwise only the basic data. See [VaultEx](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultEx/index.md).
- [`GetReplicasOfVaultsAdminResponse.vaults`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdminBasic/GetReplicasOfVaultsAdmin/index.md#response): The replica vaults, with `master_server_address`. With `can_manage_vaults` all fields are filled except database credentials; otherwise only the basic data. See [VaultEx](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultEx/index.md).
- [`GetReplicaOfVaultAdminResponse.vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultsAdminBasic/GetReplicaOfVaultAdmin/index.md#response): The replica vault. With `can_manage_vaults` all fields are filled except database credentials; otherwise only the basic data. See [VaultEx](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VaultEx/index.md).
