Skip to content

Commit

Permalink
Docs typo fixes (#2830)
Browse files Browse the repository at this point in the history
* Fix passing payload.json file to curl

* Correct API endpoint
  • Loading branch information
roooms authored and vishalnayak committed Jun 7, 2017
1 parent 16631f5 commit 25fd17a
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion website/source/api/system/capabilities-accessor.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ for the given path.
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/capabilities-accessor
```

Expand Down
2 changes: 1 addition & 1 deletion website/source/api/system/capabilities-self.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ client token is the Vault token with which this API call is made.
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/capabilities-self
```

Expand Down
2 changes: 1 addition & 1 deletion website/source/api/system/config-auditing.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ This endpoint enables auditing of a header.
$ curl \
--header "X-Vault-Token: ..." \
--request PUT \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/config/auditing/request-headers/my-header
```

Expand Down
4 changes: 2 additions & 2 deletions website/source/api/system/generate-root.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ generation attempt can take place at a time. One (and only one) of `otp` or
```
$ curl \
--request PUT \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/generate-root/attempt
```

Expand Down Expand Up @@ -148,7 +148,7 @@ nonce must be provided with each call.
```
$ curl \
--request PUT \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/generate-root/update
```

Expand Down
2 changes: 1 addition & 1 deletion website/source/api/system/init.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Additionally, the following options are only supported on Vault Pro/Enterprise:
```
$ curl \
--request PUT \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/init
```

Expand Down
4 changes: 2 additions & 2 deletions website/source/api/system/mounts.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ relevant functionality is only supported in Vault Enterprise:
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/mounts/my-mount
```

Expand Down Expand Up @@ -190,6 +190,6 @@ This endpoint tunes configuration parameters for a given mount point.
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/mounts/my-mount/tune
```
2 changes: 1 addition & 1 deletion website/source/api/system/policy.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ updated, it takes effect immediately to all associated users.
$ curl \
--header "X-Vault-Token: ..." \
--request PUT \
--data payload.json \
--data @payload.json \
https://vault.rocks/v1/sys/policy/my-policy
```

Expand Down
4 changes: 2 additions & 2 deletions website/source/api/system/unseal.html.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: "api"
page_title: "/sys/seal-unseal - HTTP API"
page_title: "/sys/unseal - HTTP API"
sidebar_current: "docs-http-system-unseal"
description: |-
The `/sys/seal-unseal` endpoint is used to unseal the Vault.
The `/sys/unseal` endpoint is used to unseal the Vault.
---

# `/sys/unseal`
Expand Down

0 comments on commit 25fd17a

Please sign in to comment.