Marc O. Sandlus
2019-11-29 222551b4ee928e230521371b27641cdbbd191e6b
commit | author | age
d80dd3 1 from hs.admin.api import API
JUH 2
3 api = API(cas=dict(
4     uri='https://login.hostsharing.net/cas/v1/tickets',
5     service='https://config.hostsharing.net:443/hsar/backend'),
6     credentials=dict(username='xyz00', password='sehr-geheim'),
7     backends=[
8         'https://config.hostsharing.net:443/hsar/xmlrpc/hsadmin',
9         'https://config2.hostsharing.net:443/hsar/xmlrpc/hsadmin'])
10
11 api.mysqluser.add(set={'name': 'xyz00_domain_de', 'password': 'geheim'})
12 api.mysqldb.add(set={'name': 'xyz00_domain_de', 'owner': 'xyz00_domain_de'})