You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 247185f
Browse filesBrowse the repository at this point in the historyBrowse files
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>
Copy file name to clipboardExpand all lines: design-document.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ Let's consider a simple concrete example: using _step certificates_ to issue cer
95
95
96
96
Assume our two services -- `foo.internal` and `bar.internal` -- currently communicate using plain HTTP:
97
97
98
-

98
+

99
99
100
100
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:
101
101
@@ -107,7 +107,7 @@ The certificate and private key are credentials used for authentication. The roo
107
107
108
108
Once everything is deployed our system will look like:
109
109
110
-

110
+

111
111
112
112
Let's use _step certificates_ ( `step` and `step-ca` ) to generate and deploy these artifacts.
113
113
@@ -240,15 +240,15 @@ To verify the legitimacy of certificate signing requests, we need some entity th
240
240
241
241
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.
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.
246
246
247
247
#### IID provisioner
248
248
249
249
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:
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.
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:
Again, `step` detects the provisioner type selected and initiates the OAuth flow automatically:
280
280
@@ -311,7 +311,7 @@ Because the JWTs issued by JWT provisioners are short-lived and single-use they
311
311
312
312
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).
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.
0 commit comments