summaryrefslogtreecommitdiffstats
path: root/Monitoring/src/main/python/Example/credentials.py
diff options
context:
space:
mode:
Diffstat (limited to 'Monitoring/src/main/python/Example/credentials.py')
-rw-r--r--Monitoring/src/main/python/Example/credentials.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/Monitoring/src/main/python/Example/credentials.py b/Monitoring/src/main/python/Example/credentials.py
new file mode 100644
index 0000000..0c167c4
--- /dev/null
+++ b/Monitoring/src/main/python/Example/credentials.py
@@ -0,0 +1,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 \ No newline at end of file