Skip to content

Commit 8940db2

Browse files
committed
Document user management and API keys
1 parent 1407461 commit 8940db2

File tree

3 files changed

+76
-1
lines changed

3 files changed

+76
-1
lines changed

mint.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"v3.x/guide/metrics",
7777
"v3.x/guide/subscribers",
7878
"v3.x/guide/webhooks",
79+
"v3.x/guide/users",
7980
"v3.x/guide/dashboard"
8081
]
8182
}, {
@@ -85,7 +86,8 @@
8586
"v3.x/configuration/cachet",
8687
"v3.x/configuration/customization",
8788
"v3.x/configuration/theme",
88-
"v3.x/configuration/beacon"
89+
"v3.x/configuration/beacon",
90+
"v3.x/configuration/api-keys"
8991
]
9092
}, {
9193
"group": "Integrations",

v3.x/configuration/api-keys.mdx

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: 'API Keys'
3+
description: 'Learn how to create and manage API keys in Cachet.'
4+
icon: 'key'
5+
---
6+
7+
API keys are used to authenticate requests to the [Cachet API](/api-reference). You can create multiple API keys with different
8+
permissions to control access to the API. This is particularly useful if you want to give third-party services
9+
access to your Cachet data without granting them full access to your status page.
10+
11+
## Creating an API Key
12+
13+
To create an API key, follow these steps:
14+
<Steps>
15+
<Step title="Step 1">
16+
Go to the "Manage API Keys" page in the Cachet dashboard. This is located under the "Settings" navigation group.
17+
</Step>
18+
<Step title="Step 2">
19+
Click the "New API Key" button. You will need to provide a name for the API key. This can be any name that helps
20+
you identify the key.
21+
22+
You may select an expiration date for the token. This provides an extra layer of security as tokens will no longer
23+
work after the expiration date. You may choose to leave this blank to create a token that never expires.
24+
25+
Finally, select the permissions for the API key. You may leave the permissions empty to select give full permissions.
26+
</Step>
27+
<Step title="Step 3">
28+
Cachet will display the token in plain text. Make sure to copy the token and store it in a secure location.
29+
30+
<Warning>
31+
Cachet will not display the token again. If you lose the token, you will need to create a new API key.
32+
</Warning>
33+
</Step>
34+
</Steps>
35+
36+
## Revoking Tokens
37+
38+
If you no longer need an API key, you can revoke it. To revoke an API key, click the "Revoke" button next to the key.
39+
40+
<Warning>
41+
Revoking an API key is irreversible. Once you revoke a key, it can no longer be used to authenticate requests to
42+
the Cachet API.
43+
</Warning>

v3.x/guide/users.mdx

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: 'Users'
3+
description: 'Learn how to manage users and access to your Cachet dashboard.'
4+
icon: 'user'
5+
---
6+
7+
You may invite multiple users to your Cachet dashboard. This allows you to share the responsibility of managing
8+
incidents and components with your team.
9+
10+
## User Levels
11+
12+
Users may be configured with one of two levels of access:
13+
14+
### Admin
15+
16+
Admin users may add and manage additional users. They are able to change the user level of other users (excluding themselves).
17+
18+
### User
19+
20+
Users may view and manage components, incidents, subscribers etc, but they are not able to manage other users.
21+
22+
## Limitations
23+
24+
Cachet's user system is designed to be simple and easy to use. As such, there are some limitations:
25+
1. Two-factor authentication is not currently supported.
26+
2. There is no fine-grained control over user access to various resources.
27+
28+
<Tip>
29+
These limitations are only temporary and will be addressed in future versions of Cachet.
30+
</Tip>

0 commit comments

Comments
 (0)