Skip to content

Commit fdd7a00

Browse files
authored
Discard changes to src/content/partials/cloudflare-one/ssh/ssh-proxy-ca.mdx
1 parent 1e5d5be commit fdd7a00

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed
Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
---
22
{}
3+
34
---
45

5-
import { Render, Details } from "~/components";
6+
import { Render, Details } from "~/components"
67

7-
1. [Create an API token](/fundamentals/api/get-started/create-token/) with the following permissions:
8+
1. [Create an API token](/fundamentals/api/get-started/create-token/) with the following permissions:
89

9-
| Type | Item | Permission |
10-
| ------- | ---------------- | ---------- |
11-
| Account | Access: SSH Auditing | Edit |
10+
| Type | Item | Permission |
11+
| ------- | ---------------- | ---------- |
12+
| Account | Access: SSH Auditing | Edit |
1213

13-
2. If you have not yet generated a Cloudflare SSH CA, make a `POST` request to the Cloudflare API:
14+
2. If you have not yet generated a Cloudflare SSH CA, make a `POST` request to the Cloudflare API:
1415

15-
```bash
16-
curl --request POST \
17-
"https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/gateway_ca" \
18-
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
19-
```
16+
```bash
17+
curl --request POST \
18+
"https://api.cloudflare.com/client/v4/accounts/{account_id}/access/gateway_ca" \
19+
--header "Authorization: Bearer <API_TOKEN>"
20+
```
2021

21-
3. If you have already created a Cloudflare SSH CA or receive the error message `access.api.error.gateway_ca_already_exists`, make a `GET` request instead:
22+
3. If you have already created a Cloudflare SSH CA or receive the error message `access.api.error.gateway_ca_already_exists`, make a `GET` request instead:
2223

23-
```bash
24-
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/gateway_ca \
25-
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
26-
```
24+
```bash
25+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/access/gateway_ca \
26+
--header "Authorization: Bearer <API_TOKEN>"
27+
```
2728

28-
4. Copy the `public_key` value returned in the response.
29+
4. Copy the `public_key` value returned in the response.

0 commit comments

Comments
 (0)