Skip to content

Commit

Permalink
[confluence] documentation of token authentication (#1288)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Blase <kevin.blase@computacenter.com>
  • Loading branch information
kblase and Kevin Blase committed Jan 8, 2024
1 parent 141bb8d commit 9822cf3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Or reuse cookie file:
cookies=cookie_dict)
Or using Personal Access Token
Note: this method is valid for Jira Data center / server editions only! For Jira cloud, see below.
Note: this method is valid for Jira and Confluence (<7.9) Data center / server editions only! For Jira cloud, see below.

First, create your access token (check https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html for details)
Then, just provide the token to the constructor:
Expand All @@ -173,6 +173,11 @@ Then, just provide the token to the constructor:
token=jira_access_token
)
confluence = Confluence(
url='https://your-confluence-instance.company.com',
token=confluence_access_token
)
To authenticate to the Atlassian Cloud APIs Jira, Confluence, ServiceDesk:

.. code-block:: python
Expand Down

0 comments on commit 9822cf3

Please sign in to comment.