1.6 KiB
1.6 KiB
layout | page_title | sidebar_current | description |
---|---|---|---|
http | HTTP API: /sys/mounts | docs-http-mounts-mounts | The '/sys/mounts' endpoint is used manage secret backends in Vault. |
/sys/mounts
GET
- Description
- Lists all the mounted secret backends.
- Method
- GET
- Parameters
- None
- Returns
-
```javascript { "aws": { "type": "aws", "description": "AWS keys" }, "sys": { "type": "system", "description": "system endpoint" } } ```
POST
- Description
- Mount a new secret backend to the mount point in the URL.
- Method
- POST
- URL
- `/sys/mounts/`
- Parameters
-
- type required The name of the backend type, such as "aws"
- description optional A human-friendly description of the mount.
- 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.