osm.py: obfuscating vim password 68/6068/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 3 May 2018 16:53:41 +0000 (18:53 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 3 May 2018 16:53:41 +0000 (18:53 +0200)
Change-Id: I931aae31c5670990428a3c61c4787a94723d5883
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/scripts/osm.py

index 2a321fc..b98bc9e 100755 (executable)
@@ -866,6 +866,8 @@ def vim_show(ctx, name):
     '''
     try:
         resp = ctx.obj.vim.get(name)
+        if 'vim_password' in resp:
+            resp['vim_password']='********'
     except ClientException as inst:
         print(inst.message)
         exit(1)