Skip to content

Commit 247185f

Browse files
tashianclaude
andauthored
Host design document images in graphics/ (#584)
The design document linked to six images on imgur. The image loader adds the imgix host to all image URLs, also to full URLs. Thus the page requested URLs such as https://smallstep.imgix.nethttps//i.imgur.com/A6kXsmo.png, and no images loaded. Copy the images into graphics/ and use local paths, as other pages do. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 0886064 commit 247185f

7 files changed

Lines changed: 6 additions & 6 deletions

‎design-document.mdx‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Let's consider a simple concrete example: using _step certificates_ to issue cer
9595

9696
Assume our two services -- `foo.internal` and `bar.internal` -- currently communicate using plain HTTP:
9797

98-
![Foo & Bar speaking HTTP](https://i.imgur.com/A6kXsmo.png 'Foo & Bar speaking HTTP')
98+
![Foo & Bar speaking HTTP](/graphics/design-doc-http.png 'Foo & Bar speaking HTTP')
9999

100100
Our goal is to switch to mutually authenticated HTTPS (HTTP over mutual TLS). Most proxies and standard library HTTP stacks support mutual HTTPS. But each service will need three artifacts to speak HTTPS:
101101

@@ -107,7 +107,7 @@ The certificate and private key are credentials used for authentication. The roo
107107

108108
Once everything is deployed our system will look like:
109109

110-
![Foo & Bar speaking HTTPS](https://i.imgur.com/r2AQPZV.png 'Foo & Bar speaking HTTPS')
110+
![Foo & Bar speaking HTTPS](/graphics/design-doc-https.png 'Foo & Bar speaking HTTPS')
111111

112112
Let's use _step certificates_ ( `step` and `step-ca` ) to generate and deploy these artifacts.
113113

@@ -240,15 +240,15 @@ To verify the legitimacy of certificate signing requests, we need some entity th
240240

241241
In general, once a _provisioner_ authenticates a workload's identity it issues the workload a _bearer token_ to submit to the CA, along with a [certificate signing request](https://smallstep.com/blog/everything-pki.html#certificate-signing-requests 'CSR') (CSR), to obtain a certificate. The _bearer token_ authenticates the workload and authorizes the certificate request.
242242

243-
![Generic Architecture](https://i.imgur.com/zH4RYEj.png 'Generic Architecture')
243+
![Generic Architecture](/graphics/design-doc-generic-architecture.png 'Generic Architecture')
244244

245245
The details of how a provisioner interacts with a workload (or device or person) and the CA vary by provisioner type. Smallstep supports a number of provisioner types including, AWS Instance Identity Documents, Google Cloud Instance Identity Tokens, the Azure Instance Metadata Service, OAuth/OIDC Single Sign-on, and JWT for building custom integrations.
246246

247247
#### IID provisioner
248248

249249
For cloud VMs running on AWS, GCP, or Azure `step-ca` can be configured to use _instance identity documents_ (IIDs) to authorize certificate signing requests. IIDs make integrating `step certificates` even easier: instead of building and integrating a JWK provisioner that issues tokens to workloads, `step` can request tokens directly from your cloud provider's _metadata API_ with no additional infrastructure requirements:
250250

251-
![IID Provisioner Architecture](https://i.imgur.com/pdeFC1g.png 'IID Provisioner Architecture')
251+
![IID Provisioner Architecture](/graphics/design-doc-iid-provisioner.png 'IID Provisioner Architecture')
252252

253253
Once you've configured `step-ca` [to use IIDs for authentication](step-ca/provisioners.mdx#cloud-provisioners), `step` will detect the provisioner type, obtain an IID token from your cloud provider, and use it to obtain a certificate from `step-ca` automatically.
254254

@@ -274,7 +274,7 @@ foo$ step ca certificate foo.internal foo.crt foo.key --issuer "Google Cloud"
274274

275275
Occasionally it's useful to issue certificates to people (for example, for testing and debugging). To facilitate this, `step-ca` can be [configured to use OAuth/OpenID Connect (OIDC)](step-ca/provisioners.mdx#oauthoidc-single-sign-on 'OIDC') _identity tokens_ for authentication. In other words, you can use single sign-on with GSuite, Okta, Active Directory, or any other OAuth OIDC provider to get a certificate:
276276

277-
![SSO Provisioner Architecture](https://i.imgur.com/OIX5Wav.png 'SSO Provisioner Architecture')
277+
![SSO Provisioner Architecture](/graphics/design-doc-sso-provisioner.png 'SSO Provisioner Architecture')
278278

279279
Again, `step` detects the provisioner type selected and initiates the OAuth flow automatically:
280280

@@ -311,7 +311,7 @@ Because the JWTs issued by JWT provisioners are short-lived and single-use they
311311

312312
To create a JWK provisioner you generate a key pair, represented as a JSON Web Key (JWK), and register the public key with the CA. Optionally, the CA can escrow the corresponding private key (symmetrically encrypted with a password).
313313

314-
![JWK Provisioner Architecture](https://i.imgur.com/7a97FrJ.png 'JWK Provisioner Architecture')
314+
![JWK Provisioner Architecture](/graphics/design-doc-jwk-provisioner.png 'JWK Provisioner Architecture')
315315

316316
A JWK provisioner was created automatically for us when we ran `step ca init` . We named this provisioner `admin` using the `--provisioner` flag. The private key was encrypted using the password from `--provisioner-password-file` and escrowed with the CA.
317317

32.5 KB
Loading

‎graphics/design-doc-http.png‎

6.65 KB
Loading

‎graphics/design-doc-https.png‎

18.3 KB
Loading
61.2 KB
Loading
59.2 KB
Loading
49.2 KB
Loading

0 commit comments

Comments
 (0)