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
35 changes: 34 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,39 @@ Add a connection:
url='http://localhost:8080',
username='admin',
password='admin')


Key/Cert Based authentication
-----------------------------

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

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')

.. toctree::
:maxdept:2
Expand All @@ -62,4 +95,4 @@ Add a connection:
:alt: License
.. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/c822908f507544fe98ae37b25518ae3d
:target: https://www.codacy.com/project/gonchik/atlassian-python-api/dashboard?utm_source=github.com&utm_medium=referral&utm_content=AstroMatt/atlassian-python-api&utm_campaign=Badge_Grade_Dashboard
:alt: Codacy Badge
:alt: Codacy Badge