X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=forge%2Fscript%2FPlcApi%2FshowKeys.py;fp=forge%2Fscript%2FPlcApi%2FshowKeys.py;h=0c74e6f5731f0282d1f89f61882044dac815cfcf;hb=2c011fe6120aa3224ae597c22a9bc0e3afbda945;hp=0000000000000000000000000000000000000000;hpb=fcbf96d0fd7ee178e58385a5db6a6d3a73252924;p=myslice.git diff --git a/forge/script/PlcApi/showKeys.py b/forge/script/PlcApi/showKeys.py new file mode 100755 index 00000000..0c74e6f5 --- /dev/null +++ b/forge/script/PlcApi/showKeys.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +from Auth import * + +keyId = plc_api.GetKeys(auth, {'person_id': 249241}, ['key_id', 'key']) +for key in keyId: + print "A new key:" + print "Key value ->", key['key'] + print "Key id ->",key['key_id'] +