Read-Only Keys
A read-only key lets a tool look at your data but never change it. Typical users are reporting tools, dashboards, backups and audits.
Setup
Create a key as normal and set GET as the only allowed method.
Since Jira's and Confluence's Cloud REST APIs use HTTP verbs consistently, no GET request can change data on your site.
Make it tighter
Read-only does not mean read everything. Combine the method restriction with endpoints so the key can only read what it needs.
| Goal | Methods | Endpoints (Jira) |
|---|---|---|
| Read issues | GET | /rest/api/3/issue |
| Read issues and search | GET | /rest/api/3/issue/rest/api/3/search/jql |
| Read one specific search | GET | a pinned endpoint or a Stored JQL key |
caution
Do not add POST "just in case". POST can create content, and some search endpoints use POST for reading, which is better handled with a Stored JQL key.