Skip to content

Commit ee5e53b

Browse files
committed
Andrew's feedback
1 parent 5378cc4 commit ee5e53b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

platform/smallstep-api.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ The Smallstep API is [OpenAPI conformant](https://www.openapis.org/), with JSON
1919
👉 [Smallstep API Specification and Playground](https://gateway.smallstep.com)
2020

2121
You can get an API token in two ways:
22-
- In your [Smallstep settings](https://smallstep.com/app?next=/settings). Under **API Tokens**, choose **+ Add Token.**
23-
- On the command line, using the [`step` CLI](../step-cli/README.mdx). The [`step api token create`](../step-cli/reference/api/token/create/README.mdx) command accepts a client certificate and private key to authenticate with Smallstep and issue a temporary API token. To use this option, you must first configure a trusted root CA in your [Smallstep settings](https://smallstep.com/app?next=/settings). The trusted root can be a Smallstep CA or an external CA. Only one trusted root CA may be configured.
24-
25-
Your API token has a 10 year validity period and will only be displayed once. Please store it in a safe place!
22+
- **Long-term token**: In your [Smallstep settings](https://smallstep.com/app?next=/settings). Under **API Tokens**, choose **+ Add Token.** This token has a 10 year validity period and will only be displayed once. Please store it in a safe place!
23+
- **Short-term token**: On the command line, using the [`step` CLI](../step-cli/README.mdx). The [`step api token create`](../step-cli/reference/api/token/create/README.mdx) command accepts a client certificate and private key to authenticate with Smallstep and issue a temporary API token with a 1 hour validity period.
24+
To use this option, you must configure a trusted root CA in your [Smallstep settings](https://smallstep.com/app?next=/settings). The trusted root can be a Smallstep CA or an external CA. Only one trusted root CA may be configured.
2625

2726
### API Clients
2827

0 commit comments

Comments
 (0)