Enterprise Bridge supports secure access through API tokens on all client systems where they are implemented. For example token authorization is recommended and secure way to access Confluence and JIRA servers.
Personal access tokens (PATs) are a secure way to use scripts and integrate external applications with your Atlassian application. If an external system is compromised, you simply revoke the token instead of changing the password and consequently changing it in all scripts and integrations. Personal access tokens are a safe alternative to using username and password for authentication with various services.
https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html