# Vaults on a server (IRPCVaults)

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

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

An interface for enumerating vaults.

Use this interface to get a listing of registered vaults on the server.

- **gRPC service:** `MFiles.IRPCVaults`
- **Book and level:** [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md), core
- **Methods:** 3
- **Proto file:** [`mfiles/IRPCVaults.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/IRPCVaults.proto)

<a id="overview"></a>

## Overview

Lists the vaults on the server that the logged-in user can see. Use it to let a user pick a vault
or to find a vault's GUID by its name; then log in to that vault with
[LogIn](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/LogIn/index.md) or
[LogInWithSession](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/LogInWithSession/index.md).

[GetVaults](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaults/GetVaults/index.md) is the method to use. It accepts both a
server-level session (from a `LogIn` with the all-zero vault GUID) and a vault session.
`GetReplicasOfVaults` and `GetGroundLinkProxies` serve special deployments and return nothing on
an ordinary server. Server-level and vault sessions are described in
[Authentication and sessions](https://developer.m-files.com/APIs/gRPC-API/runtime/authentication/index.md).

<a id="highlighted"></a>

## Highlighted methods

| Method | Summary | Facts |
|---|---|---|
| [GetVaults](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaults/GetVaults/index.md) | Lists the vaults on the server that the session's user can see. | `read` `session` `idempotent` |

<a id="methods"></a>

## Other methods

| Method | Summary | Facts |
|---|---|---|
| [GetGroundLinkProxies](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaults/GetGroundLinkProxies/index.md) | Lists the Ground Link proxy vaults on the server that the session's user can see. | `read` `session` `idempotent` |
| [GetReplicasOfVaults](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaults/GetReplicasOfVaults/index.md) | Gets replicas of document vaults (links to (remote) document vaults). | `write` `no session` |
