zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
114 stars 86 forks source link

`ProfileInfo.updateKnownProperty` rewrites zowe.config.json file when updating a secure value #2324

Open t1m0thyj opened 1 week ago

t1m0thyj commented 1 week ago

When Zowe Explorer updates a user or password in the secure vault, it also rewrites the zowe.config.json file which triggers a file watcher event.

Perhaps the Imperative ProfileInfo API could check if a property is already defined as a secure value in the team config file before rewriting it to disk.

github-actions[bot] commented 1 week ago

Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.