Generic keys
A generic key is the all-purpose key. Out of the box it can call any endpoint with any method the app has permission for; you narrow it down with two settings:
Both settings are optional. Leaving them blank gives the key everything the app can do, so restrict a key as far as the use case allows.
Creating one
Jira: click Create Key. Confluence: click Add Key.
| Field | Required | Notes |
|---|---|---|
| Description | yes | A meaningful, unique name for the key. |
| Valid Until | no | Defaults to 30 days from today. See Expiry. |
| HTTP Methods | no | Pick the allowed methods, or leave blank for all. |
| Endpoints | no | One per line. Leave blank for all. |
After you click Add, the key is shown once. Copy it.
Example: a key that can read issues and comments
-
HTTP Methods:
GET -
Endpoints:
/rest/api/3/issue/rest/api/3/search/jql
With this key you can read any issue and search, but not change anything.