summaryrefslogtreecommitdiffstats
path: root/Monitoring/src/main/python/Example/credentials.py
blob: 0c167c4a9bdb5dc2299def1e6fbcebbe382b9aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
'''
Created on Oct 27, 2011

@author: steger
'''
from Credential.credentialtypes import UsernameRSAKey, UsernamePassword
from os import path

noviCredentialIARGS = { 'username': 'novi_novi', 'rsakey': path.expanduser("~/Private/ssh/novi_rsa") }
noviCredential = UsernameRSAKey(**noviCredentialIARGS)

novisaCredentialIARGS = { 'username': 'root', 'rsakey': path.expanduser("~/Private/ssh/novi_rsa") }
novisaCredential = UsernameRSAKey(**novisaCredentialIARGS)

novihadesCredentialIARGS = { 'username': 'novi-monitoring', 'rsakey': path.expanduser("~/Private/ssh/novimonitoring_rsa") }
novihadesCredential = UsernameRSAKey(**novihadesCredentialIARGS)

sonomaCredentialIARGS = {'username': "guest", 'password': "guest"}
sonomaCredential = UsernamePassword(**sonomaCredentialIARGS)

#mykeyring = [ noviCredentialIARGS, sonomaCredentialIARGS, novihadesCredentialIARGS ]

ple_credentials = [ novisaCredentialIARGS, sonomaCredentialIARGS ]
fed_credentials = [ novisaCredentialIARGS, novihadesCredentialIARGS ]

if __name__ == '__main__':
    pass