Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 3 additions & 38 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,45 +49,10 @@ Add a connection:
username='admin',
password='admin')

Key/Cert Based authentication
-----------------------------
Other authentication methods
----------------------------

Add a connection using key/cert based authentication:

.. code-block:: python

from atlassian import Jira
from atlassian import Confluence
from atlassian import Bitbucket
from atlassian import ServiceDesk
from atlassian import Xray

jira = Jira(
url='http://localhost:8080',
key='/path/to/key',
cert='/path/to/cert')

confluence = Confluence(
url='http://localhost:8090',
key='/path/to/key',
cert='/path/to/cert')

bitbucket = Bitbucket(
url='http://localhost:7990',
key='/path/to/key',
cert='/path/to/cert')

service_desk = ServiceDesk(
url='http://localhost:8080',
key='/path/to/key',
cert='/path/to/cert')

xray = Xray(
url='http://localhost:8080',
key='/path/to/key',
cert='/path/to/cert')

Alternatively OAuth can be used:
Further authentication methods are available. For example OAuth can be used:

.. code-block:: python

Expand Down