Skip to content

Commit 9822cf3

Browse files
kblaseKevin Blase
andauthored
[confluence] documentation of token authentication (#1288)
Co-authored-by: Kevin Blase <kevin.blase@computacenter.com>
1 parent 141bb8d commit 9822cf3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/index.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Or reuse cookie file:
161161
cookies=cookie_dict)
162162
163163
Or using Personal Access Token
164-
Note: this method is valid for Jira Data center / server editions only! For Jira cloud, see below.
164+
Note: this method is valid for Jira and Confluence (<7.9) Data center / server editions only! For Jira cloud, see below.
165165

166166
First, create your access token (check https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html for details)
167167
Then, just provide the token to the constructor:
@@ -173,6 +173,11 @@ Then, just provide the token to the constructor:
173173
token=jira_access_token
174174
)
175175
176+
confluence = Confluence(
177+
url='https://your-confluence-instance.company.com',
178+
token=confluence_access_token
179+
)
180+
176181
To authenticate to the Atlassian Cloud APIs Jira, Confluence, ServiceDesk:
177182

178183
.. code-block:: python

0 commit comments

Comments
 (0)