--- layout: "http" page_title: "HTTP API: /sys/mounts" sidebar_current: "docs-http-mounts-mounts" description: |- The '/sys/mounts' endpoint is used manage secret backends in Vault. --- # /sys/mounts ## GET
Description
Lists all the mounted secret backends. `default_lease_ttl` or `max_lease_ttl` values of `0` mean that the system defaults are used by this backend.
Method
GET
URL
`/sys/mounts`
Parameters
None
Returns
```javascript { "aws": { "type": "aws", "description": "AWS keys", "config": { "default_lease_ttl": 0, "max_lease_ttl": 0 } }, "sys": { "type": "system", "description": "system endpoint", "config": { "default_lease_ttl": 0, "max_lease_ttl": 0 } } } ```
Description
List the given mount's configuration. Unlike the `mounts` endpoint, this will return the current time in seconds for each TTL, which may be the system default or a mount-specific value.
Method
GET
URL
`/sys/mounts//tune`
Parameters
None
Returns
```javascript { "default_lease_ttl": 3600, "max_lease_ttl": 7200 } ```
## POST
Description
Mount a new secret backend to the mount point in the URL.
Method
POST
URL
`/sys/mounts/`
Parameters
Returns
`204` response code.
Description
Tune configuration parameters for a given mount point.
Method
POST
URL
`/sys/mounts//tune`
Parameters
Returns
`204` response code.
## DELETE
Description
Unmount the mount point specified in the URL.
Method
DELETE
URL
`/sys/mounts/`
Parameters
None
Returns
`204` response code.