Keeping Jira and Confluence safe means controlling who can see pages and keeping passwords and keys out of them.
This guide is for anyone who writes in Jira tickets or Confluence pages, and for the people who look after those sites. It covers public spaces, secrets in pages and API tokens. You do not need any technical skills.
This is an independent guide from NHI Mgmt Group, based on Atlassian's public documentation as of November 2026. It is not sponsored or reviewed by Atlassian. Product features change, so confirm settings against Atlassian's current documentation.
In short
- Team wikis and tickets often collect passwords, keys and tokens pasted in to "save time".
- A Confluence space with anonymous access can be read by anyone on the internet.
- Atlassian's content scanning can find credentials and other sensitive data in Jira and Confluence.
- Store secrets in a password manager or secrets tool, and link to them instead of pasting them.
What you will learn
- Check whether a Confluence space is open to the public.
- Spot secrets that should not be in a page or ticket.
- Handle Atlassian API tokens with care.
- Know what to do when you find a secret in a page.
- Space
- a section of Confluence that holds a team's pages.
- Secret
- a password, key or token that lets a person or program into a system.
- Space admin
- the person who controls who can see and edit a space.
What is Jira and Confluence security?
Think of Confluence like an office noticeboard, and Jira like the team's to-do pile. Both are handy places to pin notes. That is exactly why someone pins the alarm code there one day.
Jira tracks work as tickets. Confluence holds pages of team knowledge, grouped into spaces. Both are made by Atlassian.
Security here has two parts. The first is who can see the content. The second is what goes into it, especially secrets such as passwords and API tokens.
Where the comparison stops working: a noticeboard sits in one room. A Confluence space can be opened to anyone on the internet, and search engines can find it [1].
Why does it matter?
A secret pasted into a page can be read by everyone who can open that page. If the space is public, that could be anyone.
If you write pages or tickets
What could happen: you paste a database password into a how-to page, and the whole team can read it.
Check this: your pages link to where secrets are stored, instead of holding them.
If you are a space admin
What could happen: anonymous access is turned on for a space that holds internal notes.
Check this: the space's access settings and the role given to anonymous users.
If you write scripts that use Jira or Confluence
What could happen: an API token with broad access is copied into a ticket.
Check this: your tokens have scopes, an expiry date and a safe home.
What does it look like?
Here is a made-up Confluence page with a secret in it. It shows what to look for.
Example only. All values are made up.
Space: EXAMPLE Ops Team (anonymous access: on) (1) Page: How to restart the report server Step 3: sign in as svc-reports (2) Password: EXAMPLE-not-a-real-password-0000 (3) API token for the script: FAKE-TOKEN-0000 (4) Last edited: EXAMPLE date, two years ago (5)
- Anonymous access means anyone on the internet can view the space [1].
- A service account name tells a reader which account to try.
- In a real file, this line would contain the account's actual password.
- In a real file, this line would contain a working API token for a script.
- Old pages are easy to forget, but the secrets in them may still work.
Why this is risky: anyone who opens the page gets a working way into the report server.
The safer way: turn off anonymous access, remove the secrets, change them, and link to a password manager entry instead.
How does it work?
- Site setting first. A Confluence admin decides in global permissions whether anonymous users get any access to the site. On new sites, this site-level control is on by default [1].
- Space setting next. A space admin can then turn on anonymous access for one space. Anonymous users get View only by default [1].
- Page restrictions on top. A page restricted to named people stays hidden from anonymous users, along with its child pages [1].
- Scan for secrets. A content scan checks Jira and Confluence for sensitive data and gives you a list of where it is [2].
- Fix what you find. You can redact the data or assign someone to deal with it [2].

Atlassian groups the sensitive data it can detect into credentials, financial data and identity data. Credentials include API tokens and private keys, and passwords are among the common detections [3]. You can also add custom detections, such as project code names [3].
A content scan is a snapshot in time. Atlassian notes that you still need real-time scanning for content added later [2]. The results file does not hold the secrets, but it shows where they are, so store it securely [2].
API tokens deserve care too. A script can use one in place of a password. New tokens expire after one year by default, and you can choose a shorter life [4]. Atlassian recommends tokens with scopes, which limit what the token can do, and saving tokens in a password manager [4].
If you run Jira or Confluence yourself on Data Center, apply Atlassian's security updates promptly. Atlassian lists them on its security advisories page [5].
A worked example
This story is made up to show the idea.
Idris Castell has just become the space admin for his company's support team in Confluence. His manager asks him to tidy the space before a new starter joins.
First he checks the space's access settings. Anonymous access is on. Someone turned it on two years ago to share a help article with a customer. Since then, the team has added dozens of internal pages.
Idris turns anonymous access off. He moves the one customer help article to a separate public space that holds nothing else.
Next, he asks the site admin to run a content scan. The results point to six pages and three Jira tickets with passwords or tokens in them. One is an API token for a reporting script.
Idris treats every one as exposed. He asks each owner to change the password or revoke the token, then redacts the old values. The script owner creates a new token with scopes and a 90-day expiry, and saves it in the team's password manager.
Finally, Idris adds a line to the space's home page. It says secrets go in the password manager, and pages link to them.
Idris learned that turning off public access was not enough on its own. Secrets that had been visible had to be changed, not just deleted.
Myths and mistakes
| What people think | What is true |
|---|---|
| Anonymous access can share a space with just a few outsiders. | It is all or nothing. Anyone on the internet can view the content[1]. |
| Deleting a secret from a page makes it safe again. | Anyone who saw it may still have it. Change or revoke it as well. |
| One content scan covers future pages too. | A scan is a snapshot. New content needs ongoing scanning[2]. |
| An API token is not as important as a password. | A script can use a token in place of a password[4], so protect it the same way. |
| Only the people I work with read our space. | Check the space's access settings. Other groups, or anonymous users, may have access. |
What can I do this week?
- Open the access settings of each space you manage and check for anonymous access.
- Search your own pages and tickets for words like "password" and "token".
- Move any secret you find into a password manager, then change it.
- Check your Atlassian API tokens, and revoke any you no longer use.
Checklist
- I know which of my spaces, if any, allow anonymous access, and why.
- Public content sits in its own space with nothing internal in it.
- Pages and tickets link to secrets instead of holding them.
- Any secret found in a page is changed or revoked, not just deleted.
- My API tokens have scopes and a sensible expiry date.
- Tokens are stored in a password manager or secrets tool.
- Self-managed sites get Atlassian security updates promptly.
Common questions
How do I know if my Confluence space is public?
Check the space settings. Under Space access, look at Anonymous access. If it is on, anyone on the internet can view the open content in that space. If your site allows it, search engines can index it too.
What should I do if I find a password in a page?
Treat it as exposed. Tell the owner of the system so they can change it. Then remove or redact it from the page, and store the new one in a password manager or secrets tool.
What is a content scan?
A content scan is an Atlassian check of Jira and Confluence for sensitive data, such as credentials. It gives a list of where the data sits, so you can redact it or assign someone to deal with it.
How long do Atlassian API tokens last?
By default, new tokens expire after one year. When you create one, you can choose a shorter life, from one to 365 days. A token cannot be viewed again after creation, so save it straight away.
Does this apply to Jira as well as Confluence?
Yes. Jira tickets can hold pasted secrets just like pages can. Content scanning covers both Jira and Confluence. The same habit applies: link to secrets, never paste them.
Where next?
Ready for the detail? Read the practitioner guide: Atlassian Rovo Security Guide. It covers how Atlassian's AI features reach Jira and Confluence content, and the admin controls around them.
Also useful:
- How to find secrets in Jira and Confluence
- How to audit Jira and Confluence app links and OAuth
- Confluence Data Center Hardening Guide
- Jira Data Center Hardening
Related NHI Mgmt Group resources: Secrets Management for Beginners, Leaked Secret Response for Beginners and Secret Scanning for Beginners.
Key terms
- Anonymous access
- Being able to see a system or its data without signing in.
- API token
- A secret string a script uses to prove it may use an API.
- Hardcoded secret
- A password or key written straight into code, a script or a document.
- Secrets management
- Storing, sharing and changing secrets safely, in a tool built for the job.
- Secrets scanning
- Using tools to search content for exposed passwords, keys and tokens.
- Redaction
- Removing or hiding sensitive content so others cannot read it.
Sources and further reading
- Atlassian, "Make a space public with anonymous access", Confluence Cloud Support. https://support.atlassian.com/confluence-cloud/docs/make-a-space-public-with-anonymous-access/ (accessed 30 Nov 2026).
- Atlassian, "What is a content scan?", Atlassian Support. https://support.atlassian.com/security-and-access-policies/docs/what-is-a-content-scan/ (accessed 30 Nov 2026).
- Atlassian, "What sensitive data is detected?", Atlassian Support. https://support.atlassian.com/security-and-access-policies/docs/what-sensitive-data-is-detected/ (accessed 30 Nov 2026).
- Atlassian, "Manage API tokens for your Atlassian account", Atlassian Support. https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/ (accessed 30 Nov 2026).
- Atlassian, "Security advisories", Atlassian Trust Center. https://www.atlassian.com/trust/security/advisories (accessed 30 Nov 2026).