Skip to content

Commit 1b4ca92

Browse files
authored
Docs: Remove Key-Cert authentication info (atlassian-api#682)
Documentation gave information about authentication with key and certificate. This method cannot be found in the code and not in the Atlassian documentation. Therefore, the chapter is removed and the other authentication methods are grouped with a new title.
1 parent 6ffed81 commit 1b4ca92

File tree

1 file changed

+3
-38
lines changed

1 file changed

+3
-38
lines changed

docs/index.rst

+3-38
Original file line numberDiff line numberDiff line change
@@ -49,45 +49,10 @@ Add a connection:
4949
username='admin',
5050
password='admin')
5151
52-
Key/Cert Based authentication
53-
-----------------------------
52+
Other authentication methods
53+
----------------------------
5454

55-
Add a connection using key/cert based authentication:
56-
57-
.. code-block:: python
58-
59-
from atlassian import Jira
60-
from atlassian import Confluence
61-
from atlassian import Bitbucket
62-
from atlassian import ServiceDesk
63-
from atlassian import Xray
64-
65-
jira = Jira(
66-
url='http://localhost:8080',
67-
key='/path/to/key',
68-
cert='/path/to/cert')
69-
70-
confluence = Confluence(
71-
url='http://localhost:8090',
72-
key='/path/to/key',
73-
cert='/path/to/cert')
74-
75-
bitbucket = Bitbucket(
76-
url='http://localhost:7990',
77-
key='/path/to/key',
78-
cert='/path/to/cert')
79-
80-
service_desk = ServiceDesk(
81-
url='http://localhost:8080',
82-
key='/path/to/key',
83-
cert='/path/to/cert')
84-
85-
xray = Xray(
86-
url='http://localhost:8080',
87-
key='/path/to/key',
88-
cert='/path/to/cert')
89-
90-
Alternatively OAuth can be used:
55+
Further authentication methods are available. For example OAuth can be used:
9156

9257
.. code-block:: python
9358

0 commit comments

Comments
 (0)