[AS7-4654] (To Reopen)  vault.sh/vault.bat should provide a scriptable mode: The attribute name is stored instead of the sensitive valie

[AS7-4654]: (To Reopen): Instead of storing attribute's value in the vault, 
it was the attribute itself that was stored. Adding a unit test.