Skip to content

Commit

Permalink
remove token header from login samples (hashicorp#3320)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishoffman authored and Chris Hoffman committed Sep 11, 2017
1 parent 1986800 commit f94f5a1
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion website/source/api/auth/approle/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ AppRole (such as client IP CIDR) are also evaluated.

```
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data @payload.json \
https://vault.rocks/v1/auth/approle/login
Expand Down
1 change: 0 additions & 1 deletion website/source/api/auth/aws/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,6 @@ along with its RSA digest can be supplied to this endpoint.

```
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data @payload.json \
https://vault.rocks/v1/auth/aws/login
Expand Down
1 change: 0 additions & 1 deletion website/source/api/auth/gcp/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ entity and then authorizes the entity for the given role.

```
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data @payload.json \
https://vault.rocks/v1/auth/gcp/login
Expand Down
1 change: 0 additions & 1 deletion website/source/api/auth/github/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ Login using GitHub access token.

```
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
https://vault.rocks/v1/auth/github/login
```
Expand Down
2 changes: 1 addition & 1 deletion website/source/api/auth/okta/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ Login with the username and password.

```
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data @payload.json \
https://vault.rocks/v1/auth/okta/login/fred
```

Expand Down
2 changes: 1 addition & 1 deletion website/source/api/auth/radius/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ Login with the username and password.

```
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data @payload.json \
https://vault.rocks/v1/auth/radius/login/test-user
```

Expand Down
1 change: 0 additions & 1 deletion website/source/api/auth/userpass/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ Login with the username and password.

```
$ curl \
--header "X-Vault-Token: ..." \
--request POST \
--data @payload.json \
https://vault.rocks/v1/auth/userpass/login/mitchellh
Expand Down

0 comments on commit f94f5a1

Please sign in to comment.