mirror of
https://github.com/cloudflare/cloudflare-docs.git
synced 2026-01-11 20:06:58 +00:00
[ZT] dash instructions for SSH CA (#27513)
* dash instructions for SSH CA * assume empty state
This commit is contained in:
parent
4c551406d4
commit
ae2093bb2b
2 changed files with 26 additions and 6 deletions
|
|
@ -39,16 +39,17 @@ Cloudflare Access will take the identity from a token and, using short-lived cer
|
|||
|
||||
## 3. Generate a short-lived certificate public key
|
||||
|
||||
1. In [Cloudflare One](https://one.dash.cloudflare.com), go to **Access controls** > **Service credentials**.
|
||||
1. In [Cloudflare One](https://one.dash.cloudflare.com), go to **Access controls** > **Service credentials** > **SSH**.
|
||||
|
||||
2. Go to the **SSH** tab.
|
||||
2. Select **Add a certificate**.
|
||||
|
||||
3. In the **Application** dropdown, choose the Access application that represents your SSH server.
|
||||
|
||||
4. Select **Generate certificate**. A row will appear with a public key scoped to your application.
|
||||
4. Select **Generate certificate**. A new row will appear in the short-lived certificates table with the name of your Access application.
|
||||
|
||||
5. Save the key or keep it somewhere convenient for configuring your server.
|
||||
You can return to copy this public key any time in the Service Auth dashboard.
|
||||
5. Select the short-lived certificate for your application.
|
||||
|
||||
6. Copy its **CA public key**. You can return to copy this public key at any time.
|
||||
|
||||
## 4. Save your public key
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,23 @@
|
|||
{}
|
||||
---
|
||||
|
||||
import { Render, Details, APIRequest } from "~/components";
|
||||
import { Render, Details, APIRequest, Tabs, TabItem } from "~/components";
|
||||
|
||||
<Tabs>
|
||||
<TabItem label="Dashboard">
|
||||
|
||||
1. In [Cloudflare One](https://one.dash.cloudflare.com), go to **Access controls** > **Service credentials** > **SSH**.
|
||||
|
||||
2. Select **Add a certificate**.
|
||||
|
||||
3. Under **SSH with Access for Infrastructure**, select **Generate SSH CA**. A new row will appear in the short-lived certificates table called **SSH with Access for Infrastructure**.
|
||||
|
||||
4. Select the **SSH with Access for Infrastructure** certificate.
|
||||
|
||||
5. Copy its **CA public key**. You can return to copy this public key at any time.
|
||||
|
||||
</TabItem>
|
||||
<TabItem label="API">
|
||||
|
||||
1. [Create an API token](/fundamentals/api/get-started/create-token/) with the following permissions:
|
||||
|
||||
|
|
@ -25,3 +41,6 @@ import { Render, Details, APIRequest } from "~/components";
|
|||
/>
|
||||
|
||||
4. Copy the `public_key` value returned in the response.
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
Loading…
Add table
Reference in a new issue