Skip to content

Commit 214244a

Browse files
Gonchik TsymzhitovGonchik Tsymzhitov
authored andcommitted
Merge branch 'brianmcconnel-master'
2 parents f9ba2d3 + 2ea9282 commit 214244a

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

docs/index.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,39 @@ Add a connection:
4242
url='http://localhost:8080',
4343
username='admin',
4444
password='admin')
45+
46+
47+
Key/Cert Based authentication
48+
-----------------------------
49+
50+
Add a connection using key/cert based authentication:
51+
52+
.. code-block:: python
53+
54+
from atlassian import Jira
55+
from atlassian import Confluence
56+
from atlassian import Bitbucket
57+
from atlassian import ServiceDesk
58+
59+
jira = Jira(
60+
url='http://localhost:8080',
61+
key='/path/to/key',
62+
cert='/path/to/cert')
63+
64+
confluence = Confluence(
65+
url='http://localhost:8090',
66+
key='/path/to/key',
67+
cert='/path/to/cert')
68+
69+
bitbucket = Bitbucket(
70+
url='http://localhost:7990',
71+
key='/path/to/key',
72+
cert='/path/to/cert')
73+
74+
service_desk = ServiceDesk(
75+
url='http://localhost:8080',
76+
key='/path/to/key',
77+
cert='/path/to/cert')
4578
4679
Alternatively OAuth can be used:
4780

@@ -112,8 +145,11 @@ Or Kerberos *(installation with kerberos extra necessary)*:
112145
.. |Codacy Badge| image:: https://api.codacy.com/project/badge/Grade/c822908f507544fe98ae37b25518ae3d
113146
: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
114147
:alt: Codacy Badge
148+
<<<<<<< HEAD
115149
.. |PyPI - Downloads| image:: https://pepy.tech/badge/atlassian-python-api/month
116150
:alt: PyPI - Downloads
117151
.. |Docs| image:: https://readthedocs.org/projects/atlassian-python-api/badge/?version=latest
118152
:target: https://atlassian-python-api.readthedocs.io/en/latest/?badge=latest
119153
:alt: Documentation Status
154+
=======
155+
>>>>>>> 9535b4082ea544f042859bdc53436923dbf8b6e1

0 commit comments

Comments
 (0)